<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Split a PDF into separate files containing colour and B&amp;W pages</title>
	<atom:link href="http://rodgers.org.uk/archives/16/feed" rel="self" type="application/rss+xml" />
	<link>http://rodgers.org.uk/archives/16</link>
	<description></description>
	<lastBuildDate>Sun, 15 Apr 2012 19:07:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ed</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11955</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Tue, 20 Dec 2011 16:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11955</guid>
		<description>Thanks for a great script. Can you tell me why  I get this error?
Unrecoverable error: typecheck in .Putdeviceprops</description>
		<content:encoded><![CDATA[<p>Thanks for a great script. Can you tell me why  I get this error?<br />
Unrecoverable error: typecheck in .Putdeviceprops</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Youmans</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11435</link>
		<dc:creator>Jason Youmans</dc:creator>
		<pubDate>Thu, 20 Jan 2011 05:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11435</guid>
		<description>Thanks for the great tool.  I looked through many commercial prepress solutions and could not find anything close to this functionality.  BTW, if anyone needs to run this tool in a high volume/batch mode with a need to suppress the gs output, simply add the following to the list of gs arguments (in pdfcolor.c):
 
    gsargv[4] = &quot;-dQUIET&quot;;

You then have to adjust all subsequent indexes since arg4 is injected after arg3.</description>
		<content:encoded><![CDATA[<p>Thanks for the great tool.  I looked through many commercial prepress solutions and could not find anything close to this functionality.  BTW, if anyone needs to run this tool in a high volume/batch mode with a need to suppress the gs output, simply add the following to the list of gs arguments (in pdfcolor.c):</p>
<p>    gsargv[4] = &#8220;-dQUIET&#8221;;</p>
<p>You then have to adjust all subsequent indexes since arg4 is injected after arg3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11406</link>
		<dc:creator>Iain</dc:creator>
		<pubDate>Fri, 19 Feb 2010 06:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11406</guid>
		<description>If anyone has trouble with pdfcolour, they could try my attempt, which doesn&#039;t need compiling, but does require both pdftk and gs to be installed:
http://www.cs.toronto.edu/~murray/code/#pdfcolorsplit</description>
		<content:encoded><![CDATA[<p>If anyone has trouble with pdfcolour, they could try my attempt, which doesn&#8217;t need compiling, but does require both pdftk and gs to be installed:<br />
<a href="http://www.cs.toronto.edu/~murray/code/#pdfcolorsplit" rel="nofollow">http://www.cs.toronto.edu/~murray/code/#pdfcolorsplit</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11399</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Tue, 03 Nov 2009 13:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11399</guid>
		<description>Dear Victoria,

My program won&#039;t help you with this, but I&#039;m sure you can use a similar idea by writing a program that classifies pages as &quot;black&quot; if they have less than some threshold amount of other colours in the scans.

Judging by your email address, your colleagues probably know far more about this than I do!

With best wishes,

Chris.</description>
		<content:encoded><![CDATA[<p>Dear Victoria,</p>
<p>My program won&#8217;t help you with this, but I&#8217;m sure you can use a similar idea by writing a program that classifies pages as &#8220;black&#8221; if they have less than some threshold amount of other colours in the scans.</p>
<p>Judging by your email address, your colleagues probably know far more about this than I do!</p>
<p>With best wishes,</p>
<p>Chris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victoria Lee</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11398</link>
		<dc:creator>Victoria Lee</dc:creator>
		<pubDate>Tue, 03 Nov 2009 13:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11398</guid>
		<description>Hi

I need to scan a document containing a mixture of colour and black pages.  The black pages need to be black only in the PDF, not a mixture of CMYK or when they are printed on a colour printer, they will be printed using a mixture of CMYK toner, not just black toner.

Any ideas?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I need to scan a document containing a mixture of colour and black pages.  The black pages need to be black only in the PDF, not a mixture of CMYK or when they are printed on a colour printer, they will be printed using a mixture of CMYK toner, not just black toner.</p>
<p>Any ideas?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11387</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 17 Aug 2009 17:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11387</guid>
		<description>I&#039;ve now updated the package available here. It should no longer contain this hard coded path.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve now updated the package available here. It should no longer contain this hard coded path.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11386</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 17 Aug 2009 10:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11386</guid>
		<description>Hi Julien,

Sorry, I forgot to add an instruction to the README file.

You need to edit the path in joinPDF and splitPDF from

joinPDF:java -cp /home/stieltjes-p/rodgers/bin/PDF.jar Concat &quot;$@&quot;
splitPDF:java -cp /home/stieltjes-p/rodgers/bin/PDF.jar Split &quot;$@&quot;

to refer instead to the location where you have put the PDF.jar file.

C.</description>
		<content:encoded><![CDATA[<p>Hi Julien,</p>
<p>Sorry, I forgot to add an instruction to the README file.</p>
<p>You need to edit the path in joinPDF and splitPDF from</p>
<p>joinPDF:java -cp /home/stieltjes-p/rodgers/bin/PDF.jar Concat &#8220;$@&#8221;<br />
splitPDF:java -cp /home/stieltjes-p/rodgers/bin/PDF.jar Split &#8220;$@&#8221;</p>
<p>to refer instead to the location where you have put the PDF.jar file.</p>
<p>C.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11384</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Sun, 16 Aug 2009 13:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11384</guid>
		<description>Chris, this tool sounds great but I haven&#039;t been able to use it. When I run it I get the error below. Do you know how to fix it?

Thanks a lot!


Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: Split
Caused by: java.lang.ClassNotFoundException: Split
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Split.  Program will exit.
Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: Concat
Caused by: java.lang.ClassNotFoundException: Concat
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Concat.  Program will exit.
cp: cannot stat `/tmp/splitcolour-9dWqXOW3/colour.pdf&#039;: No such file or directory
Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: Concat
Caused by: java.lang.ClassNotFoundException: Concat
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Concat.  Program will exit.
cp: cannot stat `/tmp/splitcolour-9dWqXOW3/bw.pdf&#039;: No such file or directory</description>
		<content:encoded><![CDATA[<p>Chris, this tool sounds great but I haven&#8217;t been able to use it. When I run it I get the error below. Do you know how to fix it?</p>
<p>Thanks a lot!</p>
<p>Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: Split<br />
Caused by: java.lang.ClassNotFoundException: Split<br />
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br />
        at java.security.AccessController.doPrivileged(Native Method)<br />
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)<br />
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br />
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)<br />
Could not find the main class: Split.  Program will exit.<br />
Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: Concat<br />
Caused by: java.lang.ClassNotFoundException: Concat<br />
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br />
        at java.security.AccessController.doPrivileged(Native Method)<br />
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)<br />
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br />
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)<br />
Could not find the main class: Concat.  Program will exit.<br />
cp: cannot stat `/tmp/splitcolour-9dWqXOW3/colour.pdf&#8217;: No such file or directory<br />
Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: Concat<br />
Caused by: java.lang.ClassNotFoundException: Concat<br />
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br />
        at java.security.AccessController.doPrivileged(Native Method)<br />
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)<br />
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br />
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)<br />
Could not find the main class: Concat.  Program will exit.<br />
cp: cannot stat `/tmp/splitcolour-9dWqXOW3/bw.pdf&#8217;: No such file or directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: me</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11372</link>
		<dc:creator>me</dc:creator>
		<pubDate>Sat, 09 May 2009 10:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11372</guid>
		<description>I forgot to mention &quot;pdftk&quot; as alternative to &quot;joinPDF&quot;.</description>
		<content:encoded><![CDATA[<p>I forgot to mention &#8220;pdftk&#8221; as alternative to &#8220;joinPDF&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: me</title>
		<link>http://rodgers.org.uk/archives/16/comment-page-1#comment-11371</link>
		<dc:creator>me</dc:creator>
		<pubDate>Sat, 09 May 2009 10:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://rodgers.org.uk/archives/16#comment-11371</guid>
		<description>- Perl script
- uses:
 - &quot;pscolor&quot; (C, &quot;using GS DLL as a ps colorpage separator&quot;) by Carsten Hammer
 - &quot;joinPDF&quot; (Java, &quot;Command line tool to join and split PDF files&quot;, for mac) by Gerard Briscoe
- Has hardcoded paths in shell scripts &quot;splitPDF&quot; and &quot;joinPDF&quot;
- Depends on flex
- Depends on libgs-dev
- GNU GPL 2.0

How it works:
split PDF into single pages in temporary location
use pscolor to detect whether color is on the page
reassemble pages with color and pages without color into two pdf files.

Does not work when adjusting said hardcoded paths.

Does not compile with
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

Sorry, not a clue about Perl so if anyone tries to get this going for Ubuntu, you&#039;re on your own.
Look for unstuff to extract joinPDF from its MAC installer.

Also I&#039;m really looking for a way to split black and color into two pdfs so I can run the stack through a laser and then inkjet the images on, so I&#039;m out.. :-)</description>
		<content:encoded><![CDATA[<p>- Perl script<br />
- uses:<br />
 &#8211; &#8220;pscolor&#8221; (C, &#8220;using GS DLL as a ps colorpage separator&#8221;) by Carsten Hammer<br />
 &#8211; &#8220;joinPDF&#8221; (Java, &#8220;Command line tool to join and split PDF files&#8221;, for mac) by Gerard Briscoe<br />
- Has hardcoded paths in shell scripts &#8220;splitPDF&#8221; and &#8220;joinPDF&#8221;<br />
- Depends on flex<br />
- Depends on libgs-dev<br />
- GNU GPL 2.0</p>
<p>How it works:<br />
split PDF into single pages in temporary location<br />
use pscolor to detect whether color is on the page<br />
reassemble pages with color and pages without color into two pdf files.</p>
<p>Does not work when adjusting said hardcoded paths.</p>
<p>Does not compile with<br />
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)</p>
<p>Sorry, not a clue about Perl so if anyone tries to get this going for Ubuntu, you&#8217;re on your own.<br />
Look for unstuff to extract joinPDF from its MAC installer.</p>
<p>Also I&#8217;m really looking for a way to split black and color into two pdfs so I can run the stack through a laser and then inkjet the images on, so I&#8217;m out.. <img src='http://rodgers.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

