Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2007 21:46:58 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Oliver Fromme <olli@lurza.secnetix.de>
Cc:        freebsd-emulation@freebsd.org, bsam@freebsd.org, freebsd-ports@FreeBSD.ORG
Subject:   Re: Printing with Acrobat Reader
Message-ID:  <20070411214658.28888e01@deskjail>
In-Reply-To: <200704111133.l3BBX0VR096355@lurza.secnetix.de>
References:  <20070411125140.8uyf2g4kggg8k4og@webmail.leidinger.net> <200704111133.l3BBX0VR096355@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Oliver Fromme <olli@lurza.secnetix.de> (Wed, 11 Apr 2007 13:33:00 +0200 (CEST)):

> 
> 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.

Ok, I checked my settings in acroread (without printing anything),
without the path it should work.

> 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...

> 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?

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070411214658.28888e01>