On Wed, Jul 04, 2007 at 12:23:40PM +0000, [EMAIL PROTECTED] wrote:
> Hi all:
> Can any one tell me how to get my epson printer to work with emc2???

If this is a USB printer, then you should have success simply by
following the general instructions for Ubuntu
    https://help.ubuntu.com/6.06/ubuntu/desktopguide/C/hardware.html#printers

If this is a parallel port printer, then things are somewhat more
difficult.  When emc2 is installed, the operating system parallel port
driver is deliberately disabled so that no other software can interfere
with a milling machine attached to the parallel port.  If you have a
parallel port you are *not* using to control a machine, determine its
I/O address and change the contents of the file /etc/modprobe.d/emc2 to:
    options parport_pc io=0xNNN
where 0xNNN is the hex I/O address of the parallel port that is not used
by emc.  Remove the existing line of the file; it's what disables the
printer port.

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

Changes you make to the file /etc/modprobe.d/emc2 (including removing
the file altogether) will be retained when you install an upgraded
version of the emc2 package.

Jeff

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