【发布时间】:2018-01-16 11:28:20
【问题描述】:
我正在将两个 PCL 文档转换为一个 PDF 文档。 只有两页,但 PDF 文档以 3 结束。一个额外的空白页。
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 );
【问题讨论】:
标签: c linux pdf-generation ghostscript