Re: K12OS: Printers

Donald J Christensen (djc@cisco.com)
Tue, 12 Feb 2002 11:48:01 -0800


What type of box are you printing from?  If Linux, you could install CUPS
on it and just use ipp.  CUPS will automatically configure the local system
to use the remote printer if you just tell it about the remote server.

Otherwise, the printer server machine can be configured to support LPD.
>From the CUPS docs (try http://192.168.1.1:631):

  Printing from LPD Clients

  CUPS supports limited functionality for LPD-based clients. With LPD
  you can print files to specific printers, list the queue status, and
  so forth. However, the automatic client configuration and printer
  options are not supported by the LPD protocol, so you must manually
  configure each client for the printers it needs to access.

  The cups-lpd(8) program provides support for LPD clients. To enable
  LPD support on your server, edit the /etc/inetd.conf file and add a
  line reading:

     printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd

  The path to the cups-lpd may vary depending on your installation.

  Once you have added this line, send the inetd(8) process a HUP signal
  or reboot the system:

     killall -HUP inetd ENTER [IRIX and some versions of Linux]
     kill -HUP pid ENTER [Others]
     reboot ENTER [For all systems if the HUP signal fails]

(Or, I might add "/etc/init.d/xinetd restart" depending on distro.)

Then configure the client machine appropriately.  Heck, the printer
server might even be already configured this way.

-Don

Julius Szelagiewicz wrote:
> 
> Marvin,
>         the easy and brutal way is to define a remote unix printer on the
> 192.168.1.1 box and print to it with lpr -Pname-of-the remote-printer
> i'm sure that ipp protocol is available in linux, but i have not seen it
> yet
> 
> On Tue, 12 Feb 2002, marvin wrote:
> 
> > I have a printer on another linux box.
> >
> > It`s an hpojr40xi
> >
> > It has been setup using CUPS and the info on the CUPS setups says :-
> >
> > ipp://192.168.1.1:631/printers/hpojr40xi
> >
> > Any ideas how I access this.
> >
> > I`m still using gamma1 of the K12LTSP.
> >
> > Regards...
> >
> > ========================================
> > This message was sent from the K12OS Listserv.
> > For subscription information and archives,
> > see http://www.k12ltsp.org/listserv.html
> > or send mail to pnelson@riverdale.k12.or.us
> >
> 
> ========================================
> This message was sent from the K12OS Listserv.
> For subscription information and archives,
> see http://www.k12ltsp.org/listserv.html
> or send mail to pnelson@riverdale.k12.or.us

--
Don Christensen       Senior Software Development Engineer
djc@cisco.com         Cisco Systems, Santa Cruz, CA
  "It was a new day yesterday, but it's an old day now."

========================================
This message was sent from the K12OS Listserv.
For subscription information and archives,
see http://www.k12ltsp.org/listserv.html
or send mail to pnelson@riverdale.k12.or.us