Printing with Acrobat Reader

Oliver Fromme olli at lurza.secnetix.de
Tue Apr 10 09:10:12 UTC 2007


Hi,

I've configured Adobe Reader to use "/usr/bin/lpr -Plaser"
for printing ("laser" is the name of the printing queue for
my PostScript printer).  But when I try to print a document,
I get the error message "/usr/bin/lpr not found".

Obviously Adobe Reader tries to locate the given binary in
/compat/linux.  When I copy /usr/bin/lpr (FreeBSD binary)
to /compat/linux/usr/bin, printing from Adobe Reader works
fine.

Now I have a few questions ...  :-)

First, copying the FreeBSD binary to /compat/linux seems
like a dirty hack.  Is there a better way to solve the
problem?

Second, if there's no better way, then shouldn't the port
already copy the lpr binary upon install (and remove it
upon deinstall), so printing works out of the box?  Or
install a small shellscript wrapper in /compat/linux that
calls /usr/bin/lpr.  (Or at least add a message to the
FreeBSD port to hint users that they need to copy the
binary.)

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"The scanf() function is a large and complex beast that often does
something almost but not quite entirely unlike what you desired."
        -- Chris Torek


More information about the freebsd-ports mailing list