Jeff Epler wrote:
> 
> If you want to share a single parallel port between a CNC machine and a
> printer (a practice I don't recommend), then you can issue the command
>     sudo modprobe -i parport_pc; sudo modprobe lp
> to make printing work, and
>     sudo rmmod lp parport_pc
> to let emc use the port again.  After each reboot, the port will be in
> "emc mode"; you can make it default to "printer mode" by removing the
> file /etc/modprobe.d/emc2
One could put the first sudo command at the end of the emc run 
script, and the second one right at the beginning of the emc 
script.  Then the parallel port would always be in the right 
state for EMC or printing.  You'd still have to swap cables all 
the time, though.

Jon

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to