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

After any print, the printer becomes unresponsive #11

Open
lotar1954 opened this issue Aug 16, 2017 · 3 comments
Open

After any print, the printer becomes unresponsive #11

lotar1954 opened this issue Aug 16, 2017 · 3 comments

Comments

@lotar1954
Copy link

lotar1954 commented Aug 16, 2017

In my Python application, my printer Excelvan HOP-E58 (and other models) becomes unresponsive for about 3-5 seconds after printing something.

In other words, after the print is done, if I try to print something else, I need to wait for those 3-5 seconds before being able to reprint again.

I tried with the following and in both cases, the printer becomes unresponsive afterward.

os.system("lpr -o job-priority=100 -o fit-to-page -o orientation-requested=3 -o media=Custom.58x210mm logo.png")

os.system("lpr -o job-priority=100 -o fit-to-page -o orientation-requested=3 -o media=Custom.58x210mm output.txt")

Is this a normal behavior or is this a bug?
If this is indeed a bug, is there a way to fix it or is there a temporary workaround?

I love these drivers but at the same time, I really need to be able to print my reports right away without me waiting for the printer to become available again (3-5 seconds) between each print.

To reproduce the issue, just print anything and after the print is done, reprint something again right away.

@lotar1954 lotar1954 changed the title After printing something the printer unresponsive After any print, the printer becomes unresponsive Aug 16, 2017
@klirichek
Copy link
Owner

May be a bug.
I am not yet right now looking at the code, but I remember that in one of the issues smbdy mentioned some small fixes. See #5 for example.

@lotar1954
Copy link
Author

The driver that you suggested me to try, is actually much worse. Beside not fixing the unresponsiveness of the printer, it also prints jibberish when I execute the following command.

os.system("lpr -o job-priority=100 -o fit-to-page -o orientation-requested=3 -o media=Custom.58x210mm output.txt")

Please let me know if there are any updates regarding this issue.

@klirichek
Copy link
Owner

I have changes something, but since I've never hit with your problem, I don't know if it helps or not.
However you may try.
(and note, not just filter, but also PPD changed, so need to reinstall both!)

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

No branches or pull requests

2 participants