Crop PDF (A4->A5) automatically before printing











up vote
0
down vote

favorite












I'm repeatedly printing documents with the same layout. The documents are generated as 1 A4 page, but the real content when cropped fits easily on an A5 and can (and should) be even enlarged.



Right now I'm:




  • printing the document as PDF

  • cropping the documents manually in Acrobat

  • printing the cropped document with the "Fit to printable area" scaling setting (= upscaling the content).


The margins to be cropped are always the same.



Is there a tool (a virtual printer?) enabling automation of the process?










share|improve this question







New contributor




Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I'm repeatedly printing documents with the same layout. The documents are generated as 1 A4 page, but the real content when cropped fits easily on an A5 and can (and should) be even enlarged.



    Right now I'm:




    • printing the document as PDF

    • cropping the documents manually in Acrobat

    • printing the cropped document with the "Fit to printable area" scaling setting (= upscaling the content).


    The margins to be cropped are always the same.



    Is there a tool (a virtual printer?) enabling automation of the process?










    share|improve this question







    New contributor




    Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm repeatedly printing documents with the same layout. The documents are generated as 1 A4 page, but the real content when cropped fits easily on an A5 and can (and should) be even enlarged.



      Right now I'm:




      • printing the document as PDF

      • cropping the documents manually in Acrobat

      • printing the cropped document with the "Fit to printable area" scaling setting (= upscaling the content).


      The margins to be cropped are always the same.



      Is there a tool (a virtual printer?) enabling automation of the process?










      share|improve this question







      New contributor




      Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm repeatedly printing documents with the same layout. The documents are generated as 1 A4 page, but the real content when cropped fits easily on an A5 and can (and should) be even enlarged.



      Right now I'm:




      • printing the document as PDF

      • cropping the documents manually in Acrobat

      • printing the cropped document with the "Fit to printable area" scaling setting (= upscaling the content).


      The margins to be cropped are always the same.



      Is there a tool (a virtual printer?) enabling automation of the process?







      pdf printing automation






      share|improve this question







      New contributor




      Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 20 at 8:50









      Lukas Kavicky

      1




      1




      New contributor




      Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Lukas Kavicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          There is a command line tool called pdfcrop, it will be installed in /Library/TeX/texbin when installing MacTeX (link). I'm convinced there is better way of getting that tool instead of downloading/installing a 3.2 GByte software package (but because I'm using LaTeX, I've never cared to find out).



          Excerpt from man page:



          Syntax:   pdfcrop [options] <input[.pdf]> [output file]
          Function: Margins are calculated and removed for each page in the file.
          Examples:
          pdfcrop --margins 10 input.pdf output.pdf
          pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf


          It might be suitable for your automation needs.






          share|improve this answer





















          • Thanks, @jvb. I was thinking more in the direction of virtual printers, so that the automation could be triggered already from the web browser without additional steps required. But maybe pdfcrop could be a part of the solution.
            – Lukas Kavicky
            2 days ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Lukas Kavicky is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376900%2fcrop-pdf-a4-a5-automatically-before-printing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          There is a command line tool called pdfcrop, it will be installed in /Library/TeX/texbin when installing MacTeX (link). I'm convinced there is better way of getting that tool instead of downloading/installing a 3.2 GByte software package (but because I'm using LaTeX, I've never cared to find out).



          Excerpt from man page:



          Syntax:   pdfcrop [options] <input[.pdf]> [output file]
          Function: Margins are calculated and removed for each page in the file.
          Examples:
          pdfcrop --margins 10 input.pdf output.pdf
          pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf


          It might be suitable for your automation needs.






          share|improve this answer





















          • Thanks, @jvb. I was thinking more in the direction of virtual printers, so that the automation could be triggered already from the web browser without additional steps required. But maybe pdfcrop could be a part of the solution.
            – Lukas Kavicky
            2 days ago















          up vote
          0
          down vote













          There is a command line tool called pdfcrop, it will be installed in /Library/TeX/texbin when installing MacTeX (link). I'm convinced there is better way of getting that tool instead of downloading/installing a 3.2 GByte software package (but because I'm using LaTeX, I've never cared to find out).



          Excerpt from man page:



          Syntax:   pdfcrop [options] <input[.pdf]> [output file]
          Function: Margins are calculated and removed for each page in the file.
          Examples:
          pdfcrop --margins 10 input.pdf output.pdf
          pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf


          It might be suitable for your automation needs.






          share|improve this answer





















          • Thanks, @jvb. I was thinking more in the direction of virtual printers, so that the automation could be triggered already from the web browser without additional steps required. But maybe pdfcrop could be a part of the solution.
            – Lukas Kavicky
            2 days ago













          up vote
          0
          down vote










          up vote
          0
          down vote









          There is a command line tool called pdfcrop, it will be installed in /Library/TeX/texbin when installing MacTeX (link). I'm convinced there is better way of getting that tool instead of downloading/installing a 3.2 GByte software package (but because I'm using LaTeX, I've never cared to find out).



          Excerpt from man page:



          Syntax:   pdfcrop [options] <input[.pdf]> [output file]
          Function: Margins are calculated and removed for each page in the file.
          Examples:
          pdfcrop --margins 10 input.pdf output.pdf
          pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf


          It might be suitable for your automation needs.






          share|improve this answer












          There is a command line tool called pdfcrop, it will be installed in /Library/TeX/texbin when installing MacTeX (link). I'm convinced there is better way of getting that tool instead of downloading/installing a 3.2 GByte software package (but because I'm using LaTeX, I've never cared to find out).



          Excerpt from man page:



          Syntax:   pdfcrop [options] <input[.pdf]> [output file]
          Function: Margins are calculated and removed for each page in the file.
          Examples:
          pdfcrop --margins 10 input.pdf output.pdf
          pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf


          It might be suitable for your automation needs.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 11:55









          jvb

          665211




          665211












          • Thanks, @jvb. I was thinking more in the direction of virtual printers, so that the automation could be triggered already from the web browser without additional steps required. But maybe pdfcrop could be a part of the solution.
            – Lukas Kavicky
            2 days ago


















          • Thanks, @jvb. I was thinking more in the direction of virtual printers, so that the automation could be triggered already from the web browser without additional steps required. But maybe pdfcrop could be a part of the solution.
            – Lukas Kavicky
            2 days ago
















          Thanks, @jvb. I was thinking more in the direction of virtual printers, so that the automation could be triggered already from the web browser without additional steps required. But maybe pdfcrop could be a part of the solution.
          – Lukas Kavicky
          2 days ago




          Thanks, @jvb. I was thinking more in the direction of virtual printers, so that the automation could be triggered already from the web browser without additional steps required. But maybe pdfcrop could be a part of the solution.
          – Lukas Kavicky
          2 days ago










          Lukas Kavicky is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          Lukas Kavicky is a new contributor. Be nice, and check out our Code of Conduct.













          Lukas Kavicky is a new contributor. Be nice, and check out our Code of Conduct.












          Lukas Kavicky is a new contributor. Be nice, and check out our Code of Conduct.















           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376900%2fcrop-pdf-a4-a5-automatically-before-printing%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido