I've never done network printing under Linux, and this is my first
attempt. As you might imagine, it is not working... However, it does seem
to work just fine from a Windows98 host that is running in VMware. I can
ping and telnet the server from the linux console by name or IP, so
connectivity seems assured.

I am running an HP JetDirect 500x server @ 10.0.0.250 ("skinner"), and I
have it configured thusly:

 > /
 
   ===JetDirect Telnet Configuration===
        Firmware Rev.   : J.07.03
        MAC Address     : 00:60:b0:c7:b7:ec
        Config By       : USER SPECIFIED
 
        IP Address      : 10.0.0.250
        Subnet Mask     : 255.255.255.0
        Default Gateway : 10.0.0.250
        Syslog Server   : Not Specified
        Idle Timeout    : 90 Seconds
        Set Cmnty Name  : Not Specified
        Host Name       : SKINNER
 
        DHCP Config     : Disabled
        Passwd          : Disabled
        IPX/SPX         : Enabled
        DLC/LLC         : Enabled
        Ethertalk       : Enabled
        Port[1] Banner page     : Enabled <-
        Port[2] Banner page     : Enabled
        Port[3] Banner page     : Enabled

I can ping the server by name:

root at Homer:/var/spool/lpd# ping skinner
PING skinner.springfield (10.0.0.250): 56 data bytes
64 bytes from 10.0.0.250: icmp_seq=0 ttl=60 time=3.2 ms
64 bytes from 10.0.0.250: icmp_seq=1 ttl=60 time=2.2 ms
64 bytes from 10.0.0.250: icmp_seq=2 ttl=60 time=1.8 ms
64 bytes from 10.0.0.250: icmp_seq=3 ttl=60 time=1.6 ms
 
--- skinner.springfield ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.6/2.2/3.2 ms


Ok, so on to my /etc/printcap file. I have added the following two entries
as per the instructions on HP's site:
(http://www.hp.com/cgi-bin/cposupport/get_doc.pl?SNI=hpjetdirec8150&LC=networking&Tfile=bpj06515)

hptq:\
:lp=:\
:rm=skinner:\
:rp=text1:\
:lf=/var/spool/lpd/hptq.log:\
:sd=/var/spool/lpd/hptq:
 
hprq:\
:lp=:\
:rm=skinner:\
:rp=raw1:\
:lf=/var/spool/lpd/hprq.log:\
:sd=/var/spool/lpd/hprq:

As you will notice, these are two different queues for the same printer:
'hptq' is a text-mode queue, and 'hprq' is a raw-mode queue. I assume that
this does not create any conflicts, but will allow me to print in text or
raw mode by calling the correct queue. However, neither work... if I try
to:

root at homer:# lpd -P skinner xwindows.txt

The job never comes out. Looking in /var/spool/lpd the job it sitting
there:

root at Homer:/var/spool/lpd# ls
cfA026Homer  dfA026Homer  lock  lpd.lock  status

and cat status gives:

root at Homer:/var/spool/lpd# cat status
waiting for hptq to become ready (offline ?)

What is going on here? Why does the printer appear to be offline?


                           -.bill.layer.-
                          
-.those who are talking don't know, and those who know aren't talking.-

           -.frogtown.-     -.minnesota.-      -.u.s.a.-