Reviewed January 2011
//XOFFSET, ###
//YOFFSET, ###
The concept here is to make it easier to adjust the output of existing reports designed for plain or pre-printed forms, to instead use scanned, printed-as-you-go forms. Often this presents difficulties in getting the text to line up with the form due to minor fluctuations in the size of the form image introduced by scanning or scaling to print.
Note that the TMARGIN and LMARGIN commands are not very useful for this kind of thing, partly because they operate in such coarse units, partly because they have other side effects, and partly because they don't affect X,Y coordinate positioning (in GDI directives). The XOFFSET and YOFFSET parameters were designed to overcome these issues and should be used instead.
XOFFSET and YOFFSET must appear within the top eight lines of a printfile and before any printable text. Both XOFFSET and YOFFSET have a Printer Init File Equivalent.
History
2011 January, A-Shell build 1202: Added to GDI Printing Directives.