cancel
Showing results for 
Search instead for 
Did you mean: 

Page format for SAP-Script not working in 4.6C

former_member187452
Contributor
0 Kudos

Hi all,

I have a problem regarding check printing.

I am using SAP version 4.6C

The size of paper for check printing is

width = 231 mm

Height = 304 mm

So for this I have created a new page format with these details in SPAD.

Then I assigned this Page format to spool format and assigned that spool format to SAPWIN driver. I have assigned this page format to the SCRIPT that is used for check printing .

But when I am taking the print out for the check with new page format, the printer don’t print till the end of page, it prints till the total amount on check and then stops there. So this creates an alignment problem when taking printout for multiple checks.

Please give some solution for this.

Regards,

Bharat.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member196280
Active Contributor
0 Kudos

I guess you are printing on dot matrix printer. If yes, try to do some physical printer settings for the dot matrix printer by following the printer manual. I guess you have to change the page size.. or set default printer settings... it may help you to solve your problem...

if not goto your device types tab in SPAD and select device types.. select your device from the list (for ex, SAPWIN) click format and goto the format that you have inserted for this device types.. double click on your format, you will see printer Indialization.. try to write code like this

  1. set page length to 8.5 inch (=52 lines at 6 LPI)

\e\0x43\0x44

Note the above hexa decimal value can be obtained by going through the printer manual.

Close the thread once your question is answered.

Regards,

SaiRam