Comandi ZPL

~DY · Scaricare oggetti

Carica nella memoria della stampante file come grafiche PNG, GRF , font TrueType/OpenType o bitmap.

Carica nella memoria della stampante file come grafiche (PNG, GRF), font TrueType/OpenType o bitmap.

Parametri

  • ~DYd:f,b,x,t,w,data - d:f: unità e nome file senza estensione (p. es. E:LOGO)
  • ~DYd:f,b,x,t,w,data - b: formato dei dati: A = hex ASCII non compresso, B = binario non compresso, C = binario compresso AR, P = PNG
  • ~DYd:f,b,x,t,w,data - x: tipo/estensione del file, p. es. G = bitmap raw (.GRF), P = PNG (.PNG), T = TrueType/OpenType (.TTF/.OTF), E = estensione TrueType (.TTE), B = bitmap
  • ~DYd:f,b,x,t,w,data - t: numero totale di byte del file
  • ~DYd:f,b,x,t,w,data - w: byte per riga (solo .GRF)
  • ~DYd:f,b,x,t,w,data - data: dati del file nel formato scelto

Esempio

~DYE:LOGO,A,P,2048,,
89504E470D0A1A0A...
^XA
^FO50,50^IME:LOGO.PNG^FS
^XZ
Anteprima ZPL: ~DY · Scaricare oggetti

Suggerimento

~DY è il modo abituale per memorizzare loghi (PNG, GRF) e font TrueType sulla stampante: i dati binari (b = B) sono più compatti dell'esadecimale ASCII (b = A). Anche la gestione dei font di zplCloud usa ~DY per trasferire i font TTF.