Re: Printing with Acrobat Reader

2007-04-15 Thread Oliver Fromme
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 "

Re: Printing with Acrobat Reader

2007-04-12 Thread Oliver Fromme
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

Re: Printing with Acrobat Reader

2007-04-12 Thread Alexander Leidinger
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

Re: Printing with Acrobat Reader

2007-04-12 Thread Oliver Fromme
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

Re: Printing with Acrobat Reader

2007-04-12 Thread Boris Samorodov
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

Re: Printing with Acrobat Reader

2007-04-12 Thread Alexander Leidinger
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

Re: Printing with Acrobat Reader

2007-04-12 Thread Oliver Fromme
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

Re: Printing with Acrobat Reader

2007-04-12 Thread Roman Divacky
> 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

Re: Printing with Acrobat Reader

2007-04-12 Thread Alexander Leidinger
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

Re: Printing with Acrobat Reader

2007-04-12 Thread Oliver Fromme
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

Re: Printing with Acrobat Reader

2007-04-11 Thread Alexander Leidinger
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

Re: Printing with Acrobat Reader

2007-04-11 Thread Oliver Fromme
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

Re: Printing with Acrobat Reader

2007-04-11 Thread Alexander Leidinger
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

Re: Printing with Acrobat Reader

2007-04-10 Thread Howard Goldstein
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 #