We use the VPE Version 3.20.4 since several years without any problems.
Now one of our Customers installed a new printer (HP Photosmart C4600 series) on a System with Windwos XP SP3.
With VPEGetDevice() I get the following values:
#'HP Photosmart C4600 series'
IdentityDictionary new: 17
#DevPaperBin =259;
#PaperWidth =0;
#DevOffsetRight =32;
#PaperFormat =-1;
#DevPrintableWidth =-64;
#DevPrinterOffsetX =32;
#PageOrientation =2;
#DevOffsetTop =32;
#DevPrinterOffsetY =32;
#DevOffsetLeft =32;
#DevPhysPageHeight =2969;
#DevDuplex =1;
#PageFormat =-1;
#PaperHeight =0;
#DevOffsetBottom =32;
#DevPhysPageWidth =2101;
#DevPrintableHeight =-64
On my system (Win XP SP, same printerdriver) :
#'HP Photosmart C4600 series'
IdentityDictionary new: 15
#DevOffsetRight =31;
#PageFormat =-1;
#PaperFormat =-1;
#DevPrintableHeight =2731;
#PageOrientation =1;
#DevPhysPageWidth =2159;
#DevPrinterOffsetX =32;
#DevPrintableWidth =2096;
#DevOffsetLeft =32;
#DevOffsetTop =32;
#PaperWidth =2100;
#DevOffsetBottom =31;
#DevPrinterOffsetY =32;
#PaperHeight =2970;
#DevPhysPageHeight =2794
On the customer system I get wrong values for PaperHeight and PaperWidth.
If anyone has any idea thanks for help
rolf