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
How to hide 'Some pages will not be printed...' warning?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 91
- Joined: Fri Jun 15, 2007 9:57 am
How to hide 'Some pages will not be printed...' warning?
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to hide 'Some pages will not be printed...' warning?
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
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
-
- User
- Posts: 91
- Joined: Fri Jun 15, 2007 9:57 am
Re: How to hide 'Some pages will not be printed...' warning?
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
I confirm that setting the registry entry PrintCroppedPagesWarn works only for the end user Viewer.
Carlo
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to hide 'Some pages will not be printed...' warning?
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
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
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: How to hide 'Some pages will not be printed...' warning?
To disable this message:
HTH
Code: Select all
pdfViewer.SetProperty("Prompts.PrintCroppedPagesWarn", "false", 0);
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 91
- Joined: Fri Jun 15, 2007 9:57 am
Re: How to hide 'Some pages will not be printed...' warning?
Thanks you all, the suggestion works.
PS: remember to add Prompts.PrintCroppedPagesWarn to documentation because it is missing
.
Carlo
PS: remember to add Prompts.PrintCroppedPagesWarn to documentation because it is missing

Carlo
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to hide 'Some pages will not be printed...' warning?
Hi Carlo,
Certainly - passed to the people dealing with the manual!
Best,
Stefan
Certainly - passed to the people dealing with the manual!
Best,
Stefan
-
- User
- Posts: 1
- Joined: Wed May 09, 2012 3:03 pm
Re: How to hide 'Some pages will not be printed...' warning?
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.
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:HTHCode: Select all
pdfViewer.SetProperty("Prompts.PrintCroppedPagesWarn", "false", 0);
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to hide 'Some pages will not be printed...' warning?
Hello maxrockbin,
This is a developers topic -and as such the replies might not have been explained in details.
the 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
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);
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.