Will Scalable font work in Zebra MZ 320 printer - printing

I am using CPCL commands to print labels in Zebra MZ 320 Printer. I want to use SCALABLE_TEXT command in my CPCL code. But the printer doesn't print anything. Will SCALABLE-TEXT command work in Zebra MZ 320 Printer? and how can i install .csf type of fonts in Zebra MZ 320 Printer?
Here is my CPCL code:
! 0 200 200 300 1
CENTER
SCALE-TEXT PLL_LAT.CSF 10 10 0 10 10 POINT FONT
FORM
PRINT

That CPCL looks fine; In fact, it looks like you took it directly from the CPCL manual: https://support.zebra.com/cpws/docs/comtec/PROMAN-CPCL_RevY.pdf . You will want to make sure that the font that you are referencing is on the printer. You can send the following command to see all files currently on the printer. If you don't see PLL_LAT listed, then it is likely that the font is not on the printer:
! U1 getvar "file.dir"
Notice that you must include a new line after this command, and that it is case-sensitive
This article explains how you can download additional fonts to the printer:
https://km.zebra.com/kb/index?page=answeropen&type=open&searchid=1362663129066&answerid=16777222&iqaction=5&url=https%3A%2F%2Fkm.zebra.com%2Fkb%2Findex%3Fpage%3Dcontent%26id%3DSO7889%26actp%3Dsearch%26viewlocale%3Den_US&highlightinfo=6292308,67,81#

Related

Setting charset on thermal printer via ESC/POS

