> From [EMAIL PROTECTED] Fri Sep 29 06:08:57 2000
> Date: Fri, 29 Sep 2000 14:00:17 +0200
> From: Christoph Beyer <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: ZOPTS in ifhp
>
> hi,
>
> I retried 
>
> file_output_match = [
>   *postscript*  ps  \%s{ps_converter}
>   *pcl*         pcl  \%s{pcl_converter}
>   *pjl*         pjl  \%s{pjl_converter}
>   *text*        ps   /usr/libexec/filters/ascii \%s{Z}
>   *printer*job*language* pjl
>   *gzip_compressed*  filter  \%s{gzip_decompress}
>   ]
>
> ...nothing happened, then I discovered that under Solaris the -Z option
> isn't passed to the control-file:
>
> solaris:
> Aroot@printsrv4+429
> Cprintsrv4
> Hprintsrv4.desy.de
> J(stdin)
> Lroot
> Proot
> Qr02ps10
> N(stdin)
> fdfA429printsrv4.desy.de
> UdfA429printsrv4.desy.de
>
> linux:
> Aroot@pcx1839+713
> CA
> D2000-09-29-11:13:35
> Hpcx1839.desy.de
> J(stdin)
> Lroot
> Proot
> Qr02ps10
> Zlandscape
> N(stdin)
> fdfA713pcx1839.desy.de
> UdfA713pcx1839.desy.de
>
> Everything works fine now except under SOLARIS, I tried a few different
> releases (2.5.1, 2.6, 2.7) but didn't succeed, though LPRng is installed
> on all these hosts.
>
> Regards Christoph

You need to set the lp configuration so that it will PASS
the options in the /etc/printers.conf file.

The above commands will create the necessary directories and files
for the printer.  If you want to use the lp -o option
syntax to pass options to the LPRng print spooler you will have to
enable this by hand.

The /etc/printers.conf (this may be in some other directory besides
/etc>) needs to be modified so that it allows options to be passed
using the Solaris convention, which is to put them on the S or O
line of the control file.

For example:

#
# The preferred method of modifying this file is through the use of
# lpset(1M) or fncreate_printer(1M)
#
pr:bsdaddr=servername,pr,Solaris:
_default:use=pr:


The bsdaddr=host,printer[,Solaris] indicates that the entry is for
a remote RFC1179 printer on server host with name printer.  The
Solaris option indicates that the Solars extensions to the RFC1179
protocol are to be used.


Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.astart.com)

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to