printcap configuration problem

Beeblebrox zaphod at berentweb.com
Fri Jul 18 13:10:29 UTC 2014


Thanks guys.

I had read several sources (including Warren's) when I finally broke down
like a little girl and had to ask for insight.

> You can also define $PRINTER (for example in /etc/csh.cshrc globally) with
> the name of the printer.
I had never read about this and it never ocurred to me before - thanks.
As you guessed, I was not using "lpr -P hp2100"

> These are CUPS options.  Standard lpd does not understand them.
Well a day's work wasted there...

> Or apsfilter options.
Hence the idea of modifying my existing /usr/local/libexec/lf2crlf to define
the desired printer settings, since appsfilter is a collection of filter
files, AFAIK?

I had already read in man printcap that one must use <px - page.pwidth, py -
page.plength> (in pixels) as page size. However considering that I have
print/papersize-default-a4 installeed, there should be a simpler way to
define it as default rather than px/py in printcap?

Also, I do not find any way of defining resolution (r=), quality (q=) and
orieantation (m=) in printcap, and the job ends up using the default printer
settings (excluding the a4 parameter which is sent from host) - so I
logically come back to the filter file...

Thanks for the help.



-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/printcap-configuration-problem-tp5929730p5929805.html
Sent from the freebsd-questions mailing list archive at Nabble.com.


More information about the freebsd-questions mailing list