Printing using lpd from linux box to OS/2 box

Printing using lpd from linux box to OS/2 box

Post by Michael Chajkows » Mon, 12 Apr 1999 04:00:00



I currently have two machines connected through a 10baseT network using TCP/IP
and want to print from my RH Linux 5.1 ( kernel v.2.2.4 ) box to my OS/2 Warp
4 FP 9 box using lpd.

My main machine is the OS/2 box, with the Linux box as an experimental
machine, and there is no forwarding between the two net0 and net1 on the OS/2
machine

Note: the Linux box has been upgraded significantly since RH 5.1 was
installed.

First off, is it possible to set up OS/2 Warp 4.0 client to act as a print
server using lpd?  Secondly, if this is possible, how can it be done?

How do I find out what queue to send to from the Linux box?

Thank you for any and all assistance in this matter.

===================================
Network:

LaserJet 6      Lexmark 5700
18MB RAM        Colour Inkjet
   |               |
   |---Toggle------|
       switch
         |
       lpt1
     OS/2 Warp 4 (client)
     64MB RAM
         |
net0    ---    net1
 |              |
Cable          net0
Modem          RH Linux 5.1
( internet )   48MB RAM

===================================

 
 
 

Printing using lpd from linux box to OS/2 box

Post by Douglas C. Grov » Mon, 12 Apr 1999 04:00:00



> I currently have two machines connected through a 10baseT network using TCP/IP
> and want to print from my RH Linux 5.1 ( kernel v.2.2.4 ) box to my OS/2 Warp
> 4 FP 9 box using lpd.

> My main machine is the OS/2 box, with the Linux box as an experimental
> machine, and there is no forwarding between the two net0 and net1 on the OS/2
> machine

> Note: the Linux box has been upgraded significantly since RH 5.1 was
> installed.

> First off, is it possible to set up OS/2 Warp 4.0 client to act as a print
> server using lpd?  Secondly, if this is possible, how can it be done?

> How do I find out what queue to send to from the Linux box?

> Thank you for any and all assistance in this matter.

> ===================================
> Network:

> LaserJet 6      Lexmark 5700
> 18MB RAM        Colour Inkjet
>    |               |
>    |---Toggle------|
>        switch
>          |
>        lpt1
>      OS/2 Warp 4 (client)
>      64MB RAM
>          |
> net0    ---    net1
>  |              |
> Cable          net0
> Modem          RH Linux 5.1
> ( internet )   48MB RAM

> ===================================

This is pretty easy.  First, you need to run lpd on both the Linux and OS/2
boxes.  I
run lpd under inetd on OS/2, it can be started from the command line however.

Share the printers under OS/2.  The share name becomes the queue name under
Linux.  For example, I have a setup much like yours.  I have two printers on one
lpt1 port.  The shares are named PS (postscript) and HP (pcl).  You can use the
redhat printtool to set up the queues on linux.

Let me know how you make out.

Doug

 
 
 

Printing using lpd from linux box to OS/2 box

Post by Brent Borghes » Fri, 16 Apr 1999 04:00:00



> I currently have two machines connected through a 10baseT network using TCP/IP
> and want to print from my RH Linux 5.1 ( kernel v.2.2.4 ) box to my OS/2 Warp
> 4 FP 9 box using lpd.
> My main machine is the OS/2 box, with the Linux box as an experimental
> machine, and there is no forwarding between the two net0 and net1 on the OS/2
> machine

> Note: the Linux box has been upgraded significantly since RH 5.1 was
> installed.

> First off, is it possible to set up OS/2 Warp 4.0 client to act as a print
> server using lpd?  Secondly, if this is possible, how can it be done?

> How do I find out what queue to send to from the Linux box?

OS/2 can run as a LPD server.    On os/2 run LPD.EXE

The queue names are in the printer properties, physical name (View tab).   Or just
look at the directory names in your c:\spool directory.   For each printer on OS/2
you will have a directory in the \spool directory.    On my OS/2 box I have a HP
LaserJet 4000N and its spool directory is c:\spool\HPLaserJ and the LPR queue
linux would print to is: HPLaserJ

Long live OS/2!! :)

Brent

Brent