Red Hat Bugzilla – Bug 10277
Problem with samba printing
Last modified: 2008-05-01 11:37:55 EDT
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
In the same time when
I save PostScript output of windows program to a file tmp.ps
and then give
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.