Application Development 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: 

Lables printing more than spool qty

Former Member
0 Kudos

Every time the material is released from QA, lables are printed for that material in the quantity determined by the GR slipno. in the material master.

Now sometimes, it shows the SAP print spool of the zebra printer with the right quantity but prints much more than that.

Like if in the spool it shows 193, it actually printed 300 until the printer was out of paper.

I was looking at the form which i developed and the print program but could not find anything.

The real problem is that how can the no. of pages different from the spool.

And there is only one output request / spool request.

Has anyone came across the same situation ?

This usually happens when the print quantity is more than 100.

Here is the SAP SCRIPT code in my form.

/* NEW-PAGE

/: PERFORM SUB_GET_LABEL_DATA IN PROGRAM ZWMR00025

/: USING &MSEG-MATNR&

/: USING &MSEG-WERKS&

/: USING &MSEG-CHARG&

/: CHANGING &V_MAKTX&

/: CHANGING &V_LICHA&

/: CHANGING &V_VFDAT&

/: CHANGING &V_QNDAT&

/: CHANGING &V_PRUEFLOG&

/: ENDPERFORM

/ ^XA

/ DFTESTFS

/* ^PRC

/ LH0,0FS

/ ^LL1116

/ ^PW610

/ ^MD0

/ ^MNY

/ LH0,0FS

/ FO461,125A0R,33,28CI13FRFDItem Code:FS

/ FO461,309A0R,34,28CI13FRFN992FS

/ FO400,125A0R,33,28CI13FRFDDescription:FS

/ FO400,309A0R,34,28CI13FRFN999FS

/ FO325,125A0R,50,40CI13FRFDControl No.:FS

/ FO325,320A0R,50,40CI13FRFN993FS

/ FO225,310A0R,60,88CI13FRFDRELEASEDFS

/ FO125,125A0R,33,28CI13FRFDBy:FS

/ FO125,200A0R,34,28CI13FRFN994FS

/ FO70,125A0R,33,28CI13FRFDDate:FS

/ FO70,200A0R,34,28CI13FRFN995FS

/ FO125,450A0R,33,28CI13FRFDRe-Test Date:FS

/ FO125,630A0R,34,28CI13FRFN996FS

/ FO70,450A0R,33,28CI13FRFDInspection Lot:FS

/ FO70,630A0R,34,28CI13FRFN991FS

/ ^XZ

/ NEW-PAGE

/ ^XA

/ ^XFTEST

/ FN999FD&V_MAKTX&^FS

/ FN998FD&V_LICHA&^FS

/ FN997FD&V_VFDAT&^FS

/ FN996FD&V_QNDAT&^FS

/ FN995FD&MKPF-BLDAT&^FS

/ FN994FD&MKPF-USNAM&^FS

/ FN993FD&MSEG-CHARG&^FS

/ FN992FD&MSEG-MATNR&^FS

/ FN991FD&V_PRUEFLOG&^FS

/ ^PQ1,0,0,N

/ ^XZ

/ ^FX End of job

/E ETIKETT

/* This is a comment

/E W1VERBRMAT

/* this is a comment

/E RUELGGRUND

/* this is a comment

/E LGAUSST

/* this is a comment

/E RUELVERBRGRUND

/* this is a comment

/E VERBRAUSST

/* this is a comment

/E W1LVSMAT

/* this is a comment

/E RUELVSGRUND

/* this is a comment

/E LVSAUSST

/* this is a comment

/E W1KOPF

/* this is a comment

/E W1BACOKOPF

/* this is a comment

/E W1LGMAT

/* this is a comment

1 ACCEPTED SOLUTION

Clemenss
Active Contributor
0 Kudos

Hi Shahnila,

make sure that you use a pure ascii printer type with no print controls defined in SAP. View the spool in diplay RAW mode to make sure no additional controls are output.

Actually, I can't find a ZPL language documentation, so I don't know if the FO325 Zebra codes may cause the trouble.

The Zebra code should be produced with the Zebra software avalable on zebra.com. Make sure exactly the right printer model is used in the software!

Hope it helps,

Clemens

4 REPLIES 4

Clemenss
Active Contributor
0 Kudos

Hi Shahnila,

make sure that you use a pure ascii printer type with no print controls defined in SAP. View the spool in diplay RAW mode to make sure no additional controls are output.

Actually, I can't find a ZPL language documentation, so I don't know if the FO325 Zebra codes may cause the trouble.

The Zebra code should be produced with the Zebra software avalable on zebra.com. Make sure exactly the right printer model is used in the software!

Hope it helps,

Clemens

Former Member
0 Kudos

I saw the spool and cannot see any controls except some lines on the extreme left . They are so tiny that I cannot read anything.

I didn't do the coding using Bar one sofware. It was simple so I just read the manual and did it.

Can this be the issue ?

Clemenss
Active Contributor
0 Kudos

Hi,

Sorry I forgot: When viewing SAPSCRIPT, you cannot switch to raw view. First view a 'normal' list spool. Then Goto -> Display requests -> Display raw. Then leave this spool and view the sapscript spool. You will see everything transfered to the print server. Try to find difference between 'correct' and 'faulty' spool.

If your manual has sufficient information, it should be OK. You could get the Barone software, play around with it creating a text file. Maybe you find something interesting when you compare.

Regards,

Clemens

Former Member
0 Kudos

Clemens,

There is no printer controls on the raw data.

Thanks for your input. I think I should now try to get Barone and then will create new label out of it.