Changes

BeagleBone

213 bytes added, 23:58, 16 April 2014
Oki Data Microline 320/1Turbo
*plug in Sabrent usb to parallel adapter
*should show up in device tree as: /dev/usb/lp0
*echo arbitrary text to lp0from bash shell:
<syntaxhighlight lang="bash">echo "I didn't realize it could be so fast" > /dev/usb/lp0</syntaxhighlight>
*print to lp from python:
<syntaxhighlight lang="bash">lp = open("/dev/lp0","w")
lp.write("Hello World!\n")
lp.close()</syntaxhighlight>
http://rosettacode.org/wiki/Hello_world/Line_printer#Python
==CUPS on beaglebone==
*Install CUPS: