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: 

Bar code printing

swatantra_vijay3
Participant
0 Kudos

Hi Gurus

Can anybody help me on this

Is it possibleto take out barcode printing from SAP 4.6C version, without any third software?

Can SAP be configured For Zebra printer & thermal printer and the output be taken out without any interfaces?.

Thanks in advance

VJ

10 REPLIES 10

Vinod_Chandran
Active Contributor
0 Kudos

Yes. possible.

Pls check these posts.

You can find more posts in SDN, just search using 'Bar coding'.

Thanks

Vinod

Message was edited by: Vinod C

0 Kudos

Yes, we generate shipping labels with barcodes which print on Zebra printers. We use a sapscript form and a print program to generate the label. The ZPLII printer code is coded inside the MAIN window of the sapscript form.

Regards,

Rich Heilman

0 Kudos

Thanks Rich

Can you give me some idea for writing ZPLII printer code in main window

Regards

Swatantra

0 Kudos

Hello,

Go to their site and get the documentation. The printer companys usually provide with all the necessary actions and commands that can be used in sapscripts so that you can use them. Here is an example for UBI printers

  • (|T |52|114|1|1|11|SW050RSN|0|&idtaille&|)

  • (|T |60|114|1|1|11|SW050RSN|0|&idprog&|)

  • (|T |65|107|1|1|11|SW080BSN|0|&destp&|)

  • (|T |53|118|1|1|11|SW080BSN|0|&idpal&|)

  • (|T |53|107|1|1|11|SW080BSN|0|&idlot&|)

Like wise try to find out which printer language ZPLII uses and try its command also usually the company provides with a sample sapscript that can be run and tested. This seems to be a zebra printer.

http://www.servopack.de/Files/HB/ZPLcommands.pdf

www.scarpaz.com/barcodes/ZPLII-vol1-45541LBR3.pdf

just go to www.zebra.com and put in search ZPLII you will find a lot of help. If you still can;t find it then i will try to provide you with a test script.

Regards,

Shekhar Kulkarni

0 Kudos

Go to this site and enter your printer model and hit submit.

http://www.zebra.com/id/zebra/na/en/index/resource_library/manuals.html

In this list, there should be a ZPLII programmer's guide.

Regards,

Rich Heilman

0 Kudos

Here is what our label looks like in the main window of the sapscript form.



*    ^MNN                                                            
/    ^XA                                                             
/    ^FT100,150^A0N,150,160^FD&ROUTE&^FS                             
/    ^FT850,100^A0N,80,80^FD&LIKP-LFDAT&^FS                          
/    ^FT1020,170^A0N,80,80^FD&CAB_COUNT&^FS                          
/    ^FT100,280^A0N,100,100^FDCST: &LAST4&^FS                        
/    ^FT100,380^A0N,100,100^FDSHP: &VTTP-TKNUM&^FS                   
/    ^FT860,380^A0N,150,150^FD&TRACK&^FS                             
/    ^FT50,550^A0N,150,160^FD &VBAK-VBELN&^FS                        
/    ^FT760,550^A0N,150,160^FDL# &LINE_ITEM&^FS                      
/    ^FT100,650^A0N,100,100^FDNTE: &LIPS-VBELN&^FS                   
/    ^FT125,895^GB1000,200,20,B^FS                                   
/    ^FT175,830^A0N,100,100^FD &CABINET_BRAND& ^FS                   
/    ^FT220,1050^A0N,150,150^FD &CANCELLED&^FS                       
/    ^FT100,1000^A0N,75,75^FD&ADRC-NAME1&^FS                         
/    ^FT100,1080^A0N,60,55^FD&ADRC-STREET&^FS                        
/    ^FT100,1160^A0N,60,55^FD&CSZ&      &ADRC-HOUSE_NUM1&^FS         
/    ^FT100,1300^A0N,60,55^FDPO#: &VBAK-BSTNK&^FS                    
/    ^FT100,1400^A0N,50,30^FDTAG: &TAG1&^FS                          
/    ^FT100,1600^A0N,150,120^FD&MAKT-MAKTX&  &CTAB-HINGE&^FS         
/    ^FT100,1680^A0N,50,50^FD&FREE_TEXT_LINE1&^FS                    
/    ^FT100,1750^A0N,50,50^FD&FREE_TEXT_LINE2&^FS                    
/    ^FT100,1820^A0N,50,50^FD&FREE_TEXT_LINE3&^FS                    
/    ^FT100,1925^A0N,100,100^FD&FREE_TEXT_LINE4&^FS                  
/    ^FT100,2030^A0N,50,50^FDDelivery Date: &LIKP-LFDAT&^FS          
/    ^FT100,2140^A0N,100,100^FD&WEIGHT&^FS                     
/    ^FT825,2140^A0N,50,50^FDPackage of: &MAGRV& &UOM&^FS      
/    ^FO100,2200^B3N,N,250,N,N^FD&BARCODE_VALUE&^FS            
/    ^FT200,2500^A0N,50,50^FD&BARCODE_VALUE&^FS                
/    ^FT900,2285^A0N,100,100^FD&PLANT&^FS                      
/    ^FT850,2780^A0N,600,600^FD&BACKORDER?&^FS                 
/    ^FT910,2540^A0N,300,300^FD&AUDIT?&^FS                     
/    ^XZ                                                                                

Regards,

Rich Heilman

0 Kudos

hi rich,

i was able to move the zpl codes to the script main window, but wen i have a print preview using the LOCL r LB_ZEB2 i get only the <b>print codes displayed</b>. is thr any means to solve this issue ? i tried debug..the values were getting populated in the ZPL codes, but y i don get the actual preview ?

0 Kudos

Hi,

You will never see a physical label layout in the preview window. All you will see is the ZPL code. Basically when the print job is send to the label printer, the ZPL code is transferred and the printer will print the label.

Another method is to have a sapscript with a blank main window. The main window only calls a standard text.

i.e. INCLUDE &THEAD-TDNAME& OBJECT &THEAD-TDOBJECT& ID &THEAD-TDID& LANGUAGE

Create the standard text, and embed the ZPL code inside.

Standard SAP transaction code OMCF is use to configure this.

Louie

jack_graus2
Active Contributor
0 Kudos

As of SAP release 7.0 you do not need any third party software to generate the Zebra ZPL II internal printer commands.

There is a SAP printer driver "LZPL" that takes care of this. For details see note 750002. Here you also find how to make the LZPL driver and device types available i nearlier releases, as of 4.6C.

Best regards Jack Graus

0 Kudos

Hi.

I am at a client, implementing ECC 6.0, WAS 7.0. They have no prior SAP installations. They have a major requirement of being able to print complex labels with multiple bar codes on Zebra and Intermec printers. What is the best approach for doing this out of the box? Do I still need Sapscript/Smartforms? Will the Interactive Forms tool from Adobe do the job?

Please advise.

Thanks,

Steve