zpl-ii

^RFR,^FN1,^HV1 not sending output to computer

笑着哭i 提交于 2021-02-11 12:53:26
问题 I'm attempting to read the TID bank of the current (Class 1 Generation 2) RFID tag sitting under the print-head in a Zebra RZ400 (running the latest firmware V53.17.22Z). I'm connected via USB. I'm using the "Direct Communication" program in the Zebra Setup Utilities tool. This is my program, annotated: ^XA Start program ^RS8 Set RFID mode to Class 1 Gen 2 ^RFR,H,0,8,2 Read the first 8 bytes of the TID bank as a Hexadecimal string ^FN1 Store the data into Memory Field #1 ^FS End Field ^HV1,

^RFR,^FN1,^HV1 not sending output to computer

拥有回忆 提交于 2021-02-11 12:53:04
问题 I'm attempting to read the TID bank of the current (Class 1 Generation 2) RFID tag sitting under the print-head in a Zebra RZ400 (running the latest firmware V53.17.22Z). I'm connected via USB. I'm using the "Direct Communication" program in the Zebra Setup Utilities tool. This is my program, annotated: ^XA Start program ^RS8 Set RFID mode to Class 1 Gen 2 ^RFR,H,0,8,2 Read the first 8 bytes of the TID bank as a Hexadecimal string ^FN1 Store the data into Memory Field #1 ^FS End Field ^HV1,

ZPL How to Center Barcode (Code 128)

我的梦境 提交于 2020-12-29 09:33:11
问题 i'd like to know how to center barcode code 128. on the picture you should see that it is right now left justified. my zpl: ^XA ^LH10,10 ^FO0,0^XGE:SWESE001.GRF^FS ^FO440,0^XGE:SWESE000.GRF^FS ^FO0,70^FB550,50,0,C,0^AQN,25,30^FDSpraynozzle 50mm^FS ^FO0,130^BY2^BCN,30,Y,Y,N,N^FDS/N:941001-0114-0001^FS ^FO180,170^AQN,23,20^FDwww.swepro.com^FS ^XZ 回答1: I'm posting my solution in case someone is looking for it. As E_S mentions, in order to center a barcode in a label you have to calculate it by

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: 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

Print BMP with ZPL

被刻印的时光 ゝ 提交于 2020-01-22 15:10:30
问题 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

Print BMP with ZPL

自闭症网瘾萝莉.ら 提交于 2020-01-22 15:10:08
问题 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

Print ZPLII QR to open url

﹥>﹥吖頭↗ 提交于 2020-01-22 02:55:07
问题 I'm using Zebra ZPLII to create a label with a QR code to open an specific url. When I use iPhone camera to scan the QR phone shows "unusable data" and when I try with an external QR reader the text extracted from the QR is not the same from the label. For example if I write www.google.com the string that I have from reading the QR is .google.com if I use https://www.google.com the result is ps://www.google.com This is my label desing ^XA ^FX Top section with company logo, name and address.