batch file - GS Papersize form PDF -


i want create batch printing ghostscript on printer can papersizes a0 a4. papersize printing comes pdf-document. means a0-pdf-file should keep it's papersize printing a0 paper. gs resizes document defaults example a4

so don't know how can gs: "read papersize of document , print same"

my command looks this:

"path gs\gswin32c.exe" -sdevice=mswinpr2 -soutputfile="\spool\\print-server\name of printer" -dbatch -dnopause "\server\folder\123456-01.pdf"

as far aware ghostscript not resize output, when using mswinpr2 device, possible does. however, won't resizing gs default, resizing printer default.

the mswinpr2 device can't change media size selected in printer, print default printer settings.

you can't send pdf files of range of sized media mswinpr2 device , have select different media printer.

no doubt device extended so, , can have print dialog pop , select different criteria there


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -