![]() Refer to this link to know about ZPL Programming Guide. The ZPL Programming Guide contains all the information on the ZPL Commands. This article contains links to manuals, examples and specific information related to ZPL Commands. It is a command based language used by the printers as instructions to create the images printed on the labels. Zebra Programming Language (ZPL) is the command language used by all ZPL compatible printers. ZPL, various programming examples, various programming languages Resolution / Answer For development use `composer install ` to install necessary dev packages as for example: PHPUnit and PHP Codesniffer.Providing a single page with examples of code used in different programming languages to print to our ZPL printers. and then processing print with ^XG command.Ĭlass comes without any dependency package at productive stage. getPrintCommandZplII - Return complete command of downloading image to printer getZplDG - Return only ~DG command for downloading image to printer Default: R (for FLASH/DRAM), Options: R,E,B,A) setMemoryType - Set memory type where image should be stored at printer (Optional, (Optional, Default: UNKNOWN.GRF, Regex \\.GRF) setTarget - Set filename for uploading image. setPositionY - Set position on y graph for start printing. ![]() setPositionX - Set position on x graph for start printing. setRotation - Set degree to rotate image for print (Optional, Default: 0, Range: 0-360) # Otherwise add class to your composer dependencies To install package in your app or for testing use composer: composer require ubl/png-print-zplii In addition there are a few methods to manipulate image before printing and settings on printer like start position of print, rotation of image and memory location on printer.Īny reflections and a small tableau of research on this issue you will find here. ![]() ![]() Helper class for printing PNG images using Zebra ZPL II printer language.Ĭlass returns ZPLII commands ~DG for downloading image to printer and ^XG for printing uncompressed PNG image. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |