Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Leonard Rosenthol
ions@lists.sourceforge.net Subject: Re: [iText-questions] Separation color for cut marks Thanks! This is what I ended up with. I can not test this so I don't know if it is correct. PdfContentByte cb = writer.getDirectContent(); cb.setLineWidth( 0.1f ); cb.setColorStroke(new PdfSpotColor( "All", 1f

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Mathias Nilsson
Thanks! This is what I ended up with. I can not test this so I don't know if it is correct. PdfContentByte cb = writer.getDirectContent(); cb.setLineWidth( 0.1f ); cb.setColorStroke(new PdfSpotColor( "All", 1f, new CMYKColor( 1f, 1f, 1f, 1f ) ) , 1f); // MoveTo and LineTo cb.stroke();

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Leonard Rosenthol
Re: [iText-questions] Separation color for cut marks Yes is was this one but Marcus says depending on the RIP. Since this should be printed on any printer world wide I don't know the name. Any other pointers? Markus Meyer wrote: > > Mathias > > look into the manual of your RI

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Mark Storer
::Disclaimer DisCard; > -Original Message- > From: Mathias Nilsson [mailto:wicket.program...@gmail.com] > Sent: Thursday, February 18, 2010 10:57 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Separation color for cut marks > > > > Yes i

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Mathias Nilsson
Yes is was this one but Marcus says depending on the RIP. Since this should be printed on any printer world wide I don't know the name. Any other pointers? Markus Meyer wrote: > > Mathias > > look into the manual of your RIP or printer driver for the exact name of > the spot color needed (prob

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Leonard Rosenthol
] Separation color for cut marks Hi!, My bad. I needed to add the extra x,y to every block in the pdf when I wanted cut marks. Anyway, still have problem with the cut marks lines color. I don't know what press they are printed on. I thought it was a default value or a standard for the cut mark

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Mathias Nilsson
Hi!, My bad. I needed to add the extra x,y to every block in the pdf when I wanted cut marks. Anyway, still have problem with the cut marks lines color. I don't know what press they are printed on. I thought it was a default value or a standard for the cut mark color -- View this message in con

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Leonard Rosenthol
ubject: Re: [iText-questions] Separation color for cut marks I still have a lot of problems with this. I have a A4 page that I need to add crop marks to. I set the trim box to 210x297mm and the pageSize increased by 20 mm. ( for adding the cut marks ) Problem is that the content that is added

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Mathias Nilsson
I still have a lot of problems with this. I have a A4 page that I need to add crop marks to. I set the trim box to 210x297mm and the pageSize increased by 20 mm. ( for adding the cut marks ) Problem is that the content that is added is squezed together -

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Markus Meyer
Mathias look into the manual of your RIP or printer driver for the exact name of the spot color needed (probably "CONTOUR" or "CutContour" depending on the RIP). Then construct a PdfSpotColor with the given name: http://api.itextpdf.com/com/itextpdf/text/pdf/PdfSpotColor.html Regards, Markus

Re: [iText-questions] Separation color for cut marks

2010-02-18 Thread Leonard Rosenthol
Separation color for cut marks Hi, can anyone help me on how to create the correct separation color for cut marks. -- View this message in context: http://old.nabble.com/Separation-color-for-cut-marks-tp27637814p27637814.html Sent from the iText - General mailing list archive at

[iText-questions] Separation color for cut marks

2010-02-18 Thread Mathias Nilsson
Hi, can anyone help me on how to create the correct separation color for cut marks. -- View this message in context: http://old.nabble.com/Separation-color-for-cut-marks-tp27637814p27637814.html Sent from the iText - General mailing list archive at Nabble.com.