Search code examples
zebra-printerszplzpl-ii

ZPL Programming - reset settings on each print job


Zebra ZPL label printers carry over the print commands from print job to print job. So if you send a ^FWR command that rotates a label, all future jobs will be rotated, so you have to reset the orientation to ^FWN if you want to have the next label be printed in portrait mode.

Is there a way to automatically reset the 'standard' settings on a Zebra on each print job? So settings from the previous job don't carry over to the next job? I want every zpl file I send to the printer to be printed exactly the same, regardless of what was printed prior.

Or is there a default set of commands that I can send that reset the orientation, fonts, position, dpi, measurements, etc?

There's a command that does a power-on/factory reset, but I don't want to do that on every label print.


Solution

  • You can manually reset all unwanted settings.

    This works for me

    ^PON^LH0,0^FWN
    

    .

    FWN resets field orientation
    LH resets the offset
    PO resets print orientation
    

    Not sure if all of those are needed and/or others would be needed for you too. In my particular case, I did not need FWN.

    My printing got messed up when pasting some sample ZPL to the printer. Next 30 labels had orientation and offset changed making them unusable. So I just have above command in beginning of my labels now.

    You might specifically have to reset other settings too.