GetDeviceCaps with Paramenter Physicalwidth / PhysicalHeight gives always zero as result

Issue #188 new
Harry Stahl created an issue

Both of this calls give me a value of zero back:

BlattBreite := Round (GetDeviceCaps (Printer.handle, PHYSICALWIDTH) * MMProPixelX); // 210 for A4 BlattHoehe := Round (GetDeviceCaps (Printer.handle, PHYSICALHEIGHT) * MMproPixelY); // 297 for A4

Same with PHYSICALOFFSETX and PHYSICALOFFSETY

Printer is installed

Comments (1)

  1. Log in to comment