computerlyrik / dymoprint

Linux Software to print with LabelManager PnP from Dymo
Apache License 2.0
150 stars 51 forks source link

Application does not detect networked printer #116

Open jayjayseal opened 3 months ago

jayjayseal commented 3 months ago

Hi,

I have an issue with the application. If i try to print via USB, this works. But i want to use this using a RPI on a network. I can print to the printer using printf "lol" | lp -o landscape and this works by printing from a remote laptop to CUPS (Dymo 550) connected on a RPI (USB).

But the application (CLI or GUI) cannot find this printer and error's out with the following error. `$ dymoprint -qr qrencoded "qr_txt" No Dymo devices found (expected vendor 0x922)

maresb commented 3 months ago

Ya, currently only printing via USB is supported. However thanks to the recent work of @tomers I think we're getting close to being able to work with networked printers.

If i try to print via USB, this works.

Does it work for you with dymoprint, lp, or both? I'm asking because we don't have confirmation that the 550 is compatible. See #44.

jayjayseal commented 3 months ago

The Dymo SDK is a mess. But you can get it working with this SDK. Will post details later.

jayjayseal commented 3 months ago

OK, here i go. (I have the lablelwriter 500 (usb only)

The reason behind me telling the SDK is a mess is the following:

It will work for printing then.

jayjayseal commented 3 months ago

Does it work for you with dymoprint, lp, or both? I'm asking because we don't have confirmation that the 550 is compatible. See #44.

If i use lp it works for printing, if i print a test page it also fit's it nicely on 1 label. dymoprint or dymoprint_gui gives the same error not being able to find the printer.

maresb commented 3 months ago

Dymoprint without modification won't recognize the 550 since it's not registered in our list of supported products.

You can do a development install and add it yourself. To get the device id which is the key in the dict, just run lsusb and you should see a line like:

Bus 001 Device 012: ID 0922:1001 Dymo-CoStar Corp. LabelManager PnP

Here 0922 is the vendor ID of Dymo, and 1001 is the device id for the LabelManager PnP.

jayjayseal commented 3 months ago

Bus 001 Device 006: ID 0922:0028 Dymo-CoStar Corp. DYMO LabelWriter 550

For anyone referring in the future

tomers commented 3 months ago

@jayjayseal, I recently got A DYMO LavelWriter 550 printer, and hopefully I will be able to add support for that model in the near future.

melroy89 commented 1 week ago

@jayjayseal, I recently got A DYMO LavelWriter 550 printer, and hopefully I will be able to add support for that model in the near future.

I'm actually planning to buy a LabelPrinter 550. I hope there is support already.

In the meanwhile there is an official driver from Dymo themselves: https://github.com/dymosoftware/Drivers