PRS files with VPE 3.2 & 3.5

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

PRS files with VPE 3.2 & 3.5

Postby IDEAL Software Support » Tue Nov 23, 2004 4:53 pm

I'm storing my printer-settings in VPE-PRS files. With VPEP 3.2
everything worked fine.
Since we upgraded to VPEP 3.5 nearly everything is fine, except the
papersize doesn't work anymore.

If I choose a papersize with VPE3.5 and reopen my settings, it is
always set to the defaultvalue.
If I'm saving it with 3.5 and reopen it with VPE3.2 it shows the
correct setting.
Setting the papersource works, only setting the papersize looses its
value.

How can I solve this?

Thanks
Andrew
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 23, 2004 4:53 pm

This is caused by a new functionality, introduced with VPE v3.20 R1 (see
"Release Notes" installed with VPE):

>>
Updated: from VPE v3.20 R1 on, VPE instructs the printer during
printing, to switch the paper dimensions automatically (some printers
will therefore select another input PaperBin) according to the page
dimensions of the VPE Document's currently printed page. This can
conflict with printer setups stored in PRS files. In order to allow you
to gain the old behavior of VPE, we implemented a new flag
PRINT_NO_AUTO_PAGE_DIMS = 16, which can be assigned to the property
PrintOptions. You will get the old behavior by setting PrintOptions =
PRINT_ALL + 16 before calling the method SetupPrinter().
If this flag is used, VPE will not automatically try to instruct the
printer to select paper according to the page dimensions of the
currently printed page.
For details, please see the updated online help for SetupPrinter() and
PrintOptions.
<<

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 44 guests