receipt-print-hq / chrome-raw-print

Chrome app to enable raw printing from a browser
MIT License
64 stars 22 forks source link

The printer list does not shows #18

Open santha6693 opened 6 years ago

santha6693 commented 6 years ago

Hi,

I have added our specific vendor and produect id in the manifest.json file but it does not shows printer list.

The details are

{"vendorId": 8086, "productId": 26}, {"vendorId": 8087, "productId": 24}]

mike42 commented 6 years ago

Hi, could you include a screen capture of where you found the vendor & product ID's, so that I can check the conversion and see which OS you are using?

manikandan07081995 commented 6 years ago

screen shot 2018-03-07 at 8 07 39 pmmy printer vendar id {"vendorId": "0x03f0", "productId": "0x322a"}] Selected printer not showing.

{ "app": { "background": { "scripts": ["main.js"] } }, "manifest_version": 2, "name": "Raw print connector", "version": "0.2", "description": "Pass raw data to USB receipt printers", "icons": { "128": "icon_128.png" }, "minimum_chrome_version": "25", "sockets": { "tcp": { "connect": "" }, "tcpServer": { "listen": "" } }, "permissions": ["usb"], "optional_permissions": [ {"usbDevices": [ {"vendorId": "0x03f0", "productId": "0x322a"}] }] }

manikandan07081995 commented 6 years ago

i need this.Kindly give you best.

manikandan07081995 commented 6 years ago

I have converted my vendor id to hexa decimal

mike42 commented 6 years ago

OP has the correct format. Decimal, not hex. Numeric, not string. See chrome api docs if this is unclear.

Note that this app is no longer being developed, see the notice at the top of the README for details of that.