function SetPdfPrintMode(PrintMode: TPdfPrintMode): Boolean;
选择 FPDF_RenderPage 在向平台打印机输送数据时使用的打印后端
Windows 上默认为 prEmf;在 PostScript 设备上使用 prPostScript* 以避免双重光栅化
封装相应的 PDFium API 并将其公开为 TPdf 实例成员,以便使用者无需直接管理 FPDF_DOCUMENT 句柄
Pdf1.Active;需要打开文档的方法否则会引发 EPdfErrorSaveAs 进行持久化
begin
TPdf.SetPdfPrintMode;
end;