how to suppress "Page n of document" prompt

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

Post Reply
yishen
User
Posts: 6
Joined: Mon Aug 01, 2011 8:55 pm

how to suppress "Page n of document" prompt

Post by yishen » Thu Aug 04, 2011 5:06 pm

When I try to create a multi-page PDF, it displays a "Page n of document" prompt. Since the code will be running on a web server, is there a way to suppress this prompt?

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: how to suppress "Page n of document" prompt

Post by John - Tracker Supp » Thu Aug 04, 2011 6:40 pm

Hi,

I believe the answer you need is on page 42 of the help file for the drivers API SDK : PDFX4DRV_API.pdf

this help file is supplied with the drivers API/PRO SDK when installed.

Hope that helps
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

yishen
User
Posts: 6
Joined: Mon Aug 01, 2011 8:55 pm

Re: how to suppress "Page n of document" prompt

Post by yishen » Thu Aug 04, 2011 6:56 pm

Hi,

Thank you for your reply.

Here are the settings I have applied.

PDFPrinter.Option["General.HideUI"] = true;
PDFPrinter.Option["Save.ShowSaveDialog"] = false;
PDFPrinter.Option["Save.SaveType"] = 2;
PDFPrinter.Option["Save.WhenExists"] = 1;
PDFPrinter.Option["Saver.ShowProgress"] = false;
PDFPrinter.Option["Save.RunApp"] = false;

On page 42, I don't see any option or macro for suppressing the Printing / "Page n of document" prompt.

Thanks,

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: how to suppress "Page n of document" prompt

Post by Ivan - Tracker Software » Thu Aug 04, 2011 7:19 pm

Can you send the screenshot of the window you are talking about ?

P.S.

Code: Select all

PDFPrinter.Option["General.HideUI"] = true;
doesn't mean to hide printer's UI or printing app UI - it specify that PDF viewer should hide all navigation controls (menubars, toolbars, scroolbars, etc) when this document is opened.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

yishen
User
Posts: 6
Joined: Mon Aug 01, 2011 8:55 pm

Re: how to suppress "Page n of document" prompt

Post by yishen » Thu Aug 04, 2011 8:19 pm

Here is the screenshot. Thanks,
Attachments
PrintingProgress.rar
(130.62 KiB) Downloaded 197 times

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: how to suppress "Page n of document" prompt

Post by Ivan - Tracker Software » Fri Aug 05, 2011 4:01 pm

I'm afraid this dialog is shown by the printing application, not by the PDF-XChange driver and is therefore nothing to do with us and outside of our control.

Hope that helps
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

Post Reply