Convert PDFs to grayscale?
-
Help me convert PDF files that should be grayscale, but are actually in color. I run a print-for-pay shop, and our preferred file format for submitted print jobs is PDF. All of our printers are capable of discerning color pages from grayscale; grayscale pages count as a black click, and a page with even one pixel of color counts as a color click. This generally works fine for us, and documents printed directly from MS Office (Word, Publisher, Excel) print exactly as they should, and PDF files created by MS Office, Open Office, and really just about anything but Adobe products also print exactly as they should; color pages count as color and grayscale pages count as a black click on our printers. The problem is Adobe's apparent inability to produce a truly grayscale PDF. We receive files all the time from graphic designers using In Design and other Creative Suite apps, and in the majority of them, the "black" is not actually K100, it's rich black. This is an issue, as this will make the page count as a color click (as it should). This becomes a huge problem, as there is a large price difference between 10,000 color prints and 10,000 black prints. For the life of me, I cannot get these PDFs converted to a truly grayscale PDF with no C, M, or Y content, just K. I've tried re-"print"ing it using the Adobe PDF printer and selecting "Black and White", I've set my color profile to Gray, and the output file still has rich blacks (and therefore, color content). I've tried running them through Distiller again, with everything I can find set to grayscale. The weird thing is, if I create a color PDF from say Word, and re-process that PDF in the same way (open the color PDF, re-"print" the PDF in black and white), it works perfectly. It's only with documents that were originally created by an Adobe app that just will not convert. I suspect that it's some stupid embedded color profile issue, and we've taken this issue to the Adobe User's Group meetings a couple times and they don't even have an answer. Often the job will involve a color cover page followed by grayscale interior pages, but the PDF will have rich black on the interior pages, which would make them all count as color. My ghetto solution so far has been to use GhostScript (psmono) to convert the PDFs to mono PS files, and then use Distiller to make those back into PDFs. I then take this grayscale PDF, and use the customer's original PDF file to insert color pages where needed. This makes the printers work as intended, the color pages count as color clicks and the now truly grayscale pages count as black clicks, and the customer is happy. It works, sort of, except that this process rasterizes all the pages instead of keeping the text as text (outlines, or whatever its original form was). This makes the files huge, generally 10-15x the size of the original PDF. The minor drawback is that this makes the jobs take forever to RIP on our printers; the major drawback is that because the entire page is rasterized and the text is no longer text, the auto-trapping features on our Fiery controllers are now useless. This is a necessity for several jobs that we run. It's not as easy as just setting our print driver to grayscale, while that does make the pages count as black clicks, it makes everything come out grayscale; obviously this is not an option for jobs with a mix of color and black pages. We also cannot print the grayscale pages separately from the color pages; when printing thousands of sets with intermingled pages it's clear why this is not a solution. tl;dr, Is there a way, using GhostScript or some other tool, to somehow convert a PDF to a truly grayscale output, while keeping the text as text instead of rasterizing the entire page? Is there a parameter for pdfwrite that I can set that will force output to grayscale?
-
Answer:
Ghostscript can do it: $ gs -sDEVICE=pdfwrite -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -sOutputFile=grayscale.pdf color.pdf So can http://www.ehow.com/how_6076580_convert-colors-acrobat-6-pro.html, which is probably a better option, as Ghostscript converted PDFs can be a bit funny sometimes.
xedrik at Ask.Metafilter.Com Visit the source
Other answers
If your clients are working in Adobe InDesign, they can go into the Preferences > "Appearance of Black" to choose to export all blacks accurately (as 100K). If you're able to provide this guideline beforehand, that can at least cut off some of your problems at the source.
Fifi Firefox
Fifi, that was one of the suggestions from the AUG as well, but even with this set, it doesn't always work. Have seen this both from customer's jobs and from our in-house graphic designer trying exactly that. It's not quite what I'm looking for anyway, because many times we don't have access to the source document anymore and our only option is to use the PDF we have. Thanks, though!
xedrik
Beautiful, zsazsa. Just tried both methods. Probably going to make a script to automate the Ghostscript method. Thank you so much! (Gah, I feel stupid now, that was too easy... But why does no one at the Adobe User's Group know this? >.< )
xedrik
Well, shoot... I spoke too soon. It worked for one file I was testing, but neither method works for http://www.xedrik.com/files/Test-Prints_as_color.pdf. It looks to be black, but when printed, counts as a color click. When I try both of zsazsa's methods above, the resulting files still count as a color click. However, if I use my "ghetto method" described above and then convert the resulting .PS output back into a PDF, it produces a black click. Is this maybe some weird embedded color profile thing? Is there a way to strip out profiles from a PDF?
xedrik
You know, it really bothers me that no one knew the answer to this one. I don't claim to know that much about color management, but the more I learn, the more it just seems like a labyrinth or vagueries. It's so frustrating! Looking at that file, the things that stand out are 1) it combines live-text (presumably created with InDesign) with linked images, and 2) the images may have different original color profiles (deep black & contrasty / bluish black & possibly not grayscale), though I of course can't tell that definitively just by looking at the pdf. The fact that the problem is resolved when you essentially rasterize the whole thing in PS suggests that one of these things is the culprit. Are there any common elements among the files that do and do not work? (I know transparency can wreak havoc with this stuff, but that does not seem to be a factor in the file you linked.) Also, this is probably too obvious, but does Acrobat's "Convert Colors" panel (under "Print Production") do any good whatsoever?
Fifi Firefox
Thanks for the reply, Fifi. No, "Convert Colors" doesn't do it. It's really frustrating that even when you set everything to grays, and taking the suggestions that zsazsa made, it still produces a color print. On the sample file that I linked to, it counts as a color click on our machines, and if you look closely at the output page, there is indeed cyan and a hint of yellow there. It's maddening that Acrobat won't do what you're telling it to. It should be as simple as opening the PDF, choosing File, Print, selecting Adobe PDF as the printer, and choosing "Black and White". But no, it still comes out color. I have a job to get out today, and so I'm using my ghetto method, but this is just nuts. There has to be a better way. (I love the Foxit PDF creator, but wtf? no b&w or color output selection? come on...)
xedrik
Related Q & A:
- Where To Convert Mobile Credit?Best solution by software-download.name
- Where To Convert Redtube Videos Online?Best solution by convertfiles.com
- How To Convert Pmd To Word Online?Best solution by pmd.afreecodec.com
- How To Convert Pmd To Pdf Online?Best solution by Yahoo! Answers
- Why won't PDFs open in Google Chrome?Best solution by productforums.google.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.