cancel
Showing results for 
Search instead for 
Did you mean: 

Device Type SAPWIN giving problem

Former Member
0 Kudos

Dear Colleagues,

I need to print a cheque from different printers as they are in diffrent locations.For that i copied the device type SAPWIN Driver 3.0 to ZSAPWIN in SPAD as this is the generic driver for all types of printer.

Now my problem is that as i have the customised size of the cheque like 23 CM X 95 MM.It means that i need the height of the cheque of around 21 Lines Aprrox.

For that i need to code in the hexadecimal format in Printer Initialization in \e%SAPWIN% stream.

For that i need a code to set the page size/height so that the printer will take the page of that height and not pull the entire page and it should follow the SAPWIN Data protocol.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Siddharth,

Maybe what you can do is create a new page format like 'ZCHECK' whith the size as '23 CM X 95 MM'.

Assign this format in smartform or script you are creating.

After this you create a format type 'ZCHECK' in SPAD.

And then attach this format type 'ZCHECK' to locl printer i.e. ZSAPWIN.

Make sure that the page format and the format type are of same name.

It will start working if you follow this.

Hope this helps.I tried this for me and it worked.

Sushil