sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.36k stars 1.7k forks source link

feature request: print scaling needs a new option: stretch #2220

Open johnckendall opened 2 years ago

johnckendall commented 2 years ago

We need a new PrintScale option: stretch. This would fill the width and height of the paper without cropping.
Basically, NOT honoring aspect ratio; just stretch both to fill paper.

GitHubRulesOK commented 2 years ago

That is down to the driver settings, should be no margins fit, same as it is for virtual printing borderless pdf.

Non proportional scaling is not normal in printer drivers though there are many that can do it, (FAX format springs to mind) check your print drivers settings.

johnckendall commented 2 years ago

Thanks for the reply. We are working with HP LaserJet Pro M404n printers. The driver doesn't appear to support this directly. :( Is there no way to do this in outside of the driver?

GitHubRulesOK commented 2 years ago

I have to guess its PDF inputs (which are designed not to be warped) but you can output to custom page layouts, such as to alter margin proportions compared to body, It helps to see a sample input and intended output but since SumatraPDF will just export an image to the printer the logical route is export pdf pages to image for warping then rebind or simply send images to printer.

GitHubRulesOK commented 1 year ago

@kjk this is a function that needs page ratios altered thus as SumatraPDF is PAI printing I suggest its a task for PDFimages or other command line extractor that can alter height to width ratios during image conversion

Recommend closure as uncommon requirement not associated with PDF reading at best may be done by Acrobat Pro Editor or GhostScript convert output ratio.