PXCV_DrawPageToDC() black page on printer

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

carterdawson
User
Posts: 23
Joined: Thu May 06, 2010 7:51 pm

PXCV_DrawPageToDC() black page on printer

Post by carterdawson »

Hi, all,

I have a problem very similar to the one at this post:

https://forum.pdf-xchange.com/ ... nter+black

However, neither setting pxvrpf_UseVectorRenderer nor pxvrpf_NoTransparentBkgrnd seem to affect the problem. Are there other steps that I can do that might help?

Thanks,

Shaun
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: PXCV_DrawPageToDC() black page on printer

Post by Ivan - Tracker Software »

Please send us sample project (with sources) using which we can reproduce the problem. For sure we will need to have your PDF file too.

You can ZIP and post files here, or, you can send it me by email (Ivan@tracker-software.com).
PDF-XChange Co Ltd. (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.
carterdawson
User
Posts: 23
Joined: Thu May 06, 2010 7:51 pm

Re: PXCV_DrawPageToDC() black page on printer

Post by carterdawson »

This was human error.

Setting pxvrpf_UseVectorRenderer solved this issue. In creating the test program I realized that although I thought that I was properly setting that flag, I was not.

Thanks!

Shaun
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7371
Joined: Wed Mar 25, 2009 10:37 pm

Re: PXCV_DrawPageToDC() black page on printer

Post by Paul - PDF-XChange »

:D
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com