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

Multiple file jobs to remote printers are not printed #2673

Closed
michaelrsweet opened this Issue Jan 16, 2008 · 3 comments

Comments

Projects
None yet
1 participant
@michaelrsweet
Copy link
Collaborator

michaelrsweet commented Jan 16, 2008

Version: 1.3.5
CUPS.org User: h.blischke

Multiple file jobs ro remote printers (which are known by browse messages from the remote server) are not printed; the IPP backend gets not even started.

Single file jobs are processed as expected.

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 23, 2008

CUPS.org User: mike

OK, I've confirmed this, though I'm not sure why it isn't doing the right thing...

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 23, 2008

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 23, 2008

"str2673.patch":

Index: scheduler/job.c

--- scheduler/job.c (revision 7247)
+++ scheduler/job.c (working copy)
@@ -2527,7 +2527,7 @@
"[Job %d] Unable to convert file %d to printable format!",
job->current_file, job->id);
cupsdLogMessage(CUPSD_LOG_INFO,

  •                  "Hint: Do you have ESP Ghostscript installed?");
    
  •                  "Hint: Do you have Ghostscript installed?");
    

    if (LogLevel < CUPSD_LOG_DEBUG)
    cupsdLogMessage(CUPSD_LOG_INFO,
    @@ -3357,7 +3357,7 @@

    if (strncmp(printer->device_uri, "file:", 5) != 0)
    {

  • if (job->current_file == 1)

  • if (job->current_file == 1 || printer->remote)
    {
    sscanf(printer->device_uri, "%254[^:]", method);
    snprintf(command, sizeof(command), "%s/backend/%s", ServerBin, method);

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.