Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8634635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:46:20+00:00 2026-06-12T09:46:20+00:00

Possible Duplicate: Split PDF documents into separate pages using PHP (or possibly perl) How

  • 0

Possible Duplicate:
Split PDF documents into separate pages using PHP (or possibly perl)

How can I split a multi-page PDF file into distinct single page PDF files in PHP on Linux server? Are there any PHP libraries or free command line tools available to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T09:46:21+00:00Added an answer on June 12, 2026 at 9:46 am

    The most recent version of Ghostscript (v9.06) can do this too. Here is the commandline to be used inside a cmd.exe ‘DOS-Box’ window on a 32-bit Windows system:

     gswin32c.exe                ^
       -o original_page_%03d.pdf ^
       -sDEVICE=pdfwrite         ^
       -sPDFSETTINGS=/prepress   ^
        original-multipage.pdf
    

    -o ...: this indicates the name of the output file(s).
    %03d: this part of the filename will be translated into 3-digit numbers, padded by leading 0s, starting from 001 for the first page.
    -sPDFSETTINGS=...: is an optional parameter; if used will ensure that all used fonts are embedded and some other settings which in general ensure a high quality output.

    Ghostscript is available for Windows. (The link above leads you to the installers: gs906w32.exe and gs906w64.exe. Scroll down to find them…).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Split A4 PDF page into two A5 and back again I have
Possible Duplicate: How can I split a comma delimited string into an array in
Possible Duplicate: Split a number into its digits with Haskell how can i convert
Possible Duplicate: How can I split an IEnumerable<String> into groups of IEnumerable<string> I have
Possible Duplicate: PHP - How to split a paragraph into sentences. I have a
Possible Duplicate: split and combine by factor into new columns Using example data here
Possible Duplicate: Best practice: Import mySQL file in PHP; split queries How to import
Possible Duplicate: How do I make a request using HTTP basic authentication with PHP
Possible Duplicate: How can I convert a list<> to a multi-dimensional array? I want
Possible Duplicate: How can I understand nested ?: operators in PHP? Why does this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.