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

Don't filter out USB serial printers #169

Closed
wants to merge 1 commit into from

Conversation

skylarmt
Copy link

@skylarmt skylarmt commented Feb 29, 2024

Many label printers use text-based protocols (ZPLII, EPL, TSPL2, etc) and show up as /dev/usb/lpX.

This allows sending commands to label printers, many of which use text-based protocols (ZPLII, EPL, TSPL2, etc) and show up as /dev/usb/lpX.
@reconbot
Copy link
Member

They're not serial devices though and most of the settings won't work. You should be able to open it as a file and write and read from it. All the parsers and whatnot will work with data from a file stream.

@reconbot reconbot closed this Oct 18, 2024
@skylarmt
Copy link
Author

Sure they aren't always technically "real" serial ports, but it would be nice if they could be discovered and listed with this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants