[Samba] pdf documents do not print from windows client on samba/cups print server

Andre Kerstens kerstens at scripps.edu
Thu Feb 5 17:39:06 GMT 2004


Hello,

I have unsuccessfully been trying to find a solution for the following 
problem:

Since a couple of months I have been running a openldap / cups 1.1.17 / 
samba 2.2.8a server setup with which I am extremely happy. But lately 
after installing an existing HP 4050 laserjet printer in cups and samba 
(with cupsaddsmb and the cups windows drivers), pdf documents will not 
print on this printer. Everything else (txt, doc, images, etc) prints 
correctly. From linux or mac osx workstation using cups directly these 
pdf's can be printed without any problem. The strange thing is also that 
nor the samba log file nor the cups error log file show any errors and 
the cups access and page log files correctly show that the document 
should have been printed, but no paper came out nevertheless.

Because of the fact that pdf's come out successfully printing from mac 
and linux systems, I suspect that the problem lies on the samba side 
somewhere, but I can't figure out where exactly (mostly because of the 
missing log information). Tried out numerous posts on the net regarding 
this subject, but no solution until now. Has anybody seen this behaviour 
before and found a solution for it?

Here are the relevant pieces of configuration as well:

smb.conf:
---------
#
# The printers share: all printers in cups
[global]
         load printers = yes
         printing = cups
         printcap name = cups
         printer admin = administrator @admin

[printers]
         comment = All Printers
         path = /tmp
         public = yes
         guest ok = no
         writable = no
         printable = Yes
         browseable = No

#
# Share for the WinXP printer drivers
[print$]
         comment = Printer Drivers
         path = /home/samba/print_drivers
         browsable = yes
         guest ok = no
         readonly = yes
         write list = root @admin

cups page_log:
--------------
waterman_hp4050 kerstens 311 [05/Feb/2004:09:33:14 -0800] 1 1

cups access_log:
----------------
localhost - - [05/Feb/2004:09:35:38 -0800] "POST / HTTP/1.1" 200 172
localhost - - [05/Feb/2004:09:35:39 -0800] "POST / HTTP/1.1" 200 279
localhost - - [05/Feb/2004:09:35:39 -0800] "POST / HTTP/1.1" 200 200
localhost - - [05/Feb/2004:09:35:39 -0800] "POST / HTTP/1.1" 200 275
localhost - - [05/Feb/2004:09:35:39 -0800] "POST / HTTP/1.1" 200 196
localhost - - [05/Feb/2004:09:35:39 -0800] "POST 
/printers/waterman_hp4050 HTTP/1.1" 200 76743

Let me know if any other information is needed.

Thanks

Andre




More information about the samba mailing list