Cad.py: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
USB settings for CAMM |
||
Line 18: | Line 18: | ||
editor height: 45 | editor height: 45 | ||
camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' | camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' | ||
rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' | |||
epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -' | |||
ps: 'lpr "file"' | |||
For the CAMM in Vestmannaeyjar, Iceland | |||
we use USB. | |||
window size: 450 | |||
editor width: 45 | |||
editor height: 45 | |||
camm: 'stty 9600 raw -echo crtscts </dev/usblp0; cat "file" > /dev/usblp0' | |||
rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' | rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' | ||
epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -' | epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -' | ||
ps: 'lpr "file"' | ps: 'lpr "file"' |
Revision as of 14:36, 1 April 2010
Cad.py is software that can control machines in the Fab Lab
cad.cfg
window size: 450 editor width: 45 editor height: 45 camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' epi: 'lpr -Plaser "file"; sleep 1; lprm -Plaser -' ps: 'lpr "file"'
For the camm in Norway
window size: 450 editor width: 45 editor height: 45 camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -' ps: 'lpr "file"'
For the CAMM in Vestmannaeyjar, Iceland
we use USB.
window size: 450 editor width: 45 editor height: 45 camm: 'stty 9600 raw -echo crtscts </dev/usblp0; cat "file" > /dev/usblp0' rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0' epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -' ps: 'lpr "file"'