RE: PDF subset?

Subject: RE: PDF subset?
From: "Richard L Hamilton" <dick -at- rlhamilton -dot- net>
To: <salt -dot- morton -at- gmail -dot- com>, <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Fri, 6 Mar 2009 17:51:15 -0700

If you are lucky enough to be using Linux and have
ghostscript on your machine, you can use the following
command line to pull out a range of pages from a PDF:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$output \
-dFirstPage=$startno -dLastPage=$endno $inputfile

Where:
$output = name of the output file
$startno = number of the first page to be extracted
$endno = number of the last page to be extracted
$inputfile = the name of the input file

The \ indicates a continuation; the full command should
be on one line with no \.

You can probably do something similar on a Windows machine
that has ghostscript, but I'm afraid I don't know the exact
incantations for that situation.

Hope that helps.
Richard Hamilton

Managing Writers: A Real World Guide to Managing Technical Documentation
http://xmlpress.net/managingwriters.html

> -----Original Message-----
> From: techwr-l-bounces+dick=rlhamilton -dot- net -at- lists -dot- techwr-l -dot- com
> [mailto:techwr-l-bounces+dick=rlhamilton -dot- net -at- lists -dot- techwr-l -dot- co
> m] On Behalf Of Chris Morton
> Sent: Friday, March 06, 2009 2:54 PM
> To: techwr-l -at- lists -dot- techwr-l -dot- com
> Cc: Brooke Morton
> Subject: PDF subset?
>
>
> My friend is sending me a PDF of something. it was a 10-page
> story but I
> only wrote 2 of the pages. Can she send me a PDF of the whole
> thing and I
> could delete the other stuff out of the PDF later?
>
> If an editor is required, is there something free that works?
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> ComponentOne Doc-To-Help 2009 is your all-in-one authoring
> and publishing
> solution. Author in Doc-To-Help's XML-based editor,
> Microsoft Word or
> HTML and publish to the Web, Help systems or printed manuals.
> http://www.doctohelp.com
>
> Help & Manual 5: The complete help authoring tool for individual
> authors and teams. Professional power, intuitive interface. Write
> once, publish to 8 formats. Multi-user authoring and version
> control! http://www.helpandmanual.com/
>
> ---
> You are currently subscribed to TECHWR-L as dick -at- rlhamilton -dot- net -dot-
>
> To unsubscribe send a blank email to
> techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
> or visit
> http://lists.techwr-l.com/mailman/options/techwr-l/dick%40rlha
milton.net


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat



^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ComponentOne Doc-To-Help 2009 is your all-in-one authoring and publishing
solution. Author in Doc-To-Help's XML-based editor, Microsoft Word or
HTML and publish to the Web, Help systems or printed manuals.
http://www.doctohelp.com

Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


References:
PDF subset?: From: Chris Morton

Previous by Author: RE: As a hiring manager, what are you looking for in a resume?
Next by Author: Re: blog on a thumb drive?
Previous by Thread: Re: PDF subset?
Next by Thread: Re: Someone to do the "donkey work"? (take II)


What this post helpful? Share it with friends and colleagues:


Sponsored Ads