Date: Thu, 12 Apr 2007 11:13:05 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: Alexander@leidinger.net (Alexander Leidinger) Cc: freebsd-emulation@FreeBSD.ORG, bsam@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: Printing with Acrobat Reader Message-ID: <200704120913.l3C9D5lA060207@lurza.secnetix.de> In-Reply-To: <20070411214658.28888e01@deskjail>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote: > Oliver Fromme wrote: > [...] > > 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 > > Not the acroread port, but I would not object if the linux_base ports > would install such a wrapper... That would be fine with me. I don't care which port installs it, as long as it works. :-) > > this one should be sufficient: > > > > #!/bin/sh - > > exec /usr/bin/lpr "$@" > > When I remember your initial mail right, you did test this and it > works... right? No, I copied /usr/bin/lpr to /compat/linux/usr/bin/lpr and then told Adobe Reader to use "/usr/bin/lpr" (instead of the defdault "/usr/bin/lp"). The above wrapper script (as /compat/linux/usr/bin/lp without "r") should have exaxtly the same effect, except that the Adobe Reader's default need not be changed. I can give it a try in the evening. 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 "C++ is over-complicated nonsense. And Bjorn Shoestrap's book a danger to public health. I tried reading it once, I was in recovery for months." -- Cliff Sarginson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704120913.l3C9D5lA060207>