Skip to Content

Print using CUPS in linux for Zebra printer

Make sure CUPS is installed in the server

/wp-content/uploads/2014/06/pic1_470144.png

Logon to cups using browser: localhost:631

You’ll get the below screen

/wp-content/uploads/2014/06/pic2_470145.png

Click on the Add Printer button to add new printer and fill the details below and give Continue

/wp-content/uploads/2014/06/pic3_470146.png

eg.,

/wp-content/uploads/2014/06/pic4_470160.png

  Select: App socket/HP jet direct and click continue

/wp-content/uploads/2014/06/pic5_470147.png

   Give the IP address of the printer

/wp-content/uploads/2014/06/pic6_470148.png

  Select make as RAW and click Continue

/wp-content/uploads/2014/06/pic7_470149.png

    Select model as RAW QUEUE and finish the installation

/wp-content/uploads/2014/06/pic8_470150.png

  Printer has been added Successfully

/wp-content/uploads/2014/06/pic9_470151.png


SAP printer Configutration

Downlad the printer drivers  via SAP note 750002 or from zebra website

750002 – Support for Zebra label printers (ZPL2)

Or

1173046 – Printer Vendor Wizard Note: Zebra

http://www.zebra.com/id/zebra/na/en/index/about_zebra/alliances/strategic_alliances/erp/sapsmartforms/smartform_device_types.html

/wp-content/uploads/2014/06/pic10_470152.png

/wp-content/uploads/2014/06/pic11_470153.png

/wp-content/uploads/2014/06/pic12_470154.png

/wp-content/uploads/2014/06/pic13_470155.png

open the zip file and extract

/wp-content/uploads/2014/06/pic14_470156.png

     (Readme file has necessary help included)

     Use report RSTXSCRP (via se38) to upload them into your system. The device types will only work for label printing with SmartForms. SAPscript or ABAP          list printing will not work at all with these device types!

       

After importing the printer device type

Create new output Device

Select necessary device type which is required for your printer

/wp-content/uploads/2014/06/pic15_470157.png

            Choose access method L:print localy using LP/LPR

Give the printer name (same as configured in CUPS)

Also select: do not query host spooler or printer for print request


/wp-content/uploads/2014/06/pic16_470158.png

Successfully printed the label in the printer

/wp-content/uploads/2014/06/pic17_470159.png

Conclusion and tips:

  • If cups asks for password give the root password (Sometimes it might not accept, use the following command to reset the CUPS password #lppasswd -g sys -a root )
  • After CUPS installation or password reset you should restart the CUPS daemon to work properly

This can be achieved by following command (#rccups restart)

  • Note that label printer will not print normal printout’s from sap you need to create a program in label type print in SMARTFORMS
  • Always try direct printer IP address instead of other printservers IP address
  • Only import relevant Device type exclude other device types. relevant devices types can be found from SAP note: 750002
  • Page format used for this eg., is DINA4

(By Rajan Thomas, SAP BASIS, IFA Foods)

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply