UEL

From Hacking Printers
Revision as of 18:33, 28 January 2017 by Admin (Talk | contribs) (Created page with "The Universal Exit Language (UEL) actually is not a real job control ‘language’ but a single command used to terminate the curre...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Universal Exit Language (UEL) actually is not a real job control ‘language’ but a single command used to terminate the current data stream: the escape character (\x1b), followed by %-12345X. It was originally introduced with HP's PCL and is supported by most modern laser printers. It is a good practice of ‘printer drivers’ to invoke the UEL at the beginning and at the end of each print job, so interpretation of the printer language is stopped/restarted and each job has its own environment. Otherwise, for example PJL settings like paper media size or PostScript definitions set in one print job would influence the next job. The UEL can be handy to string together multiple jobs into a single file/datastream sent to the printer and can be used to fool hardware page counters, for example.