Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backends not working after updating to Mac OS 10.6.8 #3875

Closed
michaelrsweet opened this issue Jun 28, 2011 · 5 comments
Closed

Backends not working after updating to Mac OS 10.6.8 #3875

michaelrsweet opened this issue Jun 28, 2011 · 5 comments
Labels
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

@michaelrsweet michaelrsweet commented Jun 28, 2011

Version: 1.4.7
CUPS.org User: juankbyo

I am a software support analyst for Xerox (E) Ltd.

We have detected that after updating Mac OS to version 10.6.8, CUPS 1.4.7 backends fail to send jobs to any network printer. We have tested lpd, socket and ipp connections, and with several manufacturers' drivers (Xerox, HP, Epson) and models.

Even using the generic PS and PCL drivers it is not possible to print anything to a networked printer. All jobs, test pages included, produce
the same result: a backend error in CUPS, and a "printer paused" status in the printer queue that cannot be changed unless the job is deleted first.

Any system running Mac OS 10.6.7 and using CUPS 1.4.6 works correctly with the same models.

We have managed to restore connection to the printers by resetting the print system, followed by fixing the disk permissions and then rebooting the mac. In some cases this entire process had to be performed twice.

Restoring a backup copy of the backend folder from TimeMachine fixes the issue too.

For some printers we also had to modify the SNMP traps for read and write to "Public" and "Private" (both with capital "P") to enable the connection.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jun 29, 2011

CUPS.org User: mike

A fix for this was already applied in CUPS 1.5 but never made it into the 1.4 branch. Patch attached.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jul 1, 2011

CUPS.org User: juankbyo

Mike,

the problem that I have described (queue pausing due to backend problem) was not present in 1.4.6. This is a regression caused by 1.4.7, and as such we are expecting a patch to be provided by Apple via Software Update that customers can install themselves.

Is this happening? If so, when?

In the last two days we have received calls from many of our customers unable to print from any Mac they have updated to 10.6.8, whereas the systems running 10.6.7 (and thus using CUPS 1.4.6) work perfectly. These problems affect a very wide range of printer models and makes.

For the moment we are providing workarounds changing (or fully deactivating) SNMP options in our models, but this is not a long-term solution.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jul 1, 2011

CUPS.org User: mike

Juan,

Please work through Paul Danbold (danbold@apple.com) at Apple for Mac OS X issue - this cups.org bug will only track an eventual cups.org update, and any Mac OS X update will need to be coordinated directly through Apple and Paul (and he will likely advise you to file a bug through bugreport.apple.com)

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jul 6, 2011

CUPS.org User: mike

Tentatively committed to 1.4 branch in preparation for a quick 1.4.8 bugfix release.

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Jul 6, 2011

"str3875.patch":

Index: backend/snmp-supplies.c

--- backend/snmp-supplies.c (revision 9845)
+++ backend/snmp-supplies.c (working copy)
@@ -233,7 +233,10 @@

 for (i = 0, ptr = value; i < num_supplies; i ++, ptr += strlen(ptr))
 {
  •  percent = 100 \* supplies[i].level / supplies[i].max_capacity;
    
  •  if (supplies[i].max_capacity > 0)
    
  • percent = 100 * supplies[i].level / supplies[i].max_capacity;

  •  else
    
  •    percent = 50;
    

    if (percent <= 10)
    {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.