zpl

Package Flutter Bluetooth to Zebra

十年热恋 提交于 2020-07-23 06:20:07
问题 I need to add printing functionality on a zebra ZQ520 bluetooth thermal printer in an application developed in flutter (Android), does anyone have any suggestions or packages to perform this task? I tried with the packages: esc_pos_printer, esc_pos_bluetooth, flutter-zsdk, zsdk , but I was not successful. Thank you! 回答1: You can have mine plugin from https://github.com/gmeles/flutter_cblue You place it in the project root folder and add your dependency on pub spec.yaml like dependencies:

Package Flutter Bluetooth to Zebra

佐手、 提交于 2020-07-23 06:19:33
问题 I need to add printing functionality on a zebra ZQ520 bluetooth thermal printer in an application developed in flutter (Android), does anyone have any suggestions or packages to perform this task? I tried with the packages: esc_pos_printer, esc_pos_bluetooth, flutter-zsdk, zsdk , but I was not successful. Thank you! 回答1: You can have mine plugin from https://github.com/gmeles/flutter_cblue You place it in the project root folder and add your dependency on pub spec.yaml like dependencies:

ZPL2 - Rotating text changes alignment

大城市里の小女人 提交于 2020-05-18 09:21:47
问题 I'm using the ^A command in ZPL2 to print the Q font, and I want it rotated 90 degrees. I would think this line would print the "00" up against the left edge of the label since the first ^FO parameter is zero: ^XA ^PR2 ^MD15 ^PW1200 ^LL590 ^LH0,0 ^FB500,14,,^FO0,135^AQR,1,1^FD00^FS ^PQ1 ^XZ . . . but it's not. It's indented about a fourth of the way across the label. Using that same code, I swap out ^AQR with ^AQN and the "00" prints right up against the left edge. Can anyone tell me what I'm

ZPL QR code not printing what is in the string

与世无争的帅哥 提交于 2020-05-13 14:18:26
问题 I've got the following ZPL code which prints a QR code with fielddata X50X-8091X-11111. ^XA^PON^FWN^FO30,10^BQN,2,6^FDx50x-8091x-12345^FS^XZ But what the scanner scans from the QR code is this: 0X8091X11111. So the first X50 is not printed. What can I do? 回答1: The ZPL manual has a very detailed explanation of the data switches for QR codes: ^BQ Command Edit: Sorry @Veve, the explination is VERY long. Here is the simplified explination: 回答2: The chars immediately following ^FD are switches (as

Transforming a ZPL string into a JPG image and PDF

偶尔善良 提交于 2020-02-26 11:16:26
问题 Good Afternoon, I am currently working on a project that dynamically generates a ZPL string. Below you can see an example and you can use http://labelary.com/viewer.html to view the label. Is there any software out there that can translate the ZPL string into a JPG image or a PDF file? "^XA^FX Top section with company logo, name and address.^CF0,60^FO50,50^GB100,100,100^FS^FO75,75^FR^GB100,100,100^FS^FO88,88^GB50,50,50^FS^FO220,50^FDInternational Shipping, Inc.^FS^CF0,40^FO220,100^FD1000

Converting from type: 'image/png' to ZPL in NodeJs

笑着哭i 提交于 2020-01-30 08:18:05
问题 What I'm doing and trying: I'm trying to convert a screenshot taken from a < div > into ZPL string in NodeJS. Pretty much like http://labelary.com/viewer.html that would take an image and output ZPL code. What I'm doing: I'm using a package called 'domToImage'(https://github.com/tsayen/dom-to-image), which takes a screenshot of the DOM I'm stating. I'm currently using the domToImage.toBlob() function which then returns Blob{size: 102776, type: "image/png"}. For testing to see it actually

Converting from type: 'image/png' to ZPL in NodeJs

人走茶凉 提交于 2020-01-30 08:16:29
问题 What I'm doing and trying: I'm trying to convert a screenshot taken from a < div > into ZPL string in NodeJS. Pretty much like http://labelary.com/viewer.html that would take an image and output ZPL code. What I'm doing: I'm using a package called 'domToImage'(https://github.com/tsayen/dom-to-image), which takes a screenshot of the DOM I'm stating. I'm currently using the domToImage.toBlob() function which then returns Blob{size: 102776, type: "image/png"}. For testing to see it actually

ZPL: Binary B64 and compressed Z64 encoding

不打扰是莪最后的温柔 提交于 2020-01-23 13:20:06
问题 Maybe someone can help me with my Zebra ZPL problem. The ZPL manual doesn't really help me. I want to transfer binary (with ZPL B64) and compressed binary (with ZPL Z64) image data to the printer. I was able to find the following information: with B64 the data is encoded in Base64 format. with Z64 the data is first compressed with LZ77 and then encoded with Base64. A CRC digit is appended to both encodings. (must probably be CRC-16) But I don't get a valid CRC check digit calculated! Has any

Print BMP with ZPL

梦想的初衷 提交于 2020-01-22 15:12:14
问题 How can I use ZPL II to print a bitmap (BMP) image? I used ~DY to download the BMP to the printer: ~DYR:PRINT,B,B, <size> , <width> , <data> I am using PHP to send raw data to the printer, so <> variables are coming from that script. Using the printer's diagnostic utility I verified that the file was successfully downloaded using that command. I was also able to print that BMP file using TSPL, a different printer language that this particular printer also supports in addtion to ZPL, so I know