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

Problem on printing with compression=on to a remote ipp-printer #2009

Closed
michaelrsweet opened this issue Oct 5, 2006 · 6 comments
Closed
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2.4
CUPS.org User: ddaoulas

Operating System: Fedora Core 5, kernel-version 2.6.17.1

When i try to print to a remote ipp printer with compression=on,
i get the error "Unable to add decompression filter - Resource
temporarily unavailable"
or
"Unable to add decompression filter - No such file
or directory"

I attach the error_log ouput.

Thank you in advance.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: ddaoulas

I forgot to mention that both machines are running CUPS 1.2.4

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Please attach the config.log file from your build - it sounds like the gziptoany filter is not being found, but we'll need to know how the software was built to be sure.

If you are using the standard FC5 packages, please report this problem to Red Hat as we don't provide Linux support here...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: ddaoulas

Thanks for your response. I'm sending you then config.log .
The gziptoany filter is (i think) properly placed in /usr/lib/cups/filter

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

OK, the problem will only happen when printing raw files (no other filters).

The attached patch will fix it...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

D'oh! Here is the patch...

@michaelrsweet
Copy link
Collaborator Author

"str2009.patch":

Index: job.c

--- job.c (revision 6027)
+++ job.c (working copy)
@@ -2618,6 +2618,9 @@
* Add gziptoany filter to the front of the list...
*/

  • if (!filters)

  •  filters = cupsArrayNew(NULL, NULL);
    

    if (!cupsArrayInsert(filters, &gziptoany_filter))
    {
    cupsdLogMessage(CUPSD_LOG_ERROR,
    @@ -2645,6 +2648,9 @@

    • Add port monitor to the end of the list...
      */
  • if (!filters)

  •  filters = cupsArrayNew(NULL, NULL);
    

    if (!cupsArrayAdd(filters, &port_monitor))
    {
    cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to add port monitor - %s",

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

No branches or pull requests

1 participant