exciting-io / printer

Tools for exploring the possibilities of "internet of things" printing.
http://exciting.io/printer
MIT License
481 stars 94 forks source link

USB Printer #52

Closed mungle closed 8 years ago

mungle commented 8 years ago

Hello! I get this tiny printer from adafruit (https://www.adafruit.com/products/2751) that have USB connection too but I'm unable to make it works with your project... I edited the /boot/cmdline.txt line changing kgdboc=ttyAMA0,19200 to kgdboc=ttyUSB0,19200 but it didn't works! Any help?

mungle commented 8 years ago

Solved editing the pi-printer.rb In the first lines you can find ttyAMA0. Change to ttyUSB0. Scrolling down you can find def serial here change the serial number

lazyatom commented 8 years ago

You should also be able to provide your custom serial port file descriptor as an argument to Printer.new here. :)