Anthony Wood wrote:

...snip....

> Terry, as far as I can work out, jetdirect cards run an lpd on a
> standard port, so you just set up printing as if it was another
> linux box running lpd/lprng/cups on the standard port.

Hmm, sounds right.
Can anyone give a cluebie on this?

> [EMAIL PROTECTED]:~$ lpr -Php4v /etc/printcap
> Status Information:
> sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
> connecting to 'localhost', attempt 1
> connected to 'localhost'
> requesting printer [EMAIL PROTECTED]
> job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed
>  error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
>  sending str '^Bhp4v' to [EMAIL PROTECTED]
> error msg: 'spool queue for 'hp4v' does not exist on server damselfly.woa.com.au'
> error msg: '   non-existent printer or you need to run 'checkpc -f''
> [EMAIL PROTECTED]:~$ 

checkpc -f does not list any errors.

this is the contents of /var/spool/lpd/hp4v

damselfly:/home/terryc# ls -ld /var/spool/lpd/hp4v
drwx------    2 daemon   lp           4096 Feb  7 08:14
/var/spool/lpd/hp4v
damselfly:/home/terryc# ls -ld /var/spool/lpd/hp4v/*
-rw-------    1 daemon   root            0 Feb  7 08:14
/var/spool/lpd/hp4v/acct
-rw-------    1 daemon   root          187 Feb  7 08:14
/var/spool/lpd/hp4v/general.cfg
-rw-------    1 daemon   root            0 Feb  7 08:14
/var/spool/lpd/hp4v/log
-rw-------    1 daemon   root          338 Feb  7 08:14
/var/spool/lpd/hp4v/postscript.cfg
-rw-------    1 daemon   root            0 Feb  7 08:14
/var/spool/lpd/hp4v/status.hp4v
-rw-------    1 daemon   root          147 Feb  7 08:14
/var/spool/lpd/hp4v/textonly.cfg
damselfly:/home/terryc# 

and this is /etc/printcap


# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be
included.

##LPRNGTOOL## DIRECT ljet4 600x600 a4 {} LaserJet4 Default 1
hp4v
:sd=/var/spool/lpd/hp4v
:ml=0
:mx=0
:af=/var/spool/lpd/hp4v/acct
:lf=/var/spool/lpd/hp4v/log
:cd=/var/spool/lpd/hp4v
:if=/usr/share/lprngtool/master-filter
:lp=/dev/null
:

/etc/printcap (END) 


and /usr/share/lprngtool/master-filter exists.





> cheers,
> Woody
> --
> Anthony Wood <[EMAIL PROTECTED]>
> Switch Online Group
> 
> --
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug

-- 
   Terry Collins {:-)}}} email: terryc at woa.com.au  www:
http://www.woa.com.au  
   Wombat Outdoor Adventures <Bicycles, Computers, GIS, Printing,
Publishing>

 "People without trees are like fish without clean water"
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to