>Here are the magic command line commands to set up a Solaris
>'lp' based print system to talk to LPRng AKA BSD printing and
>pass options:
>
>Solaris
>
>the Sun Microsystems Solaris printing system is derived from the
>System V UNIX system. Please see the Solaris, HP, and SysVR4 Derived
>Systems installation information for a detailed description of how
>to install LPRng and remove the Solaris Print Services.
>
>If you want to simply forward jobs from a Solaris system to a BSD
>print spooling system you can use the following commands to create
>a printer. Check your specific system references and man pages for
>options:
>
> h4: {65} # lpsystem -t bsd servername # add server
> h4: {65} # lpadmin -p pr -s servername -T unknown -I any # set up printer
> h4: {65} # accept pr # enable queueing
> h4: {65} # enable pr # enable printing
> h4: {65} # lpstat -t # show status
> scheduler is running
> system for pr: servername
> lp accepting requests since Mon Aug 6 12:00:00 PST 2000
> Printer: pr@servername 'Hp : Laserwriter' (printing disabled)
> Queue: 1 printable job
> Rank Owner/ID Class Job Files Size Time
> 1 papowell@h4+207 A 207 h4.023205 3 18:24:54
>
>
FYI: as of Solaris7 and higher the lpsystem part isn't
really needed (in fact, it's officially obsoleted with
the remark that it will go away.) You can use the lpadmin with \! without
defining lpsystems. For Solaris2.6 and below, you must
do the lpsystem part.
Thus, the quick and easy way to do a remote printer on
Solaris7/8 is lpsystem -p pr -s server\!pr <extra flags...>
(naturally, you only need the \ if you are using a shell
with command history like bash or ksh or csh, and you
only need to specify the printer name again if it is
different than the local printer name)
--
____________________________________________________________________________
Doug Hughes Engineering Network Services
System/Net Admin Auburn University
[EMAIL PROTECTED]
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------