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 (Sleep / Connect / Close) purpose. #33

Open
AnthonyOGorman opened this issue Mar 29, 2023 · 0 comments
Open

Multiple (Sleep / Connect / Close) purpose. #33

AnthonyOGorman opened this issue Mar 29, 2023 · 0 comments

Comments

@AnthonyOGorman
Copy link

Hey,

I have been working on a project to use my SP-3 for a photobooth.
Basically I am running a CUPs server on a separate device (MQ-Quad) which calls a python script calling the functions needed for printing from this api.

Everything is working as intended just trying to speed up the process of printing.
I have noticed a ton of "time.sleep(1)" & myInstax.connect() / myInstax.close().
I'm wondering if a single connect at the start and close at the end of the script will suffice and if the 1 second sleeps in-between are necessary.

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

1 participant