Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) Engineering


Topic: Programmatically replacing RGB with Pantone colors
Conf: (P-PDF) Engineering, Msg: 163045
From: uhkeller
Date: 10/24/2007 11:47 PM

Hello,

I have a number of simple, all-vector PDF files generated by the statistics package R. R can only handle RGB color information, however the printing firm needs a particular Pantone spot color. Only (shades of) one Pantone color and black will be used. I am looking for a way to replace the RGB color information in the PDF documents with this Pantone color and black. The RGB color information is easy to change, but I have no idea how to get Pantone colors in there. For example, this part of a stream paints a green rectangle with black border:

Q q 1.44 1.44 429.12 429.12 re W n
0.000 1.000 0.000 rg
0.000 0.000 0.000 RG

How would I go about changing this to, say, Pantone 363? Below you will find the complete R-generated PDF file of the green rectangle.

Thanks in advance for your answers,

Uli

%PDF-1.1
%?????r
1 0 obj
<<
/CreationDate (D:20071024153304)
/ModDate (D:20071024153304)
/Title (R Graphics Output)
/Producer (R 2.6.0)
/Creator (R)
>>
endobj
2 0 obj
<<
/Type /Catalog
/Pages 3 0 R
>>
endobj
5 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F1
/BaseFont /ZapfDingbats
>>
endobj
6 0 obj
<<
/Type /Page
/Parent 3 0 R
/Contents 7 0 R
/Resources 4 0 R
>>
endobj
7 0 obj
<<
/Length 8 0 R
>>
stream

q
Q q 1.44 1.44 429.12 429.12 re W n
0.000 1.000 0.000 rg
0.000 0.000 0.000 RG
0.75 w
[] 0 d
1 J
1 j
10.00 M
17.33 17.33 397.33 397.33 re B
Q
endstream
endobj
8 0 obj
142
endobj
3 0 obj
<<
/Type /Pages
/Kids [
6 0 R
]
/Count 1
/MediaBox [0 0 432 432]
>>
endobj
4 0 obj
<<
/ProcSet [/PDF /Text]
/Font << /F1 5 0 R >>
/ExtGState << >>
>>
endobj
9 0 obj
<<
/Type /Encoding
/BaseEncoding /WinAnsiEncoding
/Differences [ 45/minus 96/quoteleft
144/dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent
/dieresis /.notdef /ring /cedilla /.notdef /hungarumlaut /ogonek /caron /space]
>>
endobj
xref
0 10
0000000000 65535 f
0000000021 00000 n
0000000163 00000 n
0000000589 00000 n
0000000672 00000 n
0000000212 00000 n
0000000295 00000 n
0000000375 00000 n
0000000570 00000 n
0000000754 00000 n
trailer
<<
/Size 10
/Info 1 0 R
/Root 2 0 R
>>
startxref
1011
%%EOF


PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: Li'l Kids available as PDF download

Von Allan, a Canadian artist and graphic novelist, has published his first graphic novel Li'l Kids as both a print version and as a free PDF download. Allan is the latest author to release their work online under the Creative Commons Canada license.

August 21, 2008
Search Planet PDF
more searching options...




PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools enfocus

FileOpen PDFNet SDK: PDF Component. Cross-platform PDF library

PDF Converter: Create, Convert PDF to Word/Excel Solid Documents - PDF to Word Converter

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

Adobe Acrobat & PDF Central Conference 2008

September 23 - 25, 2008 - Minneapolis, Minnesota

Dedicated exclusively to Adobe Acrobat and PDF, the 2008 Adobe Acrobat and PDF Central Conference presents a unique opportunity to broaden your understanding of how PDF technologies can positively affect your business productivity.

Discover the new features of Acrobat 9 and expand your knowledge of PDF technology. Participate in various educational seminars, such as Acrobat Form Fundamentals, Acrobat Security, Creating PDF Portfolios, Scripting with the new Flash Annotation in PDF, JavaScript for Acrobat, and much more.

PDF Store Categories