on 07-13-2009 11:57 PM
Hello experts!
I have to develop a SAP Script to print out of LT31.
I already have the printer code (below), but since this is going to be printed from a standard transaction I need to transform this into a SAP Script program.
Can anyone help me out? How do I put this in a SAP Script or SmartForm?
This is the ZEBRA printer code:
^XA
^CW1,R:DOWNLD1.FNT
^CW2,R:DOWNLD2.FNT
^CW3,R:DOWNLD3.FNT
^CW4,R:DOWNLD4.FNT
COY,0MMT^MD+0
^XZ
^XA
PR3FS
BY6,2.5FS
FT65,195BCN,134,N,N,YFD>;12345678901234FS
FT282,233A0N,45,35FD12345678901234FS
FT41,324A0N,37,28FDNO. DE MATERIAL:FS
FT41,392A0N,37,21FDDESCRIPCION:FS
FT487,330A0N,59,65FD200042FS
FT41,522A0N,37,21FDLOTE:FS
FT41,587A0N,62,39FD9876543210FS
FO0,259GB798,0,2,B^FS
FO0,356GB798,0,2,B^FS
FO0,470GB798,0,2,B^FS
FT41,42A0N,37,28FDIUT:FS
FT374,522A0N,37,21FDCANTIDAD:FS
FT378,586A0N,62,39FD540,000.123FS
FT698,589A0N,59,43FDEAFS
FO342,467GB0,129,2,B^FS
FT41,451A0N,59,23^FDLAMIN TP 4S DBLOUT MENTA ^FS
ISSTRNWARE,NFS
^XZ
^XA
ILSTRNWAREFS
PF0FS
^PQ1,0,0,Y
^XZ
^XA
^IDSTRNWARE
^XZ
Thanks a lot guys!
Regards,
Fernanda
Edited by: Fernanda Nunes Ramalho on Jul 13, 2009 8:01 PM
I have used to printing commands inside the Z program to print it! It worked fine!
Thanks for all the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys, let me try this...
=o)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I hope ypou know something about sapscript
you have to make a sapscript with only 1 big MAIN window.
In this sapscript you add an /E item
with iin it your zebra commands.
your variables you have to surround with the '&' character
like
/E ZEBRA_DATA
XA
^CW1,R:DOWNLD1.FNT
^CW2,R:DOWNLD2.FNT
^CW3,R:DOWNLD3.FNT
^CW4,R:DOWNLD4.FNT
COY,0MMT^MD+0
^XZ
^XA
PR3FS
BY6,2.5FS
FT65,195BCN,134,N,N,YFD>;12345678901234FS
FT282,233A0N,45,35FD12345678901234FS
FT41,324A0N,37,28FDNO. DE MATERIAL:FS
FT41,392A0N,37,21FDDESCRIPCION:FS
FT487,330A0N,59,65FD200042FS
FT41,522A0N,37,21FDLOTE:FS
FT41,587A0N,62,39FD9876543210FS
FO0,259GB798,0,2,B^FS
FO0,356GB798,0,2,B^FS
FO0,470GB798,0,2,B^FS
FT41,42A0N,37,28FDIUT:FS
FT374,522A0N,37,21FDCANTIDAD:FS
FT378,586A0N,62,39FD540,000.123FS
FT698,589A0N,59,43FDEAFS
FO342,467GB0,129,2,B^FS
FT41,451A0N,59,23^FDLAMIN TP 4S DBLOUT MENTA ^FS
ISSTRNWARE,NFS
^XZ
^XA
ILSTRNWAREFS
PF0FS
^PQ1,0,0,Y
^XZ
^XA
^IDSTRNWARE
^XZ
success
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Copy this into ur Z script and do some changes in the Text editor
for example FT65,195BCN,134,N,N,YFD>;12345678901234FS where 195^BCN are the co-odinates like X Y Z axis
its all trail and error u will get more
i have done the same changing the co-dordinates and inserting some values in between etc etc
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.