I have a thermal printer "MPT-II" from an unknown Chinese brand, that has both USB and Bluetooth. I can successfully print text using:
Loyverse app on Android
JavaScript
Raw HEX or decimal
However, only using the Loyverse app am I able to input special characters, and by special characters I mean the Danish characters æøå/ÆØÅ.
If I open up any BLE tool on Windows (Bluetooth LE Lab for example), I can select the correct characteristic and send something like 104 101 108 108 111 13 10 which would print "hello" on the printer. I've read a bit about the ESC R and ESC t commands, but how exactly do I set those modes? I've tried prepending it to each command, such as 27 82 1 104 101 108 108 111 13 10 where the 27 82 1 corresponds to ESC R 4 and the 4 corresponds to Denmark I.
According to the printer's manual, it states the following:
GB18030 character set, ASCII characters, user defined characters, bar codes CODE39, EAN13, EAN8, CODABAR, CODE93, ITF, bitmaps.
According to that list, the Danish character set is not supported. I'm not sure how the Loyverse app is doing it correctly, but the text is the same using raw commands and Loyverse, so I don't think Loyverse is converting to a bitmap and sending that data.
So my real question is: How do I send the correct character set for my printer? Maybe the character set is already correct, but the ASCII character for æøå/ÆØÅ are wrong?
EDIT: I have confirmed that something works with the ESC XXXX commands. If I do 27 97 2 followed by my "hello" sequence, the text is printed to the right (right aligned). So that definitely works.. I have tried probably all character sets thus far using ESC R and ESC t but none of them work :(
EDIT 2: I have now tested every single combination of ESC R and ESC t. I went through the entire list printing some Chinese characters, and every single line of 150+ I tried all returned the same Chinese character. So ESC R or ESC t is definitely not the command I should be using to change the charset.

Zebra printer ZT610 doesn't print polish signs while ZTC 110 does

I am trying to print polish signs with font Verdana ( contains polish signs). The problem is that on the printer ZTC 110 code :
^XA
^FS
^CWZ,E:VERDANAB.FNT^FS
^FT100,100^FH^FD żółć
^XZ
works perfectly fine and polish signs are printed , while on the new printer ZT610 polish letters are missing (font was downloaded properly with .TTF format). All I can see in a place of sign is a blank space. When I m using zebra designer 2 polish letters are printed, they also are printed when I add command ^CI28 to the code ( used ^FH^FD here and special utf 8 code for polish signs),
^XA
^CI28
^FS
^CWZ,E:VERDANAB.TTF^FS
^FT100,100^FH^FD _C5_BC_C3_B3_C5_82_C4_87_C5_B9 ( żółć // here is the blank space )
^XZ
but it worked on previous printer without doing those things. Drivers were installed properly, fonts were installed properly, any ideas why is it happening?

Can' t print Greek characters (1253 or 737) with citizen ct-s651ii embed font with Delphi 10.3

I 'm trying to print some text with Greek and Latin characters to a citizen ct-s651ii thermal pos printer using the embedded Font-A font with Delphi 10.3 Rio.
It prints the latin characters but instead of the Greek characters it prints dots (".").
I have set with the citizen pos printer utility the code page to "Space page user fonts" and i have register the wpc1253.cgh font (also tried the pc737.cgh).
I'm not sending esc commands.
I use this code:
Printer.BeginDoc;
Printer.Canvas.Font.Name := 'FontA11 [255]';
Printer.Canvas.TextOut(0,0, 'ΑΒΓΔΕ');
Printer.EndDoc;
From the pos printer utility the "test print" function prints some code pages and it prints the "user define Font-A" code page with the Greek characters without problem.
I'm using the same method and code with an Epson tm-t88v printer without a problem.
Is the citizen printer handling different the textout commands or am i doing something wrong?
Looking at the documentation, this printer supports the following code pages: Alphanumeric, International characters, Katakana, Thai code18, WPC1252, 437, 850, 852, 857, 858, 860, 863, 864, 865 and 866
Locate the characters you want to print in one of those code pages and select it.
If this doesn't work, you can always print the ticket to a bitmap and then print the bitmap. Using this method, you can use any font supported by Windows, regardless of what the printer supports.

How to print different labels in zebra printer in one batch

I need to print a batch of product labels in a zebra printer. I have a file that is built like this:
^XA
^LH30,30
^FO20,10^AF^FDAle Beer^FS
^FO20,100^BY3^BCN,100,Y,N,N
^FD574759766878^FS
^FO20,280^AF^SNSK: US/0001,1,Y^FS
^FO20,320^AF^SNC: Alcoholic,1,Y^FS
^XZ^XA
^LH30,30
^FO20,10^AF^FDCherry Cola^FS
^FO20,100^BY3^BCN,100,Y,N,N
^FD825812897457^FS
^FO20,280^AF^SNSK: US/0018,1,Y^FS
^FO20,320^AF^SNC: Soft Drinks,1,Y^FS
^XZ^XA
^LH30,30
^FO20,10^AF^FDCola^FS
^FO20,100^BY3^BCN,100,Y,N,N
^FD881108188209^FS
^FO20,280^AF^SNSK: US/0019,1,Y^FS
^FO20,320^AF^SNC: Soft Drinks,1,Y^FS
^XZ
So, I'm trying to send multiple labels to the printer. I don't have the machine, I am using the Zpl Printer Chrome emulator. The thing is that I only see the first label.
Is this correct? How can I print all my labels correctly?
Thanks

Printing arabic text using Zebra printer [ZPL]

As the title says Is there any option to print the arabic content ZPL Printer.
Thing tried is adding the font and initiate the print
^XA ^FX ^FR ^CF0,40^CI28^FO130,45^FH^FD محاكمة Font file^FS ^XZ
My printer has TT0003M_.TTF font installed but it shows "????" when i tried to print arabic using
^XA^FO50,50^AE:TT0003M_.TTFN,50,50^FDمحاكمة^FS ^XZ
Any idea how to install a font and print the arabic text using ZPL language?
^XA^CI28^CW1,E:TT0003M_.TTF^LL130^FS
^PA0,1,1,1
^FO50,50^A1N30,30^FDمحاكمة‏
^FS
^XZ
Updated this answer to match the other question
Also found this on the Zebra KB - https://km.zebra.com/kb/index?page=content&id=SO6820&actp=RSS
Maybe it is too late to answer your question :) but I have the same issue and I solve it so I want to share my answer.
1- You can use ZebraDesigner 3 or "BarTender Designer" to design your ZPL code.
2- Use this font ZEBRA Swiss Unicode, it support Arabic characters.
3- After finish your design click Print and check the box "Print to file" then click Print and save the file with extension ".prn".image
4- Open the file using notepad and you will see the ZPL code.
5- Here is the result
^FPH,3^FT225,224^A#N,141,141,TT0003M_^FH\^CI28^FDمحاكمة^FS^CI27
Or the full result in this image.
6- If you are using online zpl viewer like this don't worry if you can't see the Arabic characters, but if you want to print you will not see any problems
7- Don't try to make your text in the center ,usin this will cut and reverse the Arabic text
The default is Field Text > "^FT"or with x,x"^FTx,y" "^FT225,224" like in this code:
^FPH,3^FT225,224^A#N,141,141,TT0003M_^FH\^CI28^FDمحاكمة^FS^CI27
If you try to center,right or left your Arabic text it will use Field Block "^FB" "^FB383,1,75,C" it is different than "^FT" and it is not supporting Arabic text.
^FPH,3^FT225,224^A#N,141,141,TT0003M_^FB383,1,75,C^FH\^CI28^FDمحاكمة^FS^CI27
you can see Field Block properties in this book at page 169
8- I'm not sure but I tried very hard and there is no way to center the arabic text until now.
But I have a trick using ^FT width to calculate the center
Using this function ,it is c#:
//Define page_width and font_width
int page_width = 600;
int font_width = 18;
call the function it will return X position (center).
string ar = "محاكمة محاكمة محاكمة";
string FT_center = center_line(ar);
here is the function, 315 = middle width or center point
public string center_line(string arabic_text)
{
int text_width = (arabic_text.Length * font_width) / 2;
decimal d = ((page_width - (text_width / 2)));
int x = Convert.ToInt16(Math.Round(d)) ;
x = 315 + (text_width / 2);
return x.ToString();
}
use it like this:
^FPH,3^FT"+FT_center+#",224^A#N,141,141,TT0003M_^FH\^CI28^FDمحاكمة^FS^CI27

Resources