Printing with Acrobat Reader

Alexander Leidinger Alexander at Leidinger.net
Wed Apr 11 19:47:00 UTC 2007


Quoting Oliver Fromme <olli at 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


More information about the freebsd-ports mailing list