在线www-在线xx-在线xxx-在线xx视频-欧美 日韩 中文字幕-欧美 日韩 中字 国产

 
公司信息 解決方案 條碼設備 條碼耗材 工業設備 服務與支持 聯系我們

 


您的位置:  敏用首頁




斑馬105SL打印機如何將圖標生成固定的文件,然后調用呢?

發布時間: 2012-3-25 12:38:39
雙擊自動滾屏打印此頁】【關閉本頁

問題:
斑馬105SL打印機用串口ZPL指令打印時,當打印一些圖標時,需要發送很多的字符串,請問能否把這些圖標生成一個固定的文件,這樣以后只需發送相應的文件名就可打印相關的圖標了。請賜教!
 
 
 
敏用數碼解答:
 
斑馬105SL實現這個功能是沒有任何問題的,但需要注意105sl的內存配置,老型號的105sl采用4MB RAM(R:),2MB閃存(E:),新型號的105sl采用6MB RAM(R:),4MB閃存(E:)。避免條碼打印機出現圖形過大下載溢出的情況。
 
通常采用ZPL中的~DG指令(下載圖形)【ZTOOLS工具生成GRF】和^XG指令(調用圖形)或^IL指令(調用圖形)【^XG與^IL的區別為:是否可以對圖形進行縮放?】來完成這樣一個過程。
 
~DG指令(下載圖形)格式:
~DGd:o.GRF,t,w,data
d=存儲圖形的位置,可選的值:R,E,B,A
o=文件名,1-8個字母數字字符
t=圖形占用字節數(bits)
w=每行的字節數
data=ASCII字符串
t參數的計算公式:
xz/8 * yz=t  (x=圖形以mm為單位的寬度,y=圖形以mm為單位的高度,z=dots/mm為單位的打印機分辨率,8=bits/byte)
比如,8mm寬,16mm高的圖形,采用105sl-203dpi打印機打印,那么:
t=8*12/8*16*12=2304
 
^XG指令(調用圖形)格式:
^XGd:o.GRF,mx,my
d=存儲圖形的源位置,可選的值:R,E,B,A
o=圖形的文件名
mx=X軸的放大倍數,1-10
my=Y軸的放大倍數,1-10
 
^IL指令(調用圖形)格式:
^ILd:o.GRF
d=存儲圖形的源位置,可選的值:R,E,B,A
o=圖形的文件名
 
 
例子:
下載圖形代碼:
~DGR:SAMPLE.GRF,00080,010,
FFFFFFFFFFFFFFFFFFFF
8000FFFF0000FFFF0001
8000FFFF0000FFFF0001
8000FFFF0000FFFF0001
FFFF0000FFFF0000FFFF
FFFF0000FFFF0000FFFF
FFFF0000FFFF0000FFFF
FFFFFFFFFFFFFFFFFFFF
 
調用圖形代碼(^XG):
^XA
^F020,20^XGR:SAMPLE.GRF,1,1^FS
^XZ
 
調用圖形代碼(^IL):
^XA
^F020,20^ILR:SAMPLE.GRF^FS
^XZ
 
如何把圖片轉換為GRF格式:
下面介紹如何把斑馬logo轉換為GRF格式
 
USB插頭實樣
 
