0
我将两个PCL文档转换为单个PDF文档。 只有两个页面,但PDF文档以3.结尾。一个额外的空白页面。将两个PCL与ghostscript合并时会创建一个额外的空白页面
snprintf(cmd, sizeof(cmd) - 1,
"/home/rds/app/src/gpcl919/ghostpcl-9.19-linux-x86/gpcl6-919 "
"-sDEVICE=pdfwrite -sOutputFile=%s "
"-dSAFER -dNOPAUSE -dBATCH -sPAPERSIZE=letter -dSusbsetFonts=true "
"-dEmbededFonts=true -dCompatibilityLevel=\"1.3\" "
"-dPDFSETTING=\"/printer\" %s %s", szPdfPath, szPclPath1, szPclPath2);