Skip to content

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

@AnthonyOGorman

Description

@AnthonyOGorman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions