summaryrefslogtreecommitdiffstats
path: root/share/extensions/plotter.py
diff options
context:
space:
mode:
authorSebastian Wüst <sebi@timewaster.de>2013-11-10 15:36:52 +0000
committerSebastian Wüst <sebi@timewaster.de>2013-11-10 15:36:52 +0000
commit31200d3808485f03fdd4606a22674a3e085e6cdf (patch)
treeeb32f7be4fdd08c9424d1467ed89d6e56ffcaf10 /share/extensions/plotter.py
parentfixed and optimized pyserial usage, added dmpl support, small stuff (diff)
downloadinkscape-31200d3808485f03fdd4606a22674a3e085e6cdf.tar.gz
inkscape-31200d3808485f03fdd4606a22674a3e085e6cdf.zip
fixed dmpl init sequence
(bzr r12788)
Diffstat (limited to 'share/extensions/plotter.py')
-rw-r--r--share/extensions/plotter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/plotter.py b/share/extensions/plotter.py
index e1d20c01b..d2ca75fb3 100644
--- a/share/extensions/plotter.py
+++ b/share/extensions/plotter.py
@@ -102,7 +102,7 @@ class MyEffect(inkex.Effect):
self.hpgl = self.hpgl.replace(';', ',')
self.hpgl = self.hpgl.replace('PU', 'U')
self.hpgl = self.hpgl.replace('PD', 'D')
- self.hpgl = re.sub(r'IN,SP([0-9]{1,2}),', r';:HAEC1L0P\1', self.hpgl)
+ self.hpgl = re.sub(r'IN,SP([0-9]{1,2}),', r';:HAL0P\1EC1', self.hpgl)
self.hpgl += 'Z'
# send data to plotter
mySerial = serial.Serial()