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

ControlID printer not working #50

Open
samueldurantes opened this issue May 16, 2023 · 0 comments
Open

ControlID printer not working #50

samueldurantes opened this issue May 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@samueldurantes
Copy link
Collaborator

ControlID not working with WebUSB

Error:

"error": {
  "stack": "Error: Failed to execute 'claimInterface' on 'USBDevice': Unable to claim interface."
},

Printer information:

"device": {
  "configuration": {
    "configurationName": null,
    "configurationValue": 1,
    "interfaces": [
      {
        "alternate": {
          "endpoints": [
            {
              "direction": "in",
              "endpointNumber": 1,
              "packetSize": 512,
              "type": "bulk"
            },
            {
              "direction": "out",
              "endpointNumber": 1,
              "packetSize": 512,
              "type": "bulk"
            }
          ]
        },
        "claimed": false,
        "interfaceNumber": 0
      },
      {
        "alternate": {
          "endpoints": [
            {
              "direction": "in",
              "endpointNumber": 3,
              "packetSize": 10,
              "type": "interrupt"
            }
          ]
        },
        "claimed": false,
        "interfaceNumber": 1
      },
      {
        "alternate": {
          "endpoints": [
            {
              "direction": "in",
              "endpointNumber": 2,
              "packetSize": 512,
              "type": "bulk"
            },
            {
              "direction": "out",
              "endpointNumber": 2,
              "packetSize": 512,
              "type": "bulk"
            }
          ]
        },
        "claimed": false,
        "interfaceNumber": 2
      }
    ]
  },
  "manufacturerName": "ControliD",
  "productName": "Print iD - Impressora Térmica não Fiscal",
  "vendorId": 12342,
  "serialNumber": "120100/0085B9"
},

Printer image:

image

@samueldurantes samueldurantes added the bug Something isn't working label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant