Date: Sun, 15 Apr 2007 13:11:31 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: Alexander@leidinger.net (Alexander Leidinger) Cc: Roman Divacky <rdivacky@FreeBSD.ORG>, freebsd-ports@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG, bsam@FreeBSD.ORG Subject: Re: Printing with Acrobat Reader Message-ID: <200704151111.l3FBBVd1055057@lurza.secnetix.de> In-Reply-To: <20070412152642.76pd6vw0000sk88g@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
OK, now I've tested it thoroughly. This is on a RELENG_6 machine with current acroread7 and linux_base-fc-4_9 from ports, and compat.linux.osrelease is set to 2.4.2. $ pwd /usr/compat/linux/usr/bin $ ls -l lp* -rwxr-xr-x 1 root wheel 35 Apr 15 12:32 lp $ cat lp #!/bin/sh - exec /usr/bin/lpr "$@" Works perfectly well with Adobe Reader's default setting of "/usr/bin/lp" for the printer program. I have also tested it without the path in the script (i.e. only "lpr" instead of "/usr/bin/lpr"). It works just as well, but might be dependant on PATH settings, so I would prefer to keep the full path there, just in case. 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 "anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence" -- Jacek Generowicz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704151111.l3FBBVd1055057>