cancel
Showing results for 
Search instead for 
Did you mean: 

Printer page format error

Former Member
0 Kudos

Hello

I am installing new printers for our customer and I have a problem. I have two printers which are OKI ML3310 and OKI ML1120. I need them to print HR payrolls in A5 format. I usually used customized IBM6408 device type in my previous customer systems but on this one if I use that device type all fonts are getting bigger. I also tried EPESCP9 but fonts are still too big. After that I used I9SWIN device type with X_90_120 and it worked. It is very weird because it shouldn't be working that way.

I looked row and column number via PE51 and it is set to 32 rows to 132, I created a custom page format in SAP 153mm width 210mm height, created a custom format copied from X_90_120. My problem after doing this is printer is printing normally on first A5 page on continuous page but after that it skips one page and few lines on next page and it is not resetting its printing position.

I am used to change printer initialization commands on IBM6408 type but I don't know how to change it in I9SWIN or SAPWIN.

I also tried using access method G, S and U but nothing changed. Printers are connected via LPT port to one computer. I tried connecting one by one but nothing was helpful.

I also set on printer console Emulation Mode IBM PPR (also tried ML and Epson FX), Rear Feed Line Spacing 6 LPI, Page Length 5.5" and Form Tear Off 500ms and on Windows side I changed printer's page size to A5 on every place. But still my problem continues.

Any help is welcome.

Best regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello

I solved my problem on my own and here is a future reference for you people.

Printer model OKI ML1120 or OKI ML 3310/3320

Use a ABAP List format

Enter printer initialization as shown below

# printer must be set to IBM Proprinter III XL emulation mode

# set print quality: Draft

\e\0x49\0x00

# select IBM character set 2

\e\0x36

# CR = CR only

\e\0x35\0x00

# cancel skip perforation mode (bottom margin clear)

\e\0x4F

# set 6 LPI = 12/72 inch and start this line spacing

\e\0x41\0x0C\e\0x32

# set page length 72 (=$48 hex) lines and set TOF at current pos.

\e\0x43\0x21

# set 9 LPI = 08/72 inch and start this line spacing

\e\0x41\0x08\e\0x32

# cancel double-width print

\e\0x57\0x00

# cancel bold print

\e\0x46

# cancel double-strike print

\e\0x48

# cancel super/subscript

\e\0x54

# cancel underlining

\e\0x2D\0x00

# cancel condensed print, select 12 CPI

\0x12\e\0x3A

Hope this helps.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kaan,

without being too deep in creating custom device types, your problem description sounds like the printer gets too much lines for one page.

I would propose to check vendor homepage for SAP-specific device types to upload to your SAP system, as it's very hard to determine exact printer behaviour while using different model drivers.

Regards,

Peter

Former Member
0 Kudos