zebra-printers

How to create a pre-scaled font for a CPCL printer

一个人想着一个人 提交于 2020-01-03 05:07:14
问题 I've got a .NET Compact Framework application that uses a Zebra QL220+ printer. I drive the printer via CPCL printer language, and I now need to print some output that cannot be achieved with just the resident fonts. I'd like to create some pre-scaled fonts (which are then downloaded as .cpf files to the printer) but for the life of me I cannot find how to do this. I have the Label Vista tool from Zebra, and despite the fact that the Help file states this can be done, my "Fonts" menu is

Can you direct pdf print to a zebra printer

荒凉一梦 提交于 2020-01-01 05:25:10
问题 Is it possible to direct print a stored pdf via a zebra printer in Java? I can't find any mention of them being compatible with direct printing and I can't get it to print. Would I need to communicate directly via zpl? The zebra printer works fine when printed through Acrobat Reader, does Adobe Reader translate the PDF into zpl? 回答1: The zebra printer works fine when printed through Acrobat Reader, does Adobe Reader translate the PDF into zpl? No. Adobe Reader prepares a document that the

printing QR codes through an ESC/POS thermal printer?

二次信任 提交于 2019-12-31 22:24:29
问题 I'm printing some QR codes (from a Ruby script) writing ESC/POS commands to a Epson TM-T20 thermal printer. BTW, I'm writing a simple ESC/POS commands printer "driver". The printer I'm using an Epson TM-T20 (USB interface) I'm doing some tests from a Windows 7 host, using serialport gem. All fine about writing ESC/POS commands for print formatted texts and also linear barcodes, but I have problems uinderstanding the command protocol to print QR CODES, using the only available documentation

printing QR codes through an ESC/POS thermal printer?

Deadly 提交于 2019-12-31 22:23:12
问题 I'm printing some QR codes (from a Ruby script) writing ESC/POS commands to a Epson TM-T20 thermal printer. BTW, I'm writing a simple ESC/POS commands printer "driver". The printer I'm using an Epson TM-T20 (USB interface) I'm doing some tests from a Windows 7 host, using serialport gem. All fine about writing ESC/POS commands for print formatted texts and also linear barcodes, but I have problems uinderstanding the command protocol to print QR CODES, using the only available documentation

Zebra Printing with CUPS no print ZPL or EPL

孤人 提交于 2019-12-31 10:56:29
问题 I have a Zebra GK420d connect to OS X via CUPS. However, when I send files to it that are written in ZPL or EPL they are only printed in plain text. Am I required to change to mode on the printer? 回答1: Contrary to what others said, you don't need to specially add a raw queue. Instead, you can submit raw files into any queue using -o raw switch: lpr -P CupsPrinterName -o raw path/to/label.zpl Printer name can be found over that link in CUPS: http://localhost:631/printers/ This also works on

Zebra Printing with CUPS no print ZPL or EPL

佐手、 提交于 2019-12-31 10:55:29
问题 I have a Zebra GK420d connect to OS X via CUPS. However, when I send files to it that are written in ZPL or EPL they are only printed in plain text. Am I required to change to mode on the printer? 回答1: Contrary to what others said, you don't need to specially add a raw queue. Instead, you can submit raw files into any queue using -o raw switch: lpr -P CupsPrinterName -o raw path/to/label.zpl Printer name can be found over that link in CUPS: http://localhost:631/printers/ This also works on

Sending a Barcode to a Zebra Printer from a Java Application

为君一笑 提交于 2019-12-29 05:20:08
问题 I am creating a java application that retrieves a userId from a database, transforms it into a barcode, then sends it to a printer. I am planning to use a Zebra printer and I was wondering if anyone has experience of printing to a Zebra printer from a Java application; if so, could you share some code making this possible? Thanks in advance, Tumaini 回答1: There are two ways to work with Zebra printers. The first is to print as on regular printer. Java printing basics are well explained in

Emulate Zebra printer [duplicate]

早过忘川 提交于 2019-12-29 03:28:08
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Print preview ZPL II commands using .NET WinForm before sending it to Zebra printer I am working on a Java app that prints tickets to a Zebra printer. The problem is that I am working remotely and don't have access to the Zebra printer (or any other printer actually). I would like to know if there is a way to emulate the Zebra printer so that I can visualize the result of the print jobs generated by my app (to

Convert image data to format needed for gfa

帅比萌擦擦* 提交于 2019-12-25 09:26:43
问题 If I have an Image file (png, bmp, or jpg), and I need to get the data for the ZPL GFA tag, how do I do that? I would like some example in vb.net or C# 回答1: please add this class to your project: public class zplImageConverter : Component, IBindableComponent { private int blackLimit=125; private int total; private int widthBytes; private bool compressHex= false; public int BlacknessLimitPercentage { get { return (blackLimit * 100 / 255); } set { blackLimit = (value * 255 / 100); } } public

Centering a receipt title with CPCL Programming(Zebra mobile Printeres)?

孤街浪徒 提交于 2019-12-25 08:41:36
问题 I am producing a receipt with my c# and CPCL code. I've got company name on the top of the receipt.Company name is setup according to who is using that software, I want be able to center that company name. I have tried with command CENTER but its not doing anything I dont know If I am doing something wrong. My Code is: SendData = " ! U1 setvar \"device.languages\" \"line_print\"\r\n"; SendData += " ! U SETLP 5 1 46\r\nPAGE-WIDTH 480\r\nSETBOLD 2\r\nPRINT\r\n"; SendData += " ! U1 CENTER\r\n"