cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Label Skip 2 label for every page

Former Member
0 Kudos

Hi All,

Need your help regarding printing label using printer IBM 6408-A00 PROPRINTER III XL. Each time print on new page it will skip 2 label. How to fix it, because i've already set upper margin 0 inch. Is it something to do with the printer settings in SAP or in the printer device?

Thanks.

Best Regards,

Feiling

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

please see my previous post first.

  1. select page length 66 lines (66=hex $42)

\e\0x43\0x42

Former Member
0 Kudos

See my previous posts first and check this:

Using SPAD - SAP Spool Administration to print different paper size

The SAP spool system manages its own output devices. This includes mostly printers, but also fax and archiving devices. In order for you to use output devices defined in your operating system from the SAP System, you must define these devices in the SAP spool system.

Print to a dot matrix printer using computer paper with 66 lines

Define paper types

Formatting process Z_60_135

Page format DINA4

Orientation tick both Portrait and Orientation

Type in the comment and click save

Device initialization

Device type - OKI341

Formatting process Z_60_135 then click Execute

Double click Printer initilization

You must key the 66 lines hexadecimals for your printer. ( line no 9)

1 # oki341 x_paper

2 # reset

3 # \e\0x40

4 # select codepage multilingual 850

5 \e\0x52\0x1a

6 # disable skip perforation mode

7 \e\0x4f

8 # select 6 lpi

9 \e\0x32

10 # select page length 66 lines (66=hex $42)

11 \e\0x43\0x42

12 # select 10 cpi font

13 \e\0x60

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi,

Already got the solution for this, the skipping is caused by control command being transferred from SAP to AS400 to printer server then to the printer itself, so it route to many device. So the printer vendor install the software to the printer itself to remove all of this command (clear the command) just print right away. Then i also have to set in Printer initialization CPI and LPI that i want to used, also i made a new page format with 1 inch length. Thank you all for your help.

Regards,

Feiling Tandiono

Former Member
0 Kudos

Hi,

I read this note 135894 and 390473 on how to print label on thermal printer. It mention that the layout for such labels cannot be controlled via SAPscript. Has to design on PC program then upload to the SAP Script. I'm currently using IBM IP6700 Thermal Label Printing. Has anyone ever used this method to design the layout, using Codesoft 6.0 program?

Regards,

Feiling Tandiono

Former Member
0 Kudos

Hi,

I've already try decrease the page length, nothing change still have 2 blank label. Is there any configuration in AS/400 about when it start printing for every page. Is there any setting in printer initialization that indicates at what line start printing? Thanks.

Best Regards,

Feiling Tandiono

Former Member
0 Kudos

Hi,

Follow this book, it is full as 400 oriented to instal and config the printer:

http://www.redbooks.ibm.com/redbooks/pdfs/sg244672.pdf

Former Member
0 Kudos

Hi,

What do you mean with

"In order for you to use output devices defined in your operating system from the SAP System, you must define these devices in the SAP spool system."

In which tcode should i maintain this? Thanks.

Regards,

Feiling Tandiono

Former Member
0 Kudos

Hi,

Please check how many labels fix in one page and then, determine the # of lines required.

For example if 66 lines are ok then change this parameter to reflect the 66 lines:

select page length 66 lines (66=hex $42)

\e\0x43\0x42

======>You can use this online tool to convert from decimal to hex:

http://netzreport.googlepages.com/online_converter_for_dec_hex.html

Former Member
0 Kudos

Hi,

Already check for 12inch page format is 72 lines. If i reduced the # of lines will my label text be cut off because i cut the total lines? Also if i made new page format with 1 inch height equal to 6 lines, do you know the hexadecimal number for that? Because now i also try to made so for one page print one label. Thanks.

Regards,

Feiling tandiono

Former Member
0 Kudos

Hi,

Now i'm using inch12 page format not DINA4. I also already made 12 label that can fit to this inch12 page (One page will print 12 label). Should i change the lines to 66? Thanks.

Regards,

Feiling Tandiono

Former Member
0 Kudos

Hi,

Please check how many lines exists in inch12 and change the lines to the # of lines.

66 seems to be fine, but test first.

Thanks,

Ytamar

Former Member
0 Kudos

Hi Ytamar,

I've already try to copy the device to ZIBM6408 and add printer initialization control characters to the Start of page format as well but still skip 2 label for every page. Do you know where i can find printer escape manual? Because inside printer initialization control there's control characters like e\0x49\0x00 that i don't understand. And what control characters that makes every page leave 2 label blank. Thanks.

Regards,

Feiling Tandiono

Former Member
0 Kudos

Hi,

Please try to reduce the window size, which you are using for that label.

Thanks,

Pranav

Former Member
0 Kudos

Follow these steps:

Go to SPAD, When the Spool Administration: Initial screen window (Figure 98) appears,

click the Full administration button, click the Device Types tab, and click the

print control.

Double-click the format to modify the printer initialization. Then, the Maintain

Format window

Now you will see these escape sequences:

\e\0x49\0x00

  1. select IBM character set 2

\e\0x36

  1. CR = CR only

\e\0x35\0x00

  1. cancel skip perforation mode (bottom margin clear)

\e\0x4F

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

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

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

\e\0x43\0x46 <=== <<<<DECRESE PAGE LENGTH HERE>>>>

  1. cancel double-width print

\e\0x57\0x00

  1. cancel bold print

\e\0x46

  1. cancel double-strike print

\e\0x48

  1. cancel super/subscript

\e\0x54

  1. cancel underlining

\e\0x2D\0x00

in fact, the standard letter size code is:

  1. set page length to DINA4 (=70 lines at 6 LPI)

\e\0x43\0x46

and we change it with this:

  1. set page length to check

\e\0x43\0x13

Decrease the page length and test.

Former Member
0 Kudos

Hi,

I already use the PropPrinter III XL emulation and the character set IBM 850/IBM 2. I also made a SAP Script form. The result is for every page print 2 blank label. Do you know what caused this?

Regards,

Feiling Tandiono

Edited by: Feiling Tandiono on Jul 9, 2008 7:44 AM

Former Member
0 Kudos

Hi,

The issue seems to be the printer inizialitation.

Go to SPAD, When the Spool Administration: Initial screen window (Figure 98) appears,

click the Full administration button, click the Device Types tab, and click the

print control.

Enter the needed control character sequence according to the printer manual.

Double-click the format to modify the printer initialization. Then, the Maintain

Format window

You will need to find the printer escape manual.

Check this url. It explains everything. Follow from page 166:

http://www.redbooks.ibm.com/redbooks/pdfs/sg244672.pdf

Former Member
0 Kudos

Hi,

Try to create a SAPSCRIPT for example and follow note 8928.

CIP1000

Device type for C.ITOH line printers CI-1000 and CI-500. The IBM Proprinter II/XL emulation and IBM character set

2 (multilingual) are used.