I have the following zpl that is sent to the printer. I'm trying to understand how exactly the "header" portion is interpreted, or why it's necessary at all. The mmf file referenced in the header is already loaded to the memory of the printer. I can send the zpl to the printer and it will work without issue, but I can also remove it entirely without it affecting output.
I couldn't find anything in Zebra's documentation about the [CARD] and [GRAPHIC] parameters, or how to call things from the printer's memory outside of just using ^XG.
^XA
^LH20,10
^LT-20
^SD00
^MD00
^POI
^LS240
^FWN
..begin header in question
[CARD]
SlotID=1
OrgName=C:\mypath\myfile.mmf
CardSize=4096000
Description=mytest
FontIndex=0
BmpIndex=1
FontPlugin=ZEBRADL
GraphicsPlugin=ZEBRADL
UnicodeProportTables=0
[GRAPHIC0]
Name=C:\mypath\mygif.GIF
Width=72
Height=250
Downloaded=1
ReallyDownloaded=1
PictId=1
DownloadId=1
DownloadSize=3062
RecallEsc=^FT{x},{y+250}^XGE:{if(ExportingToForm()&&VarID()>=0)}{ZebraFN("Something")}{else}Somethingelse{endif},1,1^FS\n
...more actual zpl
Why are the [CARD] and [GRAPHIC0] parts of the header necessary? Are they left over from an older format? I'm sending command data to the printer via static IP on a network, is there a way to format these headers so the printer will accept them?