Beautiful! thanks! CS
On Mon, Feb 07, 2005 at 10:29:26PM -0800, Carl Lowenstein wrote: > On Mon, 7 Feb 2005 13:20:16 -0800, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Rick > > > > There are a lot of 2 page PDF files, however, printing PDF files > > sounds like a great idea. If I could print 1 page PDFs from the > > command line I could create a script to do the 100s I need > > to do in a snap. > > > > Chris > > > > On Mon, Feb 07, 2005 at 11:56:09AM -0800, Rick Carlson wrote: > > > [EMAIL PROTECTED] wrote: > > > >I know how to make Ghostscript combine PDFs but not sure > > > >how to split PDF file into multiple files each with a single page. > > > > > > > >Anyone know? > > > > > > > >CS > > > > > > Depends on how many pages there are in the original. > > > > > > If there are not that many I would just print each page to a pdf making > > > printer driver individually. > > > > > > If there are a lot I would start with the ghostscript manual and become > > > more familiar with their way of dealing with pdf's. > > > > Excerpt from "man ghostscript": > > You might want to print each page separately. To do this, send the > output to a series of files "foo1.xyz, foo2.xyz, ..." using the > "-sOutputFile=" switch with "%d" in a filename template: > > -sOutputFile=foo%d.xyz > > Each resulting file receives one page of output, and the files are > numbered in sequence. "%d" is a printf format specification; you can > also use a variant like "%02d". > > Acrobat Reader (acroread) also has a command-line interface. Or > consider printing the whole PDF to a PostScript file and then using > psselect(1). This could be a process that takes n^2 time if done > carelessly, but computers are so fast that we don't have to worry > about using them efficiently. (said about Eniac in 1947). > > carl > -- > carl lowenstein marine physical lab u.c. san diego > [EMAIL PROTECTED] > -- > [email protected] > http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list > -- _______________________________________ Christian Seberino, Ph.D. SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A. Phone: (619) 553-9973 Fax : (619) 553-6521 Email: [EMAIL PROTECTED] _______________________________________ -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
