Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Matrix printer page format

Former Member
0 Likes
429

Dear all,

I've defined my own page format / format type that I use with ZJP5577 output device.

I use a 280 x 128 mm portrait format. And a copy of INCH 5 escape sequences with my own format type. Also, the print control are the one copied from the standard JP5577 output device.

As a result it seems that each time a new page is output, the printer takes app 20 lines before starting the ouptut.

Also, eventhough I've tried with INCH5 in my Smartform, same result.

Is it related to the "reset after exit" escape sequence or the "print initialization" or any print control?

Any idea?

3 REPLIES 3
Read only

Former Member
0 Likes
403

This kind of issues u need to consult ur basis consultant, they will do some coding in SPAD for printer settings.

Regards,

Sujatha.

Read only

0 Likes
403

Dear all,

It seems the hexa value defined by SAP for standard device type JP5577 related to format INCH5 is wrong :

  1. set page length to 5 inch (=30 lines at 6 LPI)

\e\x7e\x04\x00\x02\x01\x19

x19 = 25 and not 30

For 30 lines it should be 1E.

  1. set page length to 5 inch (=30 lines at 6 LPI)

\e\x7e\x04\x00\x02\x01\x1E

Regards.

Read only

0 Likes
403

Solved.