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

No changes to /dev/usb/lp0 #254

Open
Milk-Cool opened this issue Jun 10, 2024 · 0 comments
Open

No changes to /dev/usb/lp0 #254

Milk-Cool opened this issue Jun 10, 2024 · 0 comments

Comments

@Milk-Cool
Copy link

Hello!

inotifywait --format "[%T] %w%f %e" --timefmt "%Y/%m/%d, %H:%M:%S" -m -e modify,create,delete,move "/dev/usb/lp0" --outfile file-changes.lo does not output anything to file-changes.lo. The code is as following:

let printer = new ThermalPrinter({
  type: PrinterTypes.TANCA,                                  // Printer type: 'star' or 'epson'
  interface: '/dev/usb/lp0',                       // Printer interface
  characterSet: CharacterSet.PC866_CYRILLIC2,                  // Printe
  options:{                                                 // Additional options
    timeout: 5000                                           // Connection timeout (ms) [applicable only for network printers] - default: 3000
  }
});

I've tried multiple different printer types. Printing manually or with gnome's printing utility works.

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

No branches or pull requests

1 participant