On Thu, Jul 05, 2007 at 10:42:36AM -0500, Jon Elson wrote:
> 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.


I strongly suggest someone with a parallel printer use one of these
kinds of USB adapters instead of trying to share a parallel port
between a mill and a printer.

http://www.newegg.com/Product/Product.aspx?Item=N82E16812150015

Or, get another parallel port:

http://www.newegg.com/Product/Product.aspx?Item=N82E16815104211

I think these schemes for sharing the port are bad advice (which Jeff
also said above).  For under $10 you can have your pick of good
solutions instead (I have not tried these particular products, but
I have experience with similar.)


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