ColorPrinter Set to Monochrome

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

ColorPrinter Set to Monochrome

Postby KHentschel » Wed Jun 21, 2017 10:25 am

Hello,

i have a Formular generated via DycoDoc. In my application i load this Template and printout. Is it possible to Switch Page by Page if the Output is Colored or Monochrom?
I found the Property .SetColor but here i can only tell the Device once Color or Monochrome.

thank you for any informations

Best regards
Klaus
KHentschel
 
Posts: 46
Joined: Thu Oct 04, 2007 10:28 am

Re: ColorPrinter Set to Monochrome

Postby IDEAL Software Support » Wed Jun 21, 2017 12:25 pm

You can try the following, but it depends on the printer driver, whether this works - so in general it is NOT possible.

Handle the VPE event BeforePrintNewPage() and set in the event handler the property DevColor.

For details, please see the manuals.
IDEAL Software Support
 
Posts: 1543
Joined: Thu Nov 18, 2004 4:03 pm

Re: ColorPrinter Set to Monochrome

Postby KHentschel » Wed Jun 21, 2017 2:22 pm

this works fine for me! Many many thanks for your help!
KHentschel
 
Posts: 46
Joined: Thu Oct 04, 2007 10:28 am


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 5 guests

cron