I'm working on a program that prints on pre-printed forms and I'm having lots of trouble figuring out paper margins. It seems the GetDeviceCaps API gives the wrong results for the PHYSICALOFFSETX / PHYSICALOFFSETY parameters.

Is there a way to find the ACTUAL offset for a given printer in any real-world coordinate system? Knowing my application will mostly be used on HP printers, is there a way to find this using something like HP PCL or similar? Anything other then printing something and measuring white bands is acceptable!

Thanks,
Cosmin Prund

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to