Another problem: You can have passed the printing data through a driver
twice:
You can either use a printer driver on the server side. Then let Samba
as it is and configure you printer as generic PostScript printer on your
Windows clients. The PostScript is arriving at Samba and passed to CUPS.
CUPS passes the PostScriopt through its printer driver.
Or you use a driver on the client side (Windows driver) and set
print command = lpr-cups -P 0 -o raw
instead of
print command = lpr-cups -P 0
in the [printers] section of your /etc/smb.conf and restart the SMB
daemon.
PostScript --> PCL --> PCL does not work.
Till
jdrash wrote:
>
> I got this working with one minor issue. My printer uses ghostscript
> and I see "%[ LastPage ]%" on a print outs sent via samba or IPP. The
> fix for this is to modify pstogstoraster such that "-sOutputFile='"
> becomes "-sOutputFile='|cat >&3' and last part of gs_options changes
> from "-" to "- 3>&1 >&2"
>
> the question I have is how to do it
>
> jim drash
> <[EMAIL PROTECTED]>
>