hi all,
I am having printer on a win2k machine and I want to use it from my
Debian GNU/linux machine. I have lprng installed. I am using testing
distribution of Debian.
I am giving this command
# lpc - PHPLaserJ -Smansha -Uncstvshi\\pankaj debug
it prints these two lines:
Printer 'HPLaserJ@mansha' - cannot open connection - Connection refused
Make sure the remote host supports the LPD protocol
contents of my /etc/printcap file are:
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:if=/var/spool/lpd/lp/filter:\
:af=/var/spool/lpd/lp/acct:\
:lp=/dev/null:\
:PAPERSIZE=a4:\
:DESIRED_TO=ps:\
:PRINTER_TYPE=SMB:\
:ASCII_TO_PS=YES:\
:GSDEVICE=ljet4:\
:RESOLUTION=600x600:\
:PS_SEND_EOF=NO:\
:NUP=1:\
:RTLFTMAR=18:\
:TOPBOTMAR=18:\
:TEXT_SEND_EOF=YES:
I hava "lprng" package installed and I configured /etc/printcap using
"printtool" package.
I tried test printing using lpr command also but it just quits.
After this lpq gives this message:
# lpq
Printer: lp@ashoka
Queue: no printable jobs in queue
Status: removing job 'cfA993ashoka.ncst.ernet.in' - ABORT at 21:12:07.846
Can any one tell me what is the problem ?
regards
--
Pankaj Jangid
National Centre for Software Technology
Alt-Email-ID : pankaj@ncst.ernet.in
Yahoo-msnger : pankaj_jangid
GPG Public Key : http://ashoka.ncst.ernet.in/~pankaj/gpg.txt
Attachment:
pgpA7MHAcsNyd.pgp
Description: PGP signature