VPE Version 3.6 R2
Since update from 3.1 to Version 3.6 we have the following problem:
(the problem exists with different printers)
in my application for exampel I made the following settings in the printer dialog:
-Printer : METO SP 2
-Page Format : LABEL 1 (20cm x 10cm)
the labe is defined in the printer properties.
in the PRS File I found the correct Printer name and the page format
but when I call the printer setup again the settings are:
for exampel:
-Printer : METO SP 2
-Page Format : USER DEFINED
or for a Laser Printer, the Page format is DIN A 4
the setup procedrue is:
DisableForm;
with Rep do try
if not IsOpen then begin
OpenDoc;
License('VPE-XXXXXXXX'); //VPE
License('PDF-XXXXXXXX'); //PDF
end;
SetupPrinter(SetupPath + ProgrammName + '.PRS',
PRINTDLG_ALWAYS);
Finally
CloseDoc;
EnableForm;
end;
where is my fault ?
thanks
Tina