Skip to content

Anyway to get computerId through the printNode client?  #17

@salman-malik

Description

@salman-malik

Hi,
I have the printNode-JS library integrated to my web application, I also have individual machines each connected to a scale and a printer via USB that are all running the PrintNode client as a Windows Service. Is it possible for our web application to get the computerId through the client running on that machine?

We are not able to call localhost:8888/account from the web application to get the computer information because of CORS restrictions

The ComputerConnections call gives us ALL connected computers which makes it hard to differentiate between what machine the client and Web Application are actually running on. We need a way to get the computerId to be able to connect to the proper hardware. This way we know we are only communicating to the hardware running locally on that machine, and not communicating with hardware on other machines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions