Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Joe Spanicek <joe@resptk.bhp.com.au>
To: shfung@direct.ca
Subject: Re: LPD/LPR problem
Date: 1997/02/06	[thread overview]
Message-ID: <32F933C2.41C6@resptk.bhp.com.au> (raw)
In-Reply-To: 5co81g$2ai$1@aphex.direct.ca


Simon H. P. Fung wrote:
> 
> Hello:
> 
> Could someone show me how to setup my Digital UNIX 4.0 box to print to a HP
> printer which is connected to the LAN via a HP JetDirect print server?
> 
> We are able to assigned an IP address to the HP JetDirect print server by
> BOOTP. We can ping the print server.
> 
> Our /etc/printcap file contains the following lines:
>         HPJetDirect:\
>                 :ct=remote:\
>                 :mx#0:\
>                 :lp=:\
>                 :rm=192.9.201.8:\
>                 :rp=text:\
>                 :sd=/usr/var/spool/HPJetDirect:\
>                 :lf=/usr/var/spool/HPJetDirect/HPJetDirect.log:
> 
> The spooling directory has the following characteristics:
> drwxrwxr-x 2 daemon daemon      8192    Jan 28  16:53   HPJetDirect
> 
> We tried to use the commands "lpr -PHPJetDirect test.pag" and "lp
> -dHPJetDirect test.pag" to print to the printer. Nothing was printed.
> 
> In lpc (status) we get the following display:
> HPJetDirect:
>         printer is on remote host 192.9.201.8 with name text
>         queuing is enabled
>         printing is enabled
>         2 entries in spool area
>         Tues Jan 28 16:33:20 1997: waiting for 192.9.201.8 to come up
> 
> Please advise and any pointers are appreciated.
> Thanks.

This is my printcap entry:
I set it up using the GUI Printer Setup in DU4.0

# HP1600CM Color Postscript DeskJet printer
lp1|1|color:\
        :lf=/usr/adm/lp1err:\
        :lp=:\
        :mx#0:\
        :rm=qmpcolor:\
        :rp=RAW:\
        :sd=/usr/spool/lpd1:\
        :sh:

You may want to try 'rp=RAW' - the printer should be able to distinguish
whether it is plain text or postscript.

rm: is the name of the printer in Host file, try putting this instead
of the IP address.

Also go into 'lpc' and do a 'restart all'. See if this brings the
printer spool to life.

Joe



  reply	other threads:[~1997-02-06  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-29  5:00 LPD/LPR problem Simon H. P. Fung
1997-02-06  5:00 ` Joe Spanicek [this message]
1997-02-07  5:00   ` Philip Sterne
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox