We had a discussion internally about this and what we have come up with is this:
* ZPL in format overrides every other setting
* Windows driver has a setting to use printer settings which I assume means not to send extra ZPL (eg. darkness, speed)
* NiceLabel or other label printing software has label specific settings which is sent down with ZPL and probably overrides the Windows driver.
Does that seem correct?
Hi Chris, yes the info you have is correct. Most of the formatting information is persistent at least label to label, but not over a power cycle without a ^JUS command. You can set up a driver to just send raw ZPL, use the media settings from the printer, or use the ones in the driver (gets added to the format). NiceLabel and other labeling software often doesn't even use the driver mostly, just uses it for a list of connected printers. They send direct ZPL over whatever communication channel is set up.
Edit: You can add the format info to a stored format and recall it later adding any data or printing you want. This can be useful if you have multiple label formats or your customers are switching media regularly. This gives you a programmatic way to change this up without having to send all the info over and over. Something like:
You only send the second line when you want to print. Prints one label. Or you can do this to cut down on what is sent each time:
In XML it looks like this (again the first line is just sent once):
<?xml version="1.0" standalone="no"?>
<!DOCTYPE labels SYSTEM "label.dtd">
<labels _FORMAT="E:SHELF.ZPL" _QUANTITY="1" _PRINTERNAME="Printer 1" _JOBNAME="LBL101">
These should all print the exact same label on these printers. You can store multiple formats at a time. The only one I'm not sure about is if the P4T does XML printing or not. I'll have to look that up.
Any other questions?