Does anyone know how to set up two printers for a desktop?
'lisa' (using --printer, is this a true switch or an environment variable?)
seems to set up one printer with two entries, 'ps' with a filter and 'lp'
without (in /etc/printcap). No printer names. When I put in the second
printer the original is commented out and a new filter is installed
replacing the original filter. Resolution and paper change too. Needless
to say the two printers require different settings.
on '/dev/lp0' - an HP 870Cxi using A4, a standard paper size; usually at
300*300 resolution.
on '/dev/lp1' - an NEC P90 using 14.25 inch x 11 inch (excluding sprocket
holes); usually at 180*180 resolution. The size varies an inch or so with
each box.
Proper definition of non-printing areas is required for each (mainly top
margin and perf skip for the nec, and all round for hp, bottom and top
differ).
I also want to control headers etc. (A clean sheet must be provided for use
by star office, to pick up my own standard footers).
The system is Caldera 2.2. 'Printtools' does not exist. In kde 'Coas'
indicates merely 'ps' and 'lp' with no descriptions. When one tries to
continue with configuration it goes back to a prompt. No help on 'F2'.
I can print to the ports ok (in any case both printers have no problems
under w9x).
The only nec listed is a P60 (narrow carriage). Editing of /etc/printcap
works up to a point, but there seems to be a limit of about 100 on the
number of columns. Changing paper to ledger or tabloid does not help; there
seems to be a hardware definition as well as a paper definition. (A wide
directory listing appears correctly in a wide xterm and has been sent to a
file. 'lpr' does a '/cr' at about column 100 ,even when -C is set at 180 or
more. Varying 'pl', 'pw', 'px', and 'py' or -w# has no effect for large
values.) I have found various files with printer and paper definitions, but
did not see where the actual dimensions are indicated. Hand assignment of
printer names in /etc/printcap works ok with 'lpr'.
Any clarification or help pointing in the right direction would be welcome.
John Curry.
ps I have no experience of unix, so things that might be obvious are in fact
unknown.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!