>anyone know a good document on ncp printing ? becuase i cant seem to print to 
> one of my printers on the novell network. i must have a config error or
> something. maybe someone has a sample script i can compare mine too.    thanks

My scripts are these, but you can read more about it in the printong howto. I
didn't manage to get it to work with different usernames though. 


ljet2p-filter :
# PostScript
0       %!              filter  /usr/bin/gs  -q -dSAFER -dNOPAUSE -r300 -sDEVICE
=ljet2p -sOutputFile=- - -c quit |/usr/bin/lpr -Pnwlj
0       \004%!          filter  /usr/bin/gs  -q -dSAFER -dNOPAUSE -r300 -sDEVICE
=ljet2p -sOutputFile=- - -c quit |/usr/bin/lpr -Pnwlj

# PDF
0       %PDF            fpipe   /usr/bin/gs  -q -dSAFER -dNOPAUSE -r300 -sDEVICE
=ljet2p -sOutputFile=- - -c quit |/usr/bin/lpr -Pnwlj
 

/etc/printcap:
lp|lj|hplj2p|HPLaserjet2P:\
        :lp=/dev/null:sd=/var/spool/lpd/hplj2p:\
        :sh:pw#80:pl#72:px#1440:mx#0:\
        :if=/etc/magicfilter/ljet2p-filter:\
        :af=/var/log/lp-acct:lf=/var/log/lp-errs:
nwlj|nwlj|remoteNWprinterLASERJET:\
        :lp=/dev/null:sd=/var/spool/lpd/nwlj:\
        :sh:pw#80:pl#72:px#1440:mx#0:\
        :if=/var/spool/lpd/nprint-script:\
        :af=/var/log/lp-acct:lf=/var/log/lp-errs:

/var/spool/lpd/nprint-script:

#! /bin/sh
       /etc/init.d/ipx restart
       /usr/bin/nprint -S vpszk -U gyf -P "mypassword" -qQ_STAR_LASER_4 -

Ferenc

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to