Calling all computer nerds - extract PDF pages

Discuss and talk about any general topic.
Post Reply
rudder
Junior Poster
Posts: 759
Joined: June 6th, 2013, 11:38 am

Calling all computer nerds - extract PDF pages

Post by rudder »

What recommendations do you have for a free, windows compatible program that can easily extract a selection of pages from a pdf document?

I want to pull individual pages from an ESL ebook and be able to send them to students for homework assignments. I have a typesetting program, Lyx, that can handle this sort of thing, but it takes way too long.
RedMenace
Freshman Poster
Posts: 219
Joined: June 17th, 2013, 5:39 pm
Location: United Kingdom

Post by RedMenace »

instead of extracting them why not screenshot the pages and put them in a word document to make a new pdf.
User avatar
E Irizarry R&B Singer
Elite Upper Class Poster
Posts: 3113
Joined: April 18th, 2013, 5:26 pm

Re: Calling all computer nerds - extract PDF pages

Post by E Irizarry R&B Singer »

rudder wrote:What recommendations do you have for a free, windows compatible program that can easily extract a selection of pages from a pdf document?

I want to pull individual pages from an ESL ebook and be able to send them to students for homework assignments. I have a typesetting program, Lyx, that can handle this sort of thing, but it takes way too long.
BAAM! +1 .http://www.splitpdf.com/
PeterAndrewNolan
Experienced Poster
Posts: 1729
Joined: April 21st, 2012, 3:25 am

Re: Calling all computer nerds - extract PDF pages

Post by PeterAndrewNolan »

I use PDFILL PDF Tools. It is not free...about USD20 I think...but it is very good. It lets me black over sections that I do not want people to see for when I have been publishing court documents on the web etc. It does splitting and joining of PDFS as well.

It has other functions but those are the two I use most....a very good tool.
Feel free to check out my blog:Click ME!
Renata
Experienced Poster
Posts: 1106
Joined: May 6th, 2012, 4:14 pm
Location: Ireland

Post by Renata »

Able2extract > it's free, really easy, clean, user friendly & converts to any ms office app
http://www.investintech.com/prod_downloadsa2e.htm
- It's easy to give, when you know what it's like to have nothing. -

- Develop a backbone, not a wishbone. -
rudder
Junior Poster
Posts: 759
Joined: June 6th, 2013, 11:38 am

Re: Calling all computer nerds - extract PDF pages

Post by rudder »

E Irizarry R&B Singer wrote:
rudder wrote:What recommendations do you have for a free, windows compatible program that can easily extract a selection of pages from a pdf document?

I want to pull individual pages from an ESL ebook and be able to send them to students for homework assignments. I have a typesetting program, Lyx, that can handle this sort of thing, but it takes way too long.
BAAM! +1 .http://www.splitpdf.com/
+1 Indeed! Website works like a charm.
Nana111
Freshman Poster
Posts: 3
Joined: December 24th, 2013, 6:44 pm

Post by Nana111 »

Hi there
I have googled a code for PDF page extracting:
/// <summary>
/// two pdf documents are available, and we want combine some pages of document 1 and some pages of document 2 to form a new pdf document
/// </summary>
/// <returns></returns>
public void ExtractPagesToFormNewDocument(String filePath1, String filePath2, List<int> pageList1, List<int> pageList2, String destnPath)
{
// two temporary strings to store the extracted documents file paths
String tmpFilePath1 = @"c:\tmpFile1";
String tmpFilePath2 = @"c:\tmpFile2";
PDF Extract Pages FromDocument(filePath1, pageList1, tmpFilePath1);
PDFDocument.ExtractPagesFromDocument(filePath2, pageList2, tmpFilePath2);
List<String> docPathList = new List<string>();
docPathList.Add(tmpFilePath1);
docPathList.Add(tmpFilePath2);
PDFDocument.Combine(docPathList, destnPath);
But it can not work effectively.What's wrong with my code?
Thanks for any suggestions.
User avatar
E Irizarry R&B Singer
Elite Upper Class Poster
Posts: 3113
Joined: April 18th, 2013, 5:26 pm

Post by E Irizarry R&B Singer »

Nana111 wrote:Hi there
I have googled a code for PDF page extracting:
/// <summary>
/// two pdf documents are available, and we want combine some pages of document 1 and some pages of document 2 to form a new pdf document
/// </summary>
/// <returns></returns>
public void ExtractPagesToFormNewDocument(String filePath1, String filePath2, List<int> pageList1, List<int> pageList2, String destnPath)
{
// two temporary strings to store the extracted documents file paths
String tmpFilePath1 = @"c:\tmpFile1";
String tmpFilePath2 = @"c:\tmpFile2";
PDF Extract Pages FromDocument(filePath1, pageList1, tmpFilePath1);
PDFDocument.ExtractPagesFromDocument(filePath2, pageList2, tmpFilePath2);
List<String> docPathList = new List<string>();
docPathList.Add(tmpFilePath1);
docPathList.Add(tmpFilePath2);
PDFDocument.Combine(docPathList, destnPath);
But it can not work effectively.What's wrong with my code?
Thanks for any suggestions.
1. Have you created an instance of PDFDocument in memory stack? At which scope has it been declared?
2. This looks like C# code - am I correct?
3. Is PDFDocument an instance of a 3rd party managed code (.NET) assembly?
4. Have you called the "ExtractPagesToFormNewDocument" function from another file? Your code is very incomplete thus far.
5. That "[url...." doesn't look right. Where's the subroutine code for "FromDocument"??
Nana111
Freshman Poster
Posts: 3
Joined: December 24th, 2013, 6:44 pm

Post by Nana111 »

HI there
Sorry,but I am not so good at computer.Can you just offer me a code for that?
Thanks for any suggestions.
Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “General Discussions”