LAOS CUPS driver installation under Mac OSX 10.7

This was only tested on Mac OSX 10.7
if you use an other version of Mac OSX just give it a try

Before you start

Requirements :

You will need Apples Xcode + Apple's Command Line Developer Tools

read, that should provide you with all you need


If you have macports or homebrew installed make shure your PATH variable lists

/usr/bin /bin /usr/sbin /sbin before any other bin or sbin directories

example macports

$ echo $PATH
$ export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/user/bin/:/Users/user/bin/"

if you want to check against which libraries your programm has been linked use

$ otool -L <binary>

make shure that you don't link against /opt/local/lib, this is a macports library path and shouldn't be used if you want to
have a native OSX installation

if you run in problems with the linking use

$ LDFLAGS="-L/usr/lib" ./configure

that will force the linker to search /usr/lib first.

Installation of dependencies and laos-cups


read first

$ wget
$ tar -xvzf ghostscript-9.06.tar.gz
$ cd ghostscript-9.06
$ ./configure
$ make
$ sudo make install


the OSX tftp client doesn't work with cups-laos, install the extended version

$ wget
$ tar -xvzf tftp-hpa-5.2.tar.gz
$ cd tftp-hpa-5.2
$ ./configure --without-ipv6
$ make

backup the original, and install tftp-hpa

$ sudo cp /usr/bin/tftp /usr/bin/tftp.orig
$ sudo cp tftp/tftp /usr/bin/tftp


after ghostscript is installed pstoedit will compile

$ git clone -b laos
$ cd pstoedit
$ ./configure
$ make
$ sudo make install

cups-laos cups backend + ppd

$ git clone
$ cd Softwate/cups-laos/src
$ make
$ sudo cp cups-laos /usr/libexec/cups/backend/
$ sudo chmod 755 /usr/libexec/cups/backend/cups-laos

read section "Installing PPD Files"

$ sudo mkdir /Library/Printers/PPDs/Contents/Resources/en.lproj
$ sudo cp CUPS-LAOS.ppd /Library/Printers/PPDs/Contents/Resources/en.lproj
$ sudo chmod 755 /Library/Printers/PPDs/Contents/Resources/en.lproj/CUPS-LAOS.ppd

Install the laser cutter under CUPS

now you can add a laser cutter eader trough http://localhost:631
or OSX System Preferences -> Printer -> + -> cups-laos


Bug: device URI can't be changed while installing laser cutter in CUPS admin panel

Connection is allways "cups-laos://" and can only be changed
by editing /etc/cups/printers.conf

search for

DeviceURI cups-laos://

and replace with the destination of your laser cutter

"wget: command not found"

if you are not using macports or homebrew but have already Apples Xcode + Apple's Command Line Developer Tools installed,
you can install wget with

$ curl -o wget-latest.tar.gz
$ tar xzf wget-latest.tar.gz
$ cd wget-x.y.z # Directory that where compressed in the latest archive, for example wget-1.11.4.
$ ./configure
$ make
$ sudo make install

otherwise just download the sources with your browser

Updated by m.winkler over 11 years ago ยท 10 revisions