https://qa.mandrakesoft.com/show_bug.cgi?id=505

           Product: samba-server
         Component: program
           Summary: Printing from Windows PC to CUPS printer stopped working
           Version: 2.2.7a-1mdk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Printing from a Windows 98 PC to a CUPS printer (an Epson C80), stopped working
just recently. 

When I attempt the operation, nothing happens and the /var/log/cups/error_log
file contains the following:

######### START LOG EXCERPT #########
I [11/Nov/2002:21:28:18 -0500] Job 98 queued on 'EpsonC80' by 'julio'.
I [11/Nov/2002:21:28:18 -0500] Started filter /usr/lib/cups/filter/pstops (PID 3
537) for job 98.
I [11/Nov/2002:21:28:18 -0500] Started filter /usr/lib/cups/filter/pstoraster (P
ID 3538) for job 98.
I [11/Nov/2002:21:28:18 -0500] Started filter /usr/lib/cups/filter/rastertoprint
er (PID 3539) for job 98.
E [11/Nov/2002:21:30:02 -0500] get_printer_attrs: resource name '/printers/pdf-g
enerator' no good!
E [11/Nov/2002:21:30:02 -0500] get_jobs: resource name '/printers/pdf-generator'
 no good!
######### END LOG EXCERPT #########

I am unable to find where is the 'get_printer_attrs', 'get_jobs', or the
'/printers/pdf-generator' mentioned in the CUPS log.

Recent administration: upgrade of both cups (printer-utils, printer-filters,
etc) and Samba (samba-swat, samba-server, damba-common, etc), per security
advisories.

------- Additional Comments From [EMAIL PROTECTED]  2002-11-12 04:32 -------
Printing from within other Linux hosts in the network, or from the machine to
which the printer is attached, works normally.

------- Additional Comments From [EMAIL PROTECTED]  2002-11-13 14:26 -------
It could be this bug has to do with some internal problem in Samba. The giveaway
words here are "resource" and "pdf-generator". 

If that was true, then the failure scenario that creates the errors reported
could evolve like this
1. Function get_printer_attrs() fails to find the attributes for original
printer I requested (probably something to do with the pathname. Not finding a
printer, the pdf-generator is used as a fallback.
2. Function get_jobs() is failing in a similar manner.

------- Additional Comments From [EMAIL PROTECTED]  2002-11-13 14:28 -------
Mozilla does not allow me to put the correct version of Samba components:
samba-swat-2.2.6-4.1mdk
samba-client-2.2.6-4.1mdk
samba-doc-2.2.6-4.1mdk
samba-server-2.2.6-4.1mdk
samba-common-2.2.6-4.1mdk




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to