printing - After printer restart, settings are lost
问题描述
I am using GX430t Zebra printer.
My problem is that after printer restart, printer is no longer printing special characters for Slovenia.
(example file for printing is below).
Example: Printer is restarted and then we print example file from our application (we have our own app for printing labels). Slovenian characters are not printed:
Next step is to send that same file into printer via printer settings:
File is printed correctly:
What is even more interesting is that every file printed from our application is OK, after that step is done.
My question is: where does printer stores info about that? What I would like to do is include (if possible) this information into every file that I am printing, so regardless if printer was restarted or not, Slovenian characters will be printed correctly. Otherwise, we must use printer settings and sending example file to printer each time printer is restarted.
Example file with zebra language:
^XA^LH300,10^FO10,10^A0,20,20^FD Šazoćeđa gostinstvo d.o.o.^FS^FO10,20 ^A0,20,20^FDIme polizdelka: ^FS^FO10,40 ^A0,35,35^FDŠABAN ŠAULIĆ^FS^FO10,80 ^A0,30,30^FDDatum predpriprave: 25.04.2018^FS^FO10,120 ^A0,30,30^FDUporabno najmanj do: 25.04.2018^FS^FO10,160 ^A0,20,20^FDOddelek predpriprave: Centralna predpriprava^FS^FO10,190 ^A0,30,30^FDOddelek finalizacije: HKJ_topla kuhinja^FS^FO10,230 ^A0,30,30^FDKoličina: 7 (nar.); 0 (dos.); 7 (ned.); kg^FS^FO10,265 ^FB650,12,, ^A0,20,20^FDSestavine: MOKA PSENICNA T500 1KG (aler.: Gluten; psenica;); SOL KAMENA ; JAJCNI MELANZ (aler.: Jajca;); MLEKO SVEZE 10L (aler.: Mleko;)^FS^FO10,560 ^A0,20,20^FDPripravil: Šaban Šaulić^FS^XZ
解决方案
Thanks to @banno - solution was to put proper encoding into .ZPL file. In my case, taken from this it was enough to add ^CI28
after ^XA
推荐阅读
- java - java.sql.SQLDataException: ORA-01843: mes no válido on select query
- java - 如何将 Camunda 业务错误抛出?
- javascript - 表单提交后删除下拉选择
- hyperledger-fabric - 超级账本浏览器 | 开始.sh | ssl_transport_security | SSL3_GET_RECORD
- wpf - 在按钮单击事件上填充组合框
- javascript - 当值无效时,Joi 使用默认值
- r - blogdown / hugo 中的 YMLto html 表
- lilypond - 重复同一个音符 n 次
- c# - Xamarin iOS 在 Xamarin 表单中获取连接的蓝牙设备名称
- android - 安装后android studio缺少预览布局