zebra-printers

Why would a Zebra QLn220 Printer ignore the first couple of commands sent to it after sending it a command to update some settings?

巧了我就是萌 提交于 2019-12-01 21:32:56
I am sending commands to a Zebra QLn220 for it to print labels (naturally). I also have code, though, that assigns values to certain printer settings, such as: const string quote = "\""; string keepPrinterOn = string.Format("! U1 setvar {0}power.dtr_power_off{0} {0}off{0}", quote); string advanceToBlackBar = string.Format("! U1 setvar {0}media.sense_mode{0} {0}bar{0}", quote); string advanceToGap = string.Format("! U1 setvar {0}media.sense_mode{0} {0}gap{0}", quote); PrintUtils.SendCommandToPrinter(keepPrinterOn); if (radbtnBar.Checked) { PrintUtils.SendCommandToPrinter(advanceToBlackBar); }

Image (PCX) for EPL2 Zebra printer

五迷三道 提交于 2019-12-01 13:09:36
I am having trouble producing and uploading graphics to an EPL2 printer. Having tired quite literally any pieces of software available and trawled the internet, I am at a loss. I have a 1 bit file which I try to upload with the following script.. setppi.txt GK"NAMEPCX" GK"NAMEPCX" GM"NAMEPCX"3042 and then upload with copy setppi.txt+ppirmt.pcx lpt1/b Has anyone with experience got any tips before I tear out what is remaining of my hair? I am almost certain that this issue is to do with the creation of the pcx but having tried all options, I am unsure as to my next step. Here's the way I found

What options are available to developers for printing to a dedicated label printer?

♀尐吖头ヾ 提交于 2019-12-01 11:15:32
Our business uses custom internal software to create shipping labels to be printed on large high-speed label printers. What options are available to developers (libraries, services, full-blown-software, etc.) for assisting in the process of creating a custom-formatted label and sending it to a dedicated label printer? More background information... Instead of using software provided by a shipping company (such as UPS or FedEx), our business uses our own internal software to create shipping labels to meet high demand at peak times of the year. Our current code to handle this process is in VB6

How to use the ^DG command send image to a zebra printer in java?

a 夏天 提交于 2019-12-01 10:55:44
Is anyone know how to convert a image(such as *.bmp files) to HEX string in java,so the HEX string can used in the ^DG command(one of command in zpl).thanks! It's not easy. You have to convert the image to 1-bit per pixel b/w, and then calculate the size including the bytes per row, and then properly form up the parameters of the ~DG command to store it. Or... Zebra provides an API to convert images to GRFs (Zebra internal image type). There are a bunch of developer demos in the package, including a demo on how to print/store an image as a GRF on your printer Zebra Link-OS SDK download Hope

How to use the ^DG command send image to a zebra printer in java?

江枫思渺然 提交于 2019-12-01 08:48:36
问题 Is anyone know how to convert a image(such as *.bmp files) to HEX string in java,so the HEX string can used in the ^DG command(one of command in zpl).thanks! 回答1: It's not easy. You have to convert the image to 1-bit per pixel b/w, and then calculate the size including the bytes per row, and then properly form up the parameters of the ~DG command to store it. Or... Zebra provides an API to convert images to GRFs (Zebra internal image type). There are a bunch of developer demos in the package,

Image (PCX) for EPL2 Zebra printer

两盒软妹~` 提交于 2019-12-01 07:44:30
问题 I am having trouble producing and uploading graphics to an EPL2 printer. Having tired quite literally any pieces of software available and trawled the internet, I am at a loss. I have a 1 bit file which I try to upload with the following script.. setppi.txt GK"NAMEPCX" GK"NAMEPCX" GM"NAMEPCX"3042 and then upload with copy setppi.txt+ppirmt.pcx lpt1/b Has anyone with experience got any tips before I tear out what is remaining of my hair? I am almost certain that this issue is to do with the

Print characters with an acute in ZPL

亡梦爱人 提交于 2019-12-01 04:46:11
If I send the ZPL commands below to a Zebra printer, it prints AmitiÙ : ^XA ^FO50,20 ^CI7 ^A0N,25,15 ^FD Amitié ^FS ^XZ Note that the file encoding is ANSI . Note the use of the ZPL command ^CI7 (7 => Single Byte Encoding - France 1 Character Set). On the other hand, if I send the ZPL commands below to a Zebra printer, it prints Amitié (which is what I actually need to get): ^XA ^FO50,20 ^CI28 ^A0N,25,15 ^FD Amitié ^FS ^XZ Note that the file encoding is UTF-8 . Note the use of the ZPL command ^CI28 (28 => Unicode (UTF-8 encoding) - Unicode Character Set). Do you know what's wrong in the first

Print characters with an acute in ZPL

人盡茶涼 提交于 2019-12-01 01:41:32
问题 If I send the ZPL commands below to a Zebra printer, it prints AmitiÙ : ^XA ^FO50,20 ^CI7 ^A0N,25,15 ^FD Amitié ^FS ^XZ Note that the file encoding is ANSI . Note the use of the ZPL command ^CI7 (7 => Single Byte Encoding - France 1 Character Set). On the other hand, if I send the ZPL commands below to a Zebra printer, it prints Amitié (which is what I actually need to get): ^XA ^FO50,20 ^CI28 ^A0N,25,15 ^FD Amitié ^FS ^XZ Note that the file encoding is UTF-8 . Note the use of the ZPL command

How to get ZPL code from a ZebraDesigner label?

余生颓废 提交于 2019-11-30 10:36:17
问题 I'm using ZebraDesigner 2.2.2 (Build 2728). Is there a way to extract the ZPL code from ZebraDesigner? I can't even export it to ZPL file, the only option I have is saving it as .lbl . 回答1: You can add a new ZebraDesigner ZPL driver to the system and use a file as the port. Then when you "Print" the document, it will write the ZPL code to the file. Note that it might have some header information before the first ^XA which you might not need. UPDATE : (How to add local port on a driver) Go to

Reading status from Zebra Printer

孤者浪人 提交于 2019-11-30 01:48:15
问题 I'm working on a project where we need to use a Zebra Printer for barcode labels. We're using C#, and we're doing OK on the printing side of things, sending raw ZPL strings to the printer (using winspool.drv). However, we also need to read from the printer, and no luck there. We need to get the status from the printer, which is the output to the ZPL command "~HS", so we can tell how many labels are in memory waiting to be printed. The EnumJobs() from winspool.drv only has jobs on the windows