Cosmin Prund wrote:
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!

Before we get too far afield, how about posting some code for how you're making your position calculations?

I find it's real easy to get confused about the meaning of what some of the different GetDeviceCaps() Indicies refer to; not to mention adding everything up and keeping it all oriented correctly.

Sometimes another pair of eyes...

Stephen Posey
[EMAIL PROTECTED]

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

Reply via email to