1、Logo圖形的后綴名需要為PCX或者TIF
2、然后通過ZTOOLS工具中的Convert Graphic File功能,把PCX或者TIF的文件轉換為GRF格式的文件。
斑馬LOGO經過轉換后的GRF格式的代碼如下:
~DGR:ZLOGO,02180,020,E0000000000000000000000000000000000001A0
0000000000000000000000000000000000000040
8000000000000000000000000000000000000020
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000050000000000000000000000000
000000000000015C000000000000000000000000
0000000000080750000000000000000000000000
0000000000240440100000000000000000000000
0000000000181580200000000000000000000000
0000000000500D0020C000000000000000000000
0000000000200000200000000000000000000000
0000000081C01C00618000000000000000000000
0000000101807000400000000000000000000000
0000000502805800830000000000000000000000
00000002000078008C0000000000000000000000
00000004008020010A4000000000000000000000
0000000A03006800920000000000000000000000
0000060601805005440000000000000000000000
0000080001800406800000000000000000000000
00000C0C01401801180000000000000000000000
0000180801800A04600000000000000000000000
0000100600201681800000000000000000000000
0000100400900980000000000000000000000000
0014100200600380400000000000000000000000
002C200100181A00C00000000000000000000000
0010000680502502200000000000000000000000
01C8300100281C04C00000000000000000000000
0020100000100000400000000000000000000000
00F0280120A0B416900000000000000000000000
00181000C0009809680000000000000000000000
0068180040E08810200000000000000000000000
0050140181401860100000000000000000000000
0018090001419040080000000000000000000000
0004028282801080000000000000000000000000
0016020283820000002000000000000000000000
0008030102011C80002000000000000000000000
0002000500821830384000000000000000000000
00000106028008C4802000000000000000000000
0000820502810451506000000000000000000000
00000404028104A4D0D000000000000000000000
0000800600020348806000000000000000000000
00010E0601C50371E1D000000000000000000000
00000204000600A1021000000000000000000000
0000080101810711C20000000000000000000000
0006120501810041044040000000000000000000
00040C0400E200209800C0000000000000000000
000C060200C202C1282060000000000000000000
00041C0300230240C060A0000000000000000000
00081802802181C0204050000000000000000000
000C1200002A0101C10060000000000000000000
0000020140288080804180000000000000000000
00302C0080178001820100000000000000000000
00082C00400A4180018200000000000000000000
00001200300B8081020200000000000000000000
0058010010058080020221800000000000000000
00680600100240820C0402400000000000000000
000818002C004000041805A00000000000000000
007819000800F0021A385C800000000000000000
000816C002001080049066500000000000000000
00280B400D00200018C0B3200000000000000000
00880EA0068018820E2005600000000000000000
005004300140000211A1EAB00000000000000000
00580E280050000009801F480000000000000000
00300814016400000D011F800000000000000000
00100C000028000006041F680000000000000000
00400A02007A000000031F980000000000000000
002C0202800C0000000A1FA00000000000000000
004C01012011A00000051F500000000000000000
00140500A0125000001F1F400000000000000000
002401015808E00000081F800000000000000000
001806000205A0000005D3800000000000000000
0016018081C02000000250800000000000000000
00090200E020400000004C000000000000000000
0007038010304000000000000000000000000000
000D0180401C0000000000000000000000000000
0004000000138000000000000000000000000000
0002818018140000000000000000000000000000
00014060280A0000000000000000000000000000
000040E030020000000000000000000000000000
0001A0000004004CF20000010000000000000000
0000D040100000B19D0000036000000000000000
000020000800016D618000005000000000000000
000038280800000024000002A000000000000000
00000C3404000000180000023000000000000000
0000081800000000B2006401C1C0090402E00000
00001806020000022402AE8136B0162408200000
0000020C010000028005638336341CD0322F0000
000004818080000D700980C0E8040DA060150000
00000184000000142006812330251200000B0000
000002004000002200146A32D01A128002B40000
000000438000003400039B4140010B8029930000
000080A0400000CC0019A42250040A805A0C0000
020000129800004800160001A0011A0040050000
00400029700001B5B20280225829070074160000
04020019A0000100F008816308A80E80C4350000
0000000C400000FFFF8154C0D1AC10805A0A0000
0044200380000000E0017001B148048024870000
0040000200000000000000000000000000000000
0002000000000000000000000000000000000000
0002000000000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
8000000000000000000000000000000000000000
0000000000000000000000000000000000000000
8000000000000000000000000000000000000020
6000000000000000000000000000000000000080

 


相關同類信息:
  • Argox R268打印一張后開始報故障,怎么辦?
  • 如何通過DOS命令行發送ZPL指令到USB接口?
  • 條碼打印機所用的USB接頭數據線是什么型號的?
  • 通過USB接口安裝條碼打印機,出現“無法識別的USB設備”提示,怎么解決?
  • 如何使用ZPL語言初始化桌面型打印機的Flash Memory?
  • TSC TTP-345打印小標簽效果差,是什么問題?
  • sato cl412e條碼打印機串口怎么設置
  • Zebra 110Xi4打印機出紙位置不夠,怎么調試呢?

  •  
    © 2003-2007 ChongShang.Com.Cn.
    主站蜘蛛池模板: 亚洲成人综合网站| 日韩在线免费看网站| 国产干美女| 国产福利你懂的| 天天噜噜色| 亚洲第一区视频| 久久semm亚洲国产| 99精品久久久久久久婷婷| 色天使网| 天天干夜夜曰| 久久久成人影院| 特级毛片aaa免费版| 乱色伦短篇小说| 另类五月| 超大乳抖乳露双乳视频| 日本a级在线| 亚洲国产精品久久久久婷婷老年 | 午夜aaaaaaaaa视频在线| 欧美白人极品性喷潮| 特级免费毛片| 在线视频这里只有精品| 在线观看一区二区三区视频| 国产理论最新国产精品视频| 天天干夜夜操视频| 伊人黄色| 日韩毛片免费在线观看| 亚洲三级免费| 国产亚洲自在精品久久| 亚洲一区二区高清| 婷婷色九月综合激情丁香| 国产美女一级片| 免费观看黄a一级视频| 午夜看一级特黄a大片| 国产伦子一区二区三区四区| 熟妇毛片| 射在老师的里面真爽| 黄色国产| 亚洲国产精品日韩专区avtube| 国产激情电影综合在线看| 精品一区二区三区免费爱| 免费一级特黄特色大片在线观看 |