Date: Tue, 10 Apr 2007 11:10:04 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-ports@FreeBSD.ORG Subject: Printing with Acrobat Reader Message-ID: <200704100910.l3A9A4o6020106@lurza.secnetix.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704100910.l3A9A4o6020106>