print with cutlines export eps

Bug #171468 reported by Meijerjim
2
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

Hello,

I made a new topic becausse I couldn't upload the files.

Cutcontour-inkscape.svg is the drawing

cutcontour-inkscape.eps is the eps export off inkscape

cutcontour-corel.eps is the inported eps file from
inkscape en exported in Corel Designer as eps.

Cutcontour-corel-hairline-spotcolor.eps is the eps
exported file from corel with the correct
CutContourLine ready for the RIP software.

regards
Jim Meijer

Revision history for this message
Meijerjim (meijerjim) wrote :
Revision history for this message
Horkana-users (horkana-users) wrote :

thanks for providing those example files

see also previous report
http://sourceforge.net/tracker/index.php?func=detail&aid=1535816&group_id=93438&atid=604309

Revision history for this message
Meijerjim (meijerjim) wrote :

Hello Horkana,

Is there a solution?

Regards Jim Meijer

Revision history for this message
Bug Importer (bug-importer) wrote :

If I understand you correctly you want to have a spotcolour
named CutContour defined and used in your postscript.

My guess is that you need to add:
%%DocumentCustomColors: (CutContour)
%%CMYKCustomColor: 0 1 0 0 (CutContour)
before "%%EndComments", and change:
1 0 1 setrgbcolor
into:
0 1 0 0 (CutContour) findcmykcustomcolor 1 setcustomcolor

Revision history for this message
Jimmeijer (jimmeijer) wrote :

I've tried what you have sugested and it WORKS correcly.
i've done it on several simple drawings and it works for all!
Thanks.

Some drawings have a lot of cutcontourlines, so it is a lot
of work to change it all.
Can it implemented in inkscape?

Revision history for this message
Bug Importer (bug-importer) wrote :

> Can it implemented in inkscape?

If you are happy with the current "solution" the simplest
would be to automate what you've done manually; add those
lines in the header and change the magic pink stroke colour
to the "cutline" spot colour. Write a small script
operating on stdin/stdout and add an extension .inx file
and you will be done within minutes.

For deeper incorporation in Inkscape it is not really clear
what support for cutlines you need and how you wish to
control them. You started by pointing at Corel and how it
work there.. Some dialogs and changing Id's and stuff? It
is also not clear whether the name or the colour is
important, or maybe both. Frankly, I don't know what your
request is

Revision history for this message
Meijerjim (meijerjim) wrote :

Hello,

To run a script file is not the solution for me.

The out-line color shoult be named "CutContour" and be pink
( rgb = 255,0,255 ). In the same way that you shose a line
color now in inkscape but then the color has a name.

In corel designer I shose the line color a spot color named
CutContour. It is a predefined color. so a color with a
name. It is apearing in a eps file, but is the same when you
print true the printer driver.

The importend thing is that the name in combination with the
pink color is uniek. and it should be apearing in a eps file
 where we talked about it.

In Colrel Designer I have a color box like inkscape.
rgb, cmyk, etc etc, and predefined colors ( spotcolors )
Spotcolors are showing in the heather of a eps file like
your example.

All the rip's software and also Roland Versaworks work with
named or spotcolors. They are treating those colors
differend. Cutcontour is for the Nife who cut the outline
off a drawing in vinyl. But also colors how i use verry
often. For example, I make a lot of stickers for YAMAHA.
They have 5 different background colors. I named the colors
as yamaha-1, yamaha-2 etc in my spotcolor box. The colors
are also predefined in the rip software. When I make in
corel yamaha-1 black, and yamaha-1 is defined in the rip as
bleu. The printer print yamaha-1 as blue on the vinyl.

When the rip software see a color Cutcontour and it is pink
it starts to cut the picture over the lines tha have the
same name and color.

I hope you understand me with my poor english.

I think the solution in inkscape is, a box with spotcolors
and the output in eps or to the printer shoeld have the name
and the color seperated from the others like your example.

regards
Jim Meijer

Revision history for this message
Bug Importer (bug-importer) wrote :

> I think the solution in inkscape is, a box with spotcolors
> and the output in eps or to the printer shoeld have the
name
> and the color seperated from the others like your example.

Yes, that's more or less what I thought.. Your cutlines are
spotcolours. Not more, not less. Spotcolours have been
requested before, and probably more than once. Maybe you
want to make some noise in one of those requests to explain
how spotcolours are also used as cutlines?

Do you think this request can be closed as a duplicate of a
spotcolour request? Or do you see something unique in
cutlines compared to spotcolours?

> To run a script file is not the solution for me.

The script would be run automatically when you save
as "Postscript with CutCountour" (or whatever title you
choose for your extension). If you only use magic-pink for
the cutlines things would simply "work" without effort.
Well.. you would have to save to Ps and send the file to
the printer manually (but that sill sounds much easier than
your wmware+corel story). It could be a plausible work-
around until spotcolours are implemented. I wouldn't know
when/if that is scheduled to happen.

