on 06-04-2007 1:29 PM
Hello Everyone,
I've got one major problem. I'm trying to print labels using ZPL-Commands in Sap-Script.
I created a new label as explained in so many posts here: One page, one page window, next page = first page.
I got the ZPL-Code into the SapScript-Form as mentioned in older posts (importing into standard-text. then copy to main-windows of form.).
O.k., everything went fine. And tadaa, I even can print the label out of my quality notification (--> stability study --> storage labels).
O.k., now theres the point I need your help. Is there any idea why there is only one label printed? And not 10 like I wanted to be printed? In SAP-spool there are 10 pages.
Heres the ZPL-Code of my Label:
XATA000JSNLT0MMTMNWMTTPONPMNLH0,0JMAPR4,4MD0JUSLRNCI0^XZ
/XALL0281
/^PW799
/FT152,53A0N,45,45FHFDMuster für Stabilitätsprüfung^FS
/FT256,95A0N,23,24FHFD&MAKT-MAKTX&^FS
/FT256,255A0N,23,24FHFD&QPRS-EINLDT&^FS
/FT256,175A0N,23,24FHFD&QPRS-ABORT&^FS
/FT256,215A0N,23,24FHFD&QPRS-KTEXT&^FS
/FT256,135A0N,23,24FHFD&QPRS-CHARG&^FS
/FT40,215A0N,23,24FHFDLagerbedingung:^FS
/FT40,135A0N,23,24FHFDCharge:^FS
/FT40,255A0N,23,24FHFDEinlagerungsdatum:^FS
/FT40,175A0N,23,24FHFDEinlagerungsort:^FS
/FT40,95A0N,23,24FHFDMaterial:^FS
/PQ1,0,1,YXZ
/E NEXT_WINDOW
/* Neues Fenster für nächstes Etikett
/: NEW-WINDOW
I even tried it without the NEW-WINDOW command, but this didn't work either.
Any good ideas?
If you need more information just let me know.
Thanks.
Dirk
25.06.2007: Hey folks. Am I the only one having this problem?
Thanks.
Message was edited by: Dirk Judas --> Push
Dirk Judas
Hello Everyone,
I've got one major problem. I'm trying to print
labels using ZPL-Commands in Sap-Script.
I created a new label as explained in so many posts
here: One page, one page window, next page = first
page.
I got the ZPL-Code into the SapScript-Form as
mentioned in older posts (importing into
standard-text. then copy to main-windows of form.).
O.k., everything went fine. And tadaa, I even can
print the label out of my quality notification (-->
stability study --> storage labels).
O.k., now theres the point I need your help. Is there
any idea why there is only one label printed? And not
10 like I wanted to be printed? In SAP-spool there
are 10 pages.
Heres the ZPL-Code of my Label:
*
XATA000JSNLT0MMTMNWMTTPONPMNLH0,0JMAPR4,4^
MD0JUSLRNCI0XZ
/XALL0281
/^PW799
/FT152,53A0N,45,45FHFDMuster für
Stabilitätsprüfung^FS
/FT256,95A0N,23,24FHFD&MAKT-MAKTX&^FS
/FT256,255A0N,23,24FHFD&QPRS-EINLDT&^FS
/FT256,175A0N,23,24FHFD&QPRS-ABORT&^FS
/FT256,215A0N,23,24FHFD&QPRS-KTEXT&^FS
/FT256,135A0N,23,24FHFD&QPRS-CHARG&^FS
/FT40,215A0N,23,24FHFDLagerbedingung:^FS
/FT40,135A0N,23,24FHFDCharge:^FS
/FT40,255A0N,23,24FHFDEinlagerungsdatum:^FS
/FT40,175A0N,23,24FHFDEinlagerungsort:^FS
/FT40,95A0N,23,24FHFDMaterial:^FS
/PQ1,0,1,YXZ
/E NEXT_WINDOW
/* Neues Fenster für nächstes Etikett
/: NEW-WINDOW
I even tried it without the NEW-WINDOW command, but
this didn't work either.
Any good ideas?
If you need more information just let me know.
Thanks.
Dirk
25.06.2007: Hey folks. Am I the only one having this
problem?
Thanks.
Message was edited by: Dirk Judas --> Push
Dirk Judas
Hello again,
I solved the problem with a little help from a senior programmer. She told me to set the element /LABEL at the beginning of my textelement in main-windows.
That's what I forgot.
Dirk Judas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are telling it to do 10 copies in the ABAP coding right?
Regards,
RIch Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.