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, Chris - Tracker Supp, Sean - Tracker, 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 »

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?
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom
Contact:

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

Post by John - Tracker Supp »

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 »

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,
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
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 »

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 »

Here is the screenshot. Thanks,
Attachments
PrintingProgress.rar
(130.62 KiB) Downloaded 255 times
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
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 »

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