Revision history for this message
Jimmeijer (jimmeijer) wrote :

Hello,

Ok I understand. It is oke when this topic is closed as a
duplicate off spotcolors.

I can not make a script who does it for me, can you?
It is alraydy a great help like this. But I have still the
need off spotcolors. also with inporting the eps in inkscape.
For now it will do with a good script.

Yes I use only pink in combination with CutContour for cutlines.

At the end for me it is nessesery that inkscape has the
spotcolor function. Then the program can give me the
oppertunity to draw 70% off my work in Inkscape, the
programm starts to be a great and good drawing programm.

thanks

Jim Meijer

Revision history for this message
Ulferikson (ulferikson) wrote :

Hmm.. I am terrible with scripting, but I think something
like the attached files will do (a bit of copy and paste
from other inkscape extensions).

Place the two files in Inkscape/share/extensions/ and
restart Inkscape. If everything works you will now be able
to SaveAs "Postscript with CutContour".

You might also be able to use ps2cutline.pl as print
destination in the print dialog. (or perhaps it has to be
modified first for that to work)

What is your problem with eps import? Is that import in
general or import of eps with spotcolours?

Revision history for this message
Bug Importer (bug-importer) wrote :

Did you have a chance to look at the ps2cutline.pl script?
Does it work at all for you? It looks ok to me..

Revision history for this message
Jimmeijer (jimmeijer) wrote :

Hello,

I've tested your script a copple off times and till now it
works fine.

I don't no wy but you changed the extension from EPS to PS.
Why?

The postscript output off inkscape is not working in Corel
desinger of in the rip software Versaworks.
I had to change your script into a EPS output!!!!
Then it was still not working. The first line in the eps
file was "%!PS-Adobe-3.0" and I had to change it in
"%!PS-Adobe-3.0 EPSF-3.0" I changed your PL file to do that
for me. Now I have to lines in the EPS file.
first line - %!PS-Adobe-3.0 EPSF-3.0
secondline - %!PS-Adobe-3.0

This costed me 1 day to find out how
Please change your PL file for me so that has a EPS output
and the first line should be %!PS-Adobe-3.0 EPSF-3.0

I think with this script you solved my problem and make
INKSCAPE a proffesional working program for me.

The EPS output off inkscape is good importing in Corel
Designer and visa versa.

Now I can make more Designs in inkscape, Your help is great.

Thanks

Jim Meijer

Revision history for this message
Bug Importer (bug-importer) wrote :

> I don't no wy but you changed the extension from EPS to PS.
> Why?

I think it was due to a bug/missing feature in Inkscape. I meant to look
at that one day but.. but, it is still not done. Are you still using the
script? Have you seen anything else odd about it besides the ps/eps issue?

Since I have never used a cutter myself I am wondering whether you think
the script could also help in these situations:

RFE 1601136 - Cut directly to cutter/plotter
RFE 1662597 - Please someone make a plugin for plotters and cutters, HPGL

Maybe we should fix the script and post it to the patches section in that
case..

Revision history for this message
Jimmeijer (jimmeijer) wrote :

Originator: NO

Hello,

Nice that you come back on the issue.

Yes I'm still using your script succesfull.

Yes there is one problem with the script.
If I have a drawing wit a PNG picture in it, the script is not working
correctly.
I have to put all the CutContour Lines at the TOP of the drawing, so when
I looke in the eps file I have to put the CutContour lines at the beginning
off the EPS file. The script does something with the PNG files. That no
problem for me when I now it.

I'm verry pleassed with this script and I work no totally with Inkscape!!
Greate Programm. Thanks.

Every grand Printer/Cutter have a postscript RIP. They all work the same
according Adobe Postscript II or III. With this script you are universal.
What is missing ofcours are settings for the line colour etc in this
script. I use ( Rgb 255,0,255 ) that should be a setting, and the name
CutContour also. Some rips are looking at the LINE THICKNES. Then you are
universal as a EPS or PS.

The printing part for A roland printer is PCL and the Cutting part is
HPGL. But they use special codes at the beginning of a PCl or HPGL output.
Its verry hard to find out these codes. The manifactuur will not give those
codes FREE. I my free time I try to find these codes. I have now 70 % off
these codes for my Printer/Cutter.

To make a plugin will be hard.
HPGL output will help some CUTTERS ofcours. For me and many others is a
good EPS or PS essential. XARA for example is a good programm but it makes
verry bad EPS and PS files. Not usefull at all.

To PRINT a document from inkscape in postscript with your script, would be
helpfull.

regards
Jim Meijer

vonHalenbach (lustik)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.