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

printer-raw.c: Make the inactivity timeout 2s #339

Closed
wants to merge 1 commit into from

Conversation

zdohnal
Copy link
Contributor

@zdohnal zdohnal commented Feb 12, 2024

60s can be too long for successful transfer - it might be taken as serious performance regression in comparison to raw printing to the device itself or via CUPS.

Let's make it 2s for now - if it causes problems later, we can change it ad-hoc.

60s can be too long for successful transfer - it might be taken as
serious performance regression in comparison to raw printing to the
device itself or via CUPS.

Let's make it 2s for now - if it causes problems later, we can change it
ad-hoc.
@michaelrsweet
Copy link
Owner

Like I said, a real socket printing client closes the socket when it is done sending data. "nc" is a poor man's telnet.

2 seconds is way too short, especially if a lot of processing is happening on the client side to prepare each page (think raw printing for EPSON inkjet printers, which the Gutenprint printer application will want to support...)

@michaelrsweet michaelrsweet self-assigned this Feb 12, 2024
@michaelrsweet michaelrsweet added the wontfix This will not be worked on label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants