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 "
Alexander Leidinger wrote:
> Oliver Fromme wrote:
> > That's correct. Obviously Adobe Reader performs some kind
> > of sanity check on the path (if one is given), and for some
> > reason it always prepends /compat/linux in that case.
>
> No linux application does this, it's the kernel. It
Quoting Oliver Fromme <[EMAIL PROTECTED]> (from Thu, 12 Apr 2007
14:29:09 +0200 (CEST)):
Alexander Leidinger wrote:
> I think you said the same than I did, just differently (Oliver did
> call lpr with the full (correct?) path in acroread and somehow it
> didn't work for him).
That's corre
Alexander Leidinger wrote:
> I think you said the same than I did, just differently (Oliver did
> call lpr with the full (correct?) path in acroread and somehow it
> didn't work for him).
That's correct. Obviously Adobe Reader performs some kind
of sanity check on the path (if one is give
On Thu, 12 Apr 2007 13:28:03 +0200 Alexander Leidinger wrote:
> Quoting Roman Divacky <[EMAIL PROTECTED]> (from Thu, 12 Apr 2007
> 11:58:11 +0200):
> >> Acroread will use linux system calls to start the shell. This results
> >> in the linux shell (/compat/linux/bin/sh) to start (linuxulator
> >> d
Quoting Roman Divacky <[EMAIL PROTECTED]> (from Thu, 12 Apr 2007
11:58:11 +0200):
Acroread will use linux system calls to start the shell. This results
in the linux shell (/compat/linux/bin/sh) to start (linuxulator
directory prefixing). The linux shell will use the same linuxulator
directory
Roman Divacky wrote:
>
> > Acroread will use linux system calls to start the shell. This results
> > in the linux shell (/compat/linux/bin/sh) to start (linuxulator
> > directory prefixing). The linux shell will use the same linuxulator
> > directory prefixing to start /compat/linux/us
> Acroread will use linux system calls to start the shell. This results
> in the linux shell (/compat/linux/bin/sh) to start (linuxulator
> directory prefixing). The linux shell will use the same linuxulator
> directory prefixing to start /compat/linux/usr/bin/lpr. So we're in
> the same si
Quoting Oliver Fromme <[EMAIL PROTECTED]> (from Thu, 12 Apr 2007
11:13:05 +0200 (CEST)):
> 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
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 lin
Quoting Oliver Fromme <[EMAIL PROTECTED]> (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 p
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
Quoting Oliver Fromme <[EMAIL PROTECTED]> (from Tue, 10 Apr 2007
11:10:04 +0200 (CEST)):
Hi,
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 mess
Oliver Fromme wrote:
First, copying the FreeBSD binary to /compat/linux seems
like a dirty hack. Is there a better way to solve the
problem?
I don't know if this is a better way but here's the wrapper that I've
been using to coerce printing with acro7 and my printer at lpr -Pps
#!/bin/sh
#
14 matches
Mail list logo