MacOS – remove the page breaks (or re-flow postscript documents) in PDF files

macospdfpostscript

I have a piece of software that formats source material and produces PDF files. These resulting files may be any length and are broken into pages according to a selected page size. (In other words, very standard paged output.)

Since these files are not intended for printing, what I would like is to have them converted to take up one page only with a length that matches the total length of the content.

Does anyone know of a method for reformatting PDF this way on a Mac, or of an "editor" that can perform this one function?

Alternatively, if there's a program that can convert a PostScript file into a single-page PDF by calculating the necessary page size, that would work too.

Best Answer

It sounds like what you want is to have your PDF docs displayed in a continuous flow on screen with no "page breaks" regardless of length, yes? I don't know of commercial software that can remove the "page breaks" from the onscreen view of a PDF, so my next question is, do you do any programming? In my preferred language, Perl, there are several open source modules dealing with PDFs, and I'm sure most other serious languages have similar capabilities.

I've written several applications whose output is PDF docs (stuff like mailing labels, formatted contact lists, lapel stickers, name tags). From what I have learned about PDF document creation, it's necessary to specify dimensions for the "page" in order to give structure to the number of lines and other layout features, not the least because locations are measured from the BOTTOM left corner of the page, NOT the upper left as is most familiar in page composition software. So I think F'x's comment above has a good hint, which is that if you can dig in there, changing the height of the "page"/bounding box might be a way to get a continuously scrolling PDF instead of one with onscreen space-wasting pagination. Perhaps F'x or someone else knowledgeable could expand on this.