
The line is horizontal to the paper rotation, regardless of rotation of the contents. If position 39-54 is filled in, the frame will be repeated as many times as stated in position 52-54.ĭraws a horizontal line. PEL indicates measurement in Pels.Leading zeros must be filled in. If a sign (+/-) is stated, the distance will be calculated according to the base line of the current line. If a distance is stated without a leading sign the distance is calculated relative to the paper edge.
Zpl rotate image from memory install#
For development use `composer install ` to install necessary dev packages as for example: PHPUnit and PHP Codesniffer.It is possible to add commands inside the input spooled files, that you use for merges in InterForm400 as normal text. 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.
