Will Lowe wrote: > > This DOES work: > 1) make some windows thing (ie. MS Word) print to a file > 2) ftp the file to the linux host in BINARY mode > 3) killoff lpd > 4) become user "lp" > 5) do "cat filename > /dev/lp1" > > it prints just fine this way (even with all the crazy control characters > at the front). > > But the default magicfilter option for text files is to run them through > "djscript", and they don't print right that way. Is there any way (other > than having a 255-character string in /etc/magicfilter/dj550c-filter) to > get magic to recognize this as a weird form of PJL and just cat it? >
The solution then is to set up a printer in printcap that does not use magicfilter but instead just passes the raw data straight to the printer. Then use this printer as the share printer exported by samba. Windows is already taking care of all the formatting, printer definition, etc. via the printer driver. All samba has to do is pass it on to the printer without trying to process it. Brian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]