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

Printing from cups server takes 45 Seconds Between each job #5970

Open
strikeknight57 opened this issue Sep 20, 2021 · 8 comments
Open

Printing from cups server takes 45 Seconds Between each job #5970

strikeknight57 opened this issue Sep 20, 2021 · 8 comments
Labels
investigating Investigating the issue

Comments

@strikeknight57
Copy link

strikeknight57 commented Sep 20, 2021

Ok, so we are trying to replace the HP 4250 Printers in our fleet with newer HP Printers (HP LJ M507). The 4250s have worked just fine for years, but are breaking down. We have attempted to replace a few of them with HP Laserjet M507 Printers, and the cups server does print to it, but upon sending a job to the printer, it takes almost a full minute before it prints the job. Normally that wouldn't be a major issue... but when you are sending 15 single page jobs to the machine every 5-10 minutes... that minute wait time between each job really starts to add up... Has anyone been able to find a work around to cut the processing time down? What do I need to do to find the source of the problem?

@michaelrsweet
Copy link
Collaborator

@strikeknight57 It would be useful to know what driver you're using, what version of CUPS you are using, what operating system you are using, etc.

Also, can you attach the PPD file and error_log file showing a job printing to this printer?

@michaelrsweet michaelrsweet added the investigating Investigating the issue label Sep 22, 2021
@strikeknight57
Copy link
Author

The Server is running Ubuntu 16.04.5 running cups 2.1.3
I've tested a number of different drivers from the "generic PDF" driver to the "HP LaserJet M507, driverless, cups-filters 1.27.4 (grayscale)" driver. They all print just fine, but it takes 40 to 75 seconds for each print to actually come out...
Funny enough the driver I've had the best luck with is the generic PDF driver.

Where would I find the PPD File and error log File?

@michaelrsweet
Copy link
Collaborator

You will find the PPD file in /etc/cups/ppd. The error_log file is in /var/log/cups.

It will be useful to have debug logging enabled - use "cupsctl --debug-logging" to enable it and then print some jobs.

@strikeknight57
Copy link
Author

Ok here are those files and the error log is from after having printed a bunch of test pages. I did change the driver half way through from the driver I was on previously to the generic pdf Driver.
error_log.txt
ppd.txt

@jschwender
Copy link
Contributor

If you set up the queue connection with ipp:https:// can you test adding this option to it: ?waitprinter=false
if you set up the connection using JetDirect port 9100 for a test, does that speed up things?

@strikeknight57
Copy link
Author

@jschwender Tried both of those things and they both ended up taking about 56 seconds in order to print. This is all with the generic PDF driver.

@zwj04035
Copy link

I seem to have a similar issue: when printing to my Samsung C480W Laserprinter, the first print is fast and ok, when I try to print the next document, I receive (using LibreOffice) an error saying "Printer not available - please check printer configuration" (which I did many times without finding anything suspicious to me), but when I then try agaib to print the same document, after clicking "Print" I have to wait long time (I would estimate about a minute) until the print menu appears, where i can choose the printer, number of pages etc., and now everything works as it should. Then everything repeats again, I can only print on every second attempt, independent of the file I am using.
Kubuntu 20.04, do not know how to find CUPS version, but everything is permanently updated.
Thank you for any help, this is going to drive me crazy....
Joe

@rmv5004
Copy link

rmv5004 commented Mar 25, 2024

I had similar slow down issues that ended up being a DNS issue. Even though my printer was local CUPS kept converting the address to use DDNS. Very annoying.

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

No branches or pull requests

5 participants