Cad.py: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
USB settings for CAMM
No edit summary
Line 32: Line 32:
  epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -'
  epi: 'lpr -Plaser "file"; sleep 15; lprm -Plaser -'
  ps: 'lpr "file"'
  ps: 'lpr "file"'
[[Category:Software]]

Revision as of 09:51, 20 June 2011

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"'