Re: Setting up a postscript printer
Quoting Oliver Elphick (olly@lfix.co.uk):
> "S.Salman Ahmed" wrote:
> >>>>>> "c" == csj <csj@mindgate.net> writes:
> > c> Can you (the original poster) print to file using your CUPS
> > c> setup? If you can print to file, but not to the printer, it's
> > c> probably a printer-queue problem. My own experience: I spent two
> > c> day figuring out that the proper command isn't "lpr" or "lpr -P
> > c> lp0" but "lpr -P lp foo.txt."
> > c>
> >
> >I am the original poster.
> >
> >What's the difference b/w "lpr foo.txt" and "lpr -P lp foo.txt" ?
> >
> There is no difference, so long as lp is the first printer defined in
> /etc/printcap. -P is needed to address any printer apart from the default.
And what happens if lp is not the first, or is not defined at all
in /etc/printcap ?
(I ask because the behaviour of lpr (package as well as command)
is not like that. You need lp to be defined with either style of
command. Otherwise, lpr: lp: unknown printer)
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: