How to hide 'Some pages will not be printed...' warning?

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

cmarsura
User
Posts: 91
Joined: Fri Jun 15, 2007 9:57 am

How to hide 'Some pages will not be printed...' warning?

Post by cmarsura »

Hi,
I am printing a pdf programmaticallly using the ActiveX viewer and get the included warning 'Some pages will not be printed completely because they are outside of available print area.' .
How can I prevent to appear this warning ?

Thanks.
Carlo
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: How to hide 'Some pages will not be printed...' warning?

Post by Stefan - PDF-XChange »

Hello Carlo,

When you select to not show this warning again in the end user Viewer - the registry entry that is added is named
PrintCroppedPagesWarn

I will now check how can this be captured and handled via code.

Best,
Stefan
cmarsura
User
Posts: 91
Joined: Fri Jun 15, 2007 9:57 am

Re: How to hide 'Some pages will not be printed...' warning?

Post by cmarsura »

Any news on how capturing the event via code, Stefan?

I confirm that setting the registry entry PrintCroppedPagesWarn works only for the end user Viewer.

Carlo
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: How to hide 'Some pages will not be printed...' warning?

Post by Stefan - PDF-XChange »

Hi Carlo,

It seems like there is a problem on our side that prevents the proper handling of this prompt.
I hope to have some further news for you later today.

Best,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: How to hide 'Some pages will not be printed...' warning?

Post by Vasyl - PDF-XChange »

To disable this message:

Code: Select all

pdfViewer.SetProperty("Prompts.PrintCroppedPagesWarn", "false", 0);
HTH
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
cmarsura
User
Posts: 91
Joined: Fri Jun 15, 2007 9:57 am

Re: How to hide 'Some pages will not be printed...' warning?

Post by cmarsura »

Thanks you all, the suggestion works.
PS: remember to add Prompts.PrintCroppedPagesWarn to documentation because it is missing :wink: .

Carlo
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: How to hide 'Some pages will not be printed...' warning?

Post by Stefan - PDF-XChange »

Hi Carlo,

Certainly - passed to the people dealing with the manual!

Best,
Stefan
maxrockbin
User
Posts: 1
Joined: Wed May 09, 2012 3:03 pm

Re: How to hide 'Some pages will not be printed...' warning?

Post by maxrockbin »

Forgive me for being a newbie, but how exactly do I update the registry with this info? to disable
Prompts.PrintCroppedPagesWarn
I see no properties for xchange viewer in the windows registry and no references to changing registry entries in the exchange viewer manual.

Also, I get this crop warning with EVERY document I try to print (letter size, or checking the box to select paper size automatically. Doesn't matter. Scanned documents. Even pages from your own PDF manual give the error.)

I appreciate your help. I'm using the latest 2.5v201
This is very annoying.
Vasyl-Tracker Dev Team wrote:To disable this message:

Code: Select all

pdfViewer.SetProperty("Prompts.PrintCroppedPagesWarn", "false", 0);
HTH
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: How to hide 'Some pages will not be printed...' warning?

Post by Stefan - PDF-XChange »

Hello maxrockbin,

This is a developers topic -and as such the replies might not have been explained in details.
the

Code: Select all

pdfViewer.SetProperty("Prompts.PrintCroppedPagesWarn", "false", 0);
is used in our Viewer AX SDK, and not in the end user Viewer.

What should normally happen is that you will be presented with a Pop-up window every time there is a page that can't be printed fully - and there is a checkbox in that window for you to disable this prompt (check the attached images).

Alternatively - you can manually set this up in the registry.
The key you need to add is a DWORD with a name PrintCroppedPagesWarn and a value of 0. This should be added in
HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer\Prompts
(as per the second screenshot)

Best,
Stefan
You do not have the required permissions to view the files attached to this post.