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

Add sleep in sending fragments #624

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aerialist
Copy link

Adding sleep prevents "USBTimeoutError: [Errno 110] Operation timed out".

Description

Tested with

Raspberry Pi with this printer via USB
https://a.aliexpress.com/_oFusnk4

Adding sleep prevents "USBTimeoutError: [Errno 110] Operation timed out".
@@ -13,6 +13,7 @@

import textwrap
import warnings
import time
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, move this import between textwrap and warnings to fix the sorting error.

Copy link
Contributor

@belono belono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After fixing the import sorting it will be OK to me.

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

Successfully merging this pull request may close these issues.

None yet

2 participants