Date: Wed, 11 Apr 2007 13:33:00 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: Alexander@leidinger.net (Alexander Leidinger) Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Printing with Acrobat Reader Message-ID: <200704111133.l3BBX0VR096355@lurza.secnetix.de> In-Reply-To: <20070411125140.8uyf2g4kggg8k4og@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote: > Oliver Fromme wrote: > > 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". > > Try without the path... Interesting idea. I guess I didn't thought of that because the _default_ entry in Adobe Reader is "/usr/bin/lp". So I just tried adding an "r" to it, which failed. I think it would be desirable to have the Adobe Reader port work out of the box without _any_ change by the user. That's why I suggest having the port add a wrapper script as /compat/linux/usr/bin/lp. A simple one line script like this one should be sufficient: #!/bin/sh - exec /usr/bin/lpr "$@" 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 "I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind." -- Alan Kay, OOPSLA '97
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704111133.l3BBX0VR096355>