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?