Good morning,
My customer sends me the label + instructions for use. I would like to keep only the shipping label and switch to a 10x15 format to edit it on my zebra. how to do it with ghostscript. THANKS
I added the parameters dDEVICEHEIGHTPOINTS=100 -dDEVICEWIDTHPOINTS=150 and -dUseCropBox to my old ghostscript parameters.
if QuelEditeurPdf == "GS" then
local paramGS = ' -dPrinted -dBATCH -dNOPAUSE -q -
dDEVICEHEIGHTPOINTS=100 -dDEVICEWIDTHPOINTS=150 - dUseCropBox -sDEVICE=mswinpr2
-sPAPERSIZE=' .. Size .. '-dNumCopies=' .. nbCopies
if ScriptFileExists(cheminPdf) then
local cmd = gswin64 .. paramGS .. ' -sOutputFile="%printer%' ..
imprimante .. '" "' .. cheminPdf .. '"'
local f, err = io.popen(cmd)`