zpl

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.

GS1 Codebar on ZPL Batch Lot

怎甘沉沦 提交于 2020-01-16 19:33:08
问题 I have the following problem, where I work I am trying to optimize the printing of ID tags. However some products have numbers and letters in their batch, when the product has only numbers the GS1 barcode label works well, but when it has letters and / or symbols together it removes some of the barcode. Here's an example: Item: 410234 Lot: FLS00013 / 19 How GS1 Code Exits Using Zebra Designer: ^FD>;>80200000004102341719122910>6FLS>50001>63/19^FS Recalling that I don't use Zebra Designer to

GS1 Codebar on ZPL Batch Lot

我与影子孤独终老i 提交于 2020-01-16 19:32:12
问题 I have the following problem, where I work I am trying to optimize the printing of ID tags. However some products have numbers and letters in their batch, when the product has only numbers the GS1 barcode label works well, but when it has letters and / or symbols together it removes some of the barcode. Here's an example: Item: 410234 Lot: FLS00013 / 19 How GS1 Code Exits Using Zebra Designer: ^FD>;>80200000004102341719122910>6FLS>50001>63/19^FS Recalling that I don't use Zebra Designer to

Can't define label length - ZPL (RW 220)

怎甘沉沦 提交于 2020-01-12 05:30:08
问题 fellows, what I'm trying to do should be simple: to print an example label from ZPL II Programming Guide. But no matter what I write, the label is always printed with 40mm length. This is the code: ^XA ^LH0,30 ^FO20,10^AD^FDVERSUL^FS ^XZ I tried changing the label's settings in the printer's properties, tried to add the ^LL command, set units to dots. I'm using the console from Zebra Setup Utilities, and I've already changed the language to ZPL. Nothing changed. Do you know what I'm doing

Sending raw text to printer via usb

。_饼干妹妹 提交于 2020-01-07 09:03:32
问题 I am trying to send ZPL commands to a Zebra ZT230 printer. The printer and drivers are installed and the printer port is "USB003". The PC communicates perfectly with the printer via either Zebra Printer Setup Utilities or ZebraDesign. I tried the following code: Private Declare Function CreateFile Lib "kernel32.dll" (ByVal lpFileName As String, ByVal dwDesiredAccess As FileAccess, _ ByVal dwShareMode As UInteger, ByVal lpSecurityAttributes As IntPtr, ByVal dwCreationDisposition As FileMode, _

Sending raw text to printer via usb

故事扮演 提交于 2020-01-07 09:03:11
问题 I am trying to send ZPL commands to a Zebra ZT230 printer. The printer and drivers are installed and the printer port is "USB003". The PC communicates perfectly with the printer via either Zebra Printer Setup Utilities or ZebraDesign. I tried the following code: Private Declare Function CreateFile Lib "kernel32.dll" (ByVal lpFileName As String, ByVal dwDesiredAccess As FileAccess, _ ByVal dwShareMode As UInteger, ByVal lpSecurityAttributes As IntPtr, ByVal dwCreationDisposition As FileMode, _

Which should not be included in this ZPL Code?

与世无争的帅哥 提交于 2020-01-05 04:10:08
问题 I am developing a Windows Mobile App that requires printing into a Zebra printer. Problem is, I do not have the printer with me here in my country since the client did not provide any. My approach was to design a label first in ZebraDesigner2, then print out the label into a text file. Printing the label to a text file instead of a printer sends out the ZPL Code to produce the label I was trying to print. Hence, I can generate ZPL codes faster by designing a label first then seeing the ZPL

How to optimize ASCII HEX for BMP to ZPL as using in Labelary

自古美人都是妖i 提交于 2020-01-01 19:18:23
问题 I want to write a code that will convert bitmap image to zpl. I found following code for this: string bitmapFilePath = @"D:\Demo.bmp"; int w, h; Bitmap b = new Bitmap(bitmapFilePath); w = b.Width; h = b.Height; byte[] bitmapFileData = System.IO.File.ReadAllBytes(bitmapFilePath); int fileSize = bitmapFileData.Length; // The following is known about test.bmp. It is up to the developer // to determine this information for bitmaps besides the given test.bmp. int bitmapDataOffset = int.Parse