How to get CPF file in QL420 / QL220

I have to provide over 30 QL420plus printers, and I'm struggling with what I thought would be easy.

We will use printers in conjunction with our own application written in Windows Mobile 6. Basically, the application sends a stream of CPCL commands to print tags. Since there are non-standard fonts on the label, we created 7 CPF files that we need to put on the printer.

However, the problem is that the new version of LabelVista (now called Zebra Designer v2.2.3) will not allow you to "Send the font", as you would with LabelVista, which runs on Windows XP. You must use the "Zebra Font Downloader". This is where the problem really comes home, because it will not allow you to add a CPF file. You need to create an MMF file and then download it to the printer. This creates one large file in which there are different fonts. This is pretty useless when the label format looks like this:

! 0 200 200 304 {8} LABEL CONTRAST 0 TONE 0 SPEED 3 PAGE-WIDTH 408 BAR-SENSE 50 COUNTRY UK VT 7 0 280 220 {0} VB EAN{13} 1 2 60 310 230 {9} T Got08Bpt.cpf 0 5 3 {1} T Got05Bpt.cpf 0 5 91 TICKET PRICE T Got010Bpt.cpf 0 5 220 RETAIL PRICE T Got012Bpt.cpf 0 5 240 {12} T Got014Bpt.cpf 0 20 240 {6} CONCAT 5 105 Got28Bpt.cpf 0 0 {10} Got14Bpt.cpf 0 7 {11} ENDCONCAT FORM PRINT 

I need different font sizes for each text line written on the label, but I can not download the CPF files individually to the printer.

I cannot install the old version of LabelVista because it will not allow me to install on Windows 7. I read the Zebra CPCL Progrmaming manual and it is not useful at all. Can someone help, or my Zebra account manager will have a very bad day. :-)

thanks

Mike

+4
source share
2 answers

Try the code that we paste here. Sending the font file (.cpf) to the zebra Qln320 printer via WLAN. I store the font files in Oracle DB, download them to the Windows CE device and send them via BT to the device. The only “bad” in this method is that the printer is turned off after downloading each file (buy the method when you download a font file via USB from LabelVista, the problem is the same).

To delete a file from the printer, you can use this String.Format ("! U1 do \" file.delete \ "\" {0} \ "\ r \ n", FileName.ToUpper ());

0
source

You can use Zebra Settings Utilities to manage your printers. This software allows you to communicate with your printers and configure them.

0
source

Source: https://habr.com/ru/post/1435298/


All Articles