Graphics, Figures & TablesPrinter requires entire PDF File in CMYK

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Printer requires entire PDF File in CMYK

Post by insipidtoast »

My printer said the entire PDF file needs to be in the CMYK color space...not just the images in the file. So, I'm wondering if entering the following command into my preamble and then saving the document as a PDF will accomplish the task?

Code: Select all

\usepackage[cmyk]{xcolor}
If not, what should I do?

I'm worried the above won't work, because I've been reading on tex forums about how people still checked to see if the output was CMYK, but it still said RGB even after they entered their commands. In general I've been reading that many people have had trouble making sure their entire latex produced pdf is in the CMYK color space. Some sources say that black gets messed up. Will the black text in my book be OK?
http://latex-my.blogspot.com/2010/02/cm ... nting.html
https://groups.google.com/forum/?fromgr ... UNIJvoKDqw

It's also unfortunate that no one responded to this post:
http://latex-community.org/forum/viewto ... =5&t=11689
-because I'm asking essentially the same question.
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Re: Printer requires entire PDF File in CMYK

Post by insipidtoast »

anyone?
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Printer requires entire PDF File in CMYK

Post by nlct »

I've fixed jmakepdfx (v0.3b) so that it now works under windows. That should convert an RGB pdf to CMYK. It may take a day or so for the new version to propagate through the CTAN mirrors.

Regards
Nicola Talbot
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Printer requires entire PDF File in CMYK

Post by insipidtoast »

OK great. It sounds like this is the answer I was looking for then.

Is there a tutorial to help me figure out how to use it though?
Is it something I would just load into my preamble with some sort of command like,
\usepackage[cmyk]{jmakepdfx}
Last edited by cgnieder on Tue Oct 23, 2012 11:47 pm, edited 1 time in total.
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Printer requires entire PDF File in CMYK

Post by nlct »

insipidtoast wrote: Is it something I would just load into my preamble with some sort of command like,
\usepackage[cmyk]{jmakepdfx}
No, there's no need to modify your LaTeX code. Just create your pdf as usual. Then run jmakepdfx via the start menu. Click on the ellipsis button (...) next to the "Input File" field and select your pdf file. Then select the CMYK radio button. If your printer company doesn't want an ICC file (check with them), uncheck the "Use ICC" button. Then click "Convert". If all goes well, it should create a new pdf file that only has a CMYK profile.

Regards
Nicola Talbot
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Printer requires entire PDF File in CMYK

Post by insipidtoast »

nlct wrote:
insipidtoast wrote: Is it something I would just load into my preamble with some sort of command like,
\usepackage[cmyk]{jmakepdfx}
No, there's no need to modify your LaTeX code. Just create your pdf as usual. Then run jmakepdfx via the start menu. Click on the ellipsis button (...) next to the "Input File" field and select your pdf file. Then select the CMYK radio button. If your printer company doesn't want an ICC file (check with them), uncheck the "Use ICC" button. Then click "Convert". If all goes well, it should create a new pdf file that only has a CMYK profile.

Regards
Nicola Talbot
Wow sounds nice. So let me get this straight, this program will take the place of manually converting each individual image, and going through the lyx document replacing the old, non-coverted images with the new converted images? And it will also replace having to enter the preamble command in my original post?

In short, I will just run the pdf file through your program, and select the custom CMYK ICC color profile I created in Photoshop as per the instructions of my printer, and all the images in the pdf will be converted via that ICC color profile, and the entire pdf document will be read by the printers as being in CMYK mode?
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Printer requires entire PDF File in CMYK

Post by nlct »

insipidtoast wrote: Wow sounds nice. So let me get this straight, this program will take the place of manually converting each individual image, and going through the lyx document replacing the old, non-coverted images with the new converted images? And it will also replace having to enter the preamble command in my original post?
That's right.
In short, I will just run the pdf file through your program, and select the custom CMYK ICC color profile I created in Photoshop as per the instructions of my printer, and all the images in the pdf will be converted via that ICC color profile, and the entire pdf document will be read by the printers as being in CMYK mode?
My printers have been happy with the PDF files I've produced using it. The original RGB images in my books were all successfully converted to CMYK (or greyscale, depending on the book) in the resulting PDF/X file. (Although my printers don't want an ICC profile, so I deselect that option.)

Regards
Nicola Talbot
Post Reply