The -layout option gives you the order you want to fill the empty slots in your array, filling from top to bottom and left to right. The -papersize is specified in centimeters here, but if you need inches, just multiply inches by 2.54 to get cm. Note, the -dim option creates the array in Columns x Rows. Here is an example that will accomplish exactly what OP posted about:Ĭ:\1\bin>java -cp m.jar -dim 1x2 -verbose -papersize "21.59x55.88cm" -layout "1,2" yourfilename.pdf Provide an absolute path from root otherwise (like c:\1\bin\m.jar). Note, I ran it FROM the command-line at the install directory in my example below. It sort of goes without saying that you need to install JRE for this to work, but I'll put it out there.Īdd m.jar to your Java Class Path Environment variables (for scripting) or run the command line syntax with the -cp option and the relative path (shown below). Here's a working link as of 02/12:įor simplicity, I renamed the jar file to m.jar. Note the author removed the good tool classes from the latest edition without explanation, so you have to use an older one. So you are dropping the first page (page 1 of the pdf) into the first slot of your array (Column 1, row 1), and you are dropping the second page (page 2) into the second slot (Column 1, row 2).ĭownload the old version of Multivalent. Their pages will be dropped into the array in the following order: 1,2. In the case of the OP, they want to create a single page, composed of two 8.5x11 pages arranged in a 1x2 array (1 column, 2 rows). Then you fill those empty slots top to bottom, left to right with pages from a pdf source-file. You define an array of slots a certain number of columns wide, by a certain number of rows deep, on a page of a certain fixed dimensions (in cm). Imagine it's something like typesetting a newspaper. In answer to your question, you'll need a PDF 'Imposition' tool, which is a fancy way of saying a tool that arranges PDF page images onto a particular array to create a NEW single PDF page. pdf file at the given location, font and size. pdfstamp: Adds the given string to the infile.pdfrevert: Removes one layer of changes to a PDF file, trying to maximise the size of the output file (to account for linearised PDF).Create posters (multiple sheets per page): pdfposterĬreate an A6 booklet: pdfbook -2 -p a5 infile.pdf outfile.pdf.Multiple pages per sheet: pdfjam (command: pdfnup).Merge PDF files: pdfmerge, pdfjam (command: pdfjoin).Create booklets: pdfbook, pdf-tools (command: pdfbklt).This is a summary of the tools I found for PDF (I wanted to find the equivalent of psup and psbook)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |