Hi all! I am having some problems with printing to a windows shared printer over the network. It is a NEC SuperScript 860.
If I do "lpr -Pnec myfile.txt" then the green light goes blink-blink...blink-blink...blink-blink... which means "PCL data left in printer". Pressing the button on the front makes the text print. However, if I attempt to print from lyx then I get what looks like the contents of a dvi to my untrained eye. Does anyone know how I can fix this? I am using lpr, not lprng. Here is my /etc/printcap: -=-=-=-=-=-=-=-=-=-=-=-=-=-=- lp|lj|hplj4l|HP Laserjet 4L:\ :lp=/dev/lp1:sd=/var/spool/lpd/hplj4l:\ :sh:pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/ljet4l-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: nec:\ :lp=/dev/null:sh:\ :sd=/var/spool/lpd/nec:\ :if=/usr/sbin/smbprint: -=-=-=-=-=-=-=-=-=-=-=-=-=-=- The local hplj4l works fine. Here is /usr/sbin/smbprint with a pile of comments removed: -=-=-=-=-=-=-=-=-=-=-=-=-=-=- #!/bin/sh -x logfile=/tmp/smb-print.log ( echo translate echo "print -" cat ) | smbclient "//alpha/NEC" -N -P >> $logfile -=-=-=-=-=-=-=-=-=-=-=-=-=-=- Can anyone help me? Thanks in advance Ian -- Ian Lynagh - [EMAIL PROTECTED] http://home.sol.no/~balchen/igloo/ Multitasking: Screwing up several things at once...