Pstoedit with laos support » History » Revision 2
« Previous |
Revision 2/8
(diff)
| Next »
jaap, 2012-08-14 17:53
Pstoedit with laos support¶
We wrote a plugin for pstoedit, called drvlaos.h/cpp, which converts a postscript file into printable data in our SimpleCode format. Thanks to Wolfgang Glunz, author of pstoedit, our driver code is now fairly simple. Most of the work is done by some new features added by Wolfgang in version 3.61Beta of pstoedit.
How it works¶
Pstoedit simplifies the incoming postscript for us. With a user-definable filter, pstoedit creates a PNG image that containts all image data and all vectors that are going to be raster-engraved. What remains is the data that should either be cut or marked.- engraving: bitmap based engraving, left to right
- marking: low power vector lines
- cutting: high power vector lines
User definable filter¶
What is to be cut/marked/engraved can be configured in a configuration file. The file is called laoscfg.ps and should be kept in the pstoedit configuration directory. On Linux, this is usually /usr/share/pstoedit
or /usr/local/share/pstoedit
. The file is in postscript format. It's values can be overwritten in the postscript input file.
- Thin lines (used for marking/cutting): 1pt or thinner (pt = 0,353mm)
- Cutting lines: red thin lines
- Marking color: black thin lines
LaserCuttingSpeed 2
LaserCuttingPower 80%
LaserCuttingFrequency 10000
LaserMarkingSpeed 30
LaserMarkingPower 80%
LaserMarkingFrequency 10000
LaserEngravingPower 30
LaserEngravingSpeed 70
LaserEngravingPPI 120
LaserEngravingInvert False
LaserEngravingMode BW
LaserBoundaryBox True
The postscript file is automatically copied when pstoedit (with LaOS patch) is installed.
Data flow¶
Postscript file + Postscript configuration file => ghostscript > intermediate output > pstoedit backend code ==> output file
Installation¶
Download our latest stable pstoedit version from GitHub:git clone -b laos https://github.com/jrv/pstoedit.git
Note the -b laos, this is the stable version.
./configure
make
make install
Updated by jaap over 12 years ago · 2 revisions