![]() ![]() SGD.SET( "ezpl.print_width", "812", statusConnection) set the label width to 4 inches (on a 203 dpi printer) SGD.SET( "media.speed", "6", statusConnection) set the print speed to 6 inches per second SGD.SET( "print.tone", darkness, statusConnection) Set up label & print settings (print speed, darkness, label width, length, etc.).Note: See code sample in Page Description Language section. Set up correct Zebra Print Page Description Language (ZPL, CPCL, line_print, PDF, etc.).Note: Examples of different connection types can be found in the API Documentation. Set up correct connectivity (TCP, Cloud Connect, BT, BTLE, USB, etc).The default settings may not meet the needs of your application. Not all printers have the same default behaviors. It should work with that printer if the printer is brand new out of the box. Your app should work with the Zebra Printer you specify. If you have implementation questions, ask at the Zebra Developer Portal. More examples of implementing Best Practices can be found on the Zebra Github repo. The sample code herein is meant to be an example and may need to adjust to fit your use case. You can implement these best practices in nearly any programming language for almost any OS, with any Zebra printer, any print page description language, with or without the SDK. The code samples in this document are in Java for Android, assuming the use of the Link-OS Multiplatform SDK and working with ZPL print language. Either section may have code snippets or other notes to elaborate on how to implement each portion.Īnything with the validation logo must be implemented if possible for Zebra Validated Program. This is followed by a ‘How to Do It’ section for developers and a ‘How to Test It’ section for testers. Zebra Partners who are looking to have their software validated by Zebra.Įach section has a name and description of the best practice.User Experience Engineers looking for advice in providing better UX when printing is involved.Test Engineers looking for the best methods to test applications that involve Zebra printers.Software developers writing code to print to or manage Zebra printers.There are several primary audiences for this document. This document is an attempt to improve on the original and make it easier to develop with them. Since we originally published best practices to help avoid some of these issues, the number of test failures has decreased and we recieved more questions about how to implement them. How to best utilize Zebra value added features.How to create the best user experience for their customers.Common performance and stability mistakes that we have seen many times.We wish to provide developers with guidance on: We created these best practices based on common issues we see regularly. Part of the group’s charter is to provide developer support and testing services. If the printer has a ZebraNet Print Server option, you can view the printer's Web Page and choose the link View Printer Configuration from the printer's Home Page Menu.The Zebra ISV technical team has been working with developers for several years.Refer to: Zebra Setup Utilities - Sending Printer Commands and Receiving Data. You will need a bi-directional application like Hyper-terminal, Tera-Term, or the Direct Communications windows of the Zebra Setup Utility to receive data back from the printer. Send the ZPL string ^XA^HH^XZ to the printer to return the settings back to the host.This will tell the printer to print a Configuration Label. Send the ZPL command ~WC to the printer.For ZD400, press and hold the Feed and Cancel Key. Refer to ZD410D User Guide: Test Printing with the Configuration Report.įrom a Windows PC Host, you can send and receive data using the Zebra Setup Utility. Refer to Zebra Setup Utilities - Sending Printer Commands and Receiving Data.For ZD500, press and hold the Cancel Key. Refer to ZD500 Series Users Guide: Control Panel.For G-Series Printers, press and hold the Feed Button for one flash then release. ![]() On the ZT411 and ZT421, hold the cancel and feed buttons, or use the touch display to navigate to Menu > Gear icon > Settings > Print System Settings.Refer the Cancel Button Self Test article. Cycle Power and hold the Cancel button on power-up.On the S4M, this is listed as Print Out - Settings. If the printer has an LCD Display, scroll through the LCD and select List Setup.There are several options you can use to view the printer's current configuration settings: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |