Skip to content

Brother Driver has hard coded file path #43

@sistemicorp

Description

@sistemicorp

public/prism/drivers/brother_ql700/hwdrv_ql700.py has this,

                    # TODO: find the path programmatically
                    # TODO: support multiple printers
                    p = '/dev/usb/lp0'

A new prism computer the path is coming as "lp1", so its not working.
Also

  • Improve error handling in the class when it calls sub-process
  • add a system message to indicate printer has been found
  • consider updating the brother_ql module and see if things still work

The code was written a long time ago.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions