[cups.general] dosemu, lpr and esc/p 2
jsmeix at suse.de
Tue May 27 23:51:53 PDT 2008
On May 27 19:07 Lucio Crusca wrote (shortened):
> I'm using an old DOS application into dosemu. This app sends ESC/P 2 codes
> to LPT1: and dosemu takes the stream and feeds it to the lpr command
> (Debian Etch/i386, package cupsys-bsd).
> ... is it possible to pass ESC/P 2 codes untouched from the DOS app to
> the printer ...
I do not exactly understand what you described as
your "network setup" but regardless of it, to send
whatever data unchanged to a printer, set up a so
called "raw" queue, see the CUPS documentation or
You can set up two queues for the same printer:
A normal queue with filtering for usual applications
and a "raw" queue only for your DOS application.
If you can change the lpr command which is called by dosemu,
you don't need a "raw" queue, instead only add the "-o raw"
option to the lpr command which will enforce "raw" printing.
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
More information about the cups