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

Zebra Printing using SAPScript

0 Likes
785

Hi ,

I am using following Script to print on a zebra printer:

/E LABEL_INFO

/ ^XA

/ ^MMT

/ FO20,40AE^FDOrder # &I_OUTPUT-VBELN& ZONE:

&I_OUTPUT-ZONE& &I_OUTPUT-KVGR5&^FS

/ FO50,90BY5,2.0B3N,N,120,Y,NFD&I_OUTPUT-VBELN&^FS

/ FO20,270AEFD --- SHIP TO ---FS

/ FO20,320AEFD&I_OUTPUT-NAME1&FS

/ FO20,370AEFD&I_OUTPUT-ADDR1&FS

/ FO20,420AEFD&I_OUTPUT-ADDR2&FS

/ FO20,470AEFD&I_OUTPUT-ADDR3&FS

/ FO20,520AEFD&I_OUTPUT-ADDR4&FS

/ FO20,570AEFDCustomer PO # &I_OUTPUT-BSTNK&FS

/ FO20,620AEFD&I_OUTPUT-STORE&FS

/ ^PQ&I_OUTPUT-PQTY&

/ ^XZ

using this, I am able to see all the values in debug mode but when i try to print it, all values get printed EXCEPT the last one (I_OUTPUT-STORE). whereas i am able to see this command getting executed in the debug mode.

I have got no idea why it is behaving like this...

Any help will be appreciable n points will be rewarded.

Please respond ASAP.

Thanks in advance,

Neha

Message was edited by: Neha Gupta

4 REPLIES 4
Read only

0 Likes
739

Hi Neha;

Try changing the 620 in "/ FO20,620AEFD&I_OUTPUT-STORE&FS" to a different (smaller) value. You might even try 570, even though it would overwrite the customer number. If it does, that means your page window is not large enough to handle the additional field.

Cheers,

John

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
739

Please make sure of the spelling as you have it two different ways here in your post, in the code it is &I_OUTPUT-STORE&, but you also reference it as I_OUTPUT_STORE, also make sure that you window size is big enough for all of these lines of code.

Regards,

Rich Heilman

Read only

0 Likes
739

Rich, Sorry for misleading you by giving two different refernces for I_OUTPUT-STORE.Its just typing mistake. I have used I_OUTPUT-STORE only in my script.Please read I_OUTPUT-STORE at both places.

thanks,

Neha

Read only

Former Member
0 Likes
739

Hi Neha,

Did you reslove this issue?

I work for Zebra and would be happy to help if you still have a problem. My work email is arogerson@zebra.com

Regards,

Andy