VpeCtrl.device doesn't work

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

VpeCtrl.device doesn't work

Postby simonlec » Fri Mar 25, 2011 2:34 pm

Hello everyone,
In my report, I use VpeCtrl.Device.
The device is configured with the correct name of the printer with a GetDevEntry.
When I print, it does not take the right printer.
If I try this method:
var iswrited;
if(VpeCtrl.SetupPrinter("c:\\printing\\printsetting.prs", PRINTDLG_ONFAIL)==3){
iswrited=VpeCtrl.WritePrinterSetup("c:\\printing\\printsetting.prs");
}

the code returns the error «error».
Do you have an idea why?
simonlec
 
Posts: 32
Joined: Wed Jul 30, 2008 6:50 pm

Re: VpeCtrl.device doesn't work

Postby IDEAL Software Support » Tue Mar 29, 2011 7:39 am

What version of VPE are you using?
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm

Re: VpeCtrl.device doesn't work

Postby simonlec » Tue Mar 29, 2011 1:35 pm

Vpe 4 version=4,0,0,5427
simonlec
 
Posts: 32
Joined: Wed Jul 30, 2008 6:50 pm

Re: VpeCtrl.device doesn't work

Postby IDEAL Software Support » Tue Mar 29, 2011 4:12 pm

This might be a bug, please download the current trial version and see if the problem is gone.
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 69 guests