I have a HPLJ4 printer connetcted to Linux. This printer is configured with PS filter via ghostcript and all programs print PostScript to this printer. Everything works fine when printing PostScript from Linux. This printer is also shared via samba to windows network. The problem is: when printing PostScript from Windows via samba something does not recognize that this is PostScript and I see just PostScript text printed. GhostScript either not called or does not recognize that this is PostScript. In the same time when I save PostScript output of windows program to a file tmp.ps and then give lpr tmp.ps command on Linux the file is printed OK, ghostscript successfully converts PS to HP printer PCL.
Do you have "postscript = true" set in the relevant section of your /etc/smb.conf configuration file?
I tried postscript=true option. It works with it, but this option requires one to put every printer to smb.conf I can not just export all printers as it was before, because postscript=true option screws up non-PostScript printing when set globally. In general case it may be better to configure samba automatically set this option if specific printer is known to be PostScript printer.
I'm closing this, as it seems to be more of a configuration issue than a samba bug.