« Previous - Version 4/7 (diff) - Next » - Current version
Thomas Schmid, 04/18/2012 08:52 pm


Epilog Laser on Mac OS X 107

This is not working. For some reason, the printer driver is not generating proper postscript (only with Inkscape...) No idea why.

There is also a python version for this here:

git clone http://www.as220.org/git/cups_fab.git

Download the attached cups-epilog.tar.gz file.

tar -xvzf cups-epilog.tar.gz
cd cups-epilog/src
gcc -o epilog `cups-config --cflags` -funsigned-char cups-epilog.c `cups-config --libs`
sudo mv epilog /usr/libexec/cups/backend/
sudo chown root:wheel /usr/libexec/cups/backend/epilog
sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
sudo launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist

http://localhost:631/admin

add printer

name the printer something that has to do with the material you are cutting

choose device epilog laser

device uri: epilog://<epilogIPhere>/Legend/vs=7/vp=100/r=600/

where:

 * af    Auto focus (0=no, 1=yes)
 * r    Resolution 75-1200
 * rs    Raster speed 1-100
 * rp    Raster power 0-100
 * vs    Vector speed 1-100
 * vp    Vector power 1-100
 * vf        Vector frequency 10-5000
 * sc    Photograph screen size in pixels, 0=threshold, +ve=line, -ve=spot, used
 *          in mono mode, default 8.
 * rm    Raster mode mono/grey/color

make/manufacturer raw

model/driver raw

Adding class

  • Under the Administration tab, click Add Class.
  • Enter a Name, Description, Location and select the Members:
  • # Name = Queue Name (e.g. ZebraRAWClass)
  • # Description = Human Readable Description (e.g. ZebraRaw)
  • # Location = Human Readable Location (e.g. My Mac mini)
  • # Members = the Queue Name of the new raw printer

make rgb postscript (.ps) files with only red (ff0000) and vectors that are .25 px wide

cups-epilog.tar.gz (8.2 MB) Thomas Schmid, 04/18/2012 01:58 pm