Marc :
>
What is the best way to handle different top margins on different printers?
My app prints insurance claim forms on pre-printed
forms. Some printers have different top margins that
will move the print up or down 1 line. So far the
only "fix" I have is to make 3 different copies of
that report, the only difference is I moved the boxes
up or down 1 line. Then the user can choose which
report to use.
<
What version are you running ?
If DOS, you can set a variable that contain the proper number of LF
according to the printer :
IF vprinter = 'PRINTER1' THEN
SET var vtopmargin = (CHAR(10))
ELSE
IF vprinter = 'PRINTER2' THEN
SET var vtopmargin = (CHAR(10) + (CHAR(10)))
ENDIF
ENDIF
then add that expression to the report
vtopmargin = .vtopmargin
And then put variable onto the first line of the report.
If Windows version, it is much more complicate : the only way I found is to
write a pagemode report.
Then you begin writing on the proper line, so the report will begin with a
variable number of blank lines.
All those tips will only jump on or many 1/6 inches.
If you need micro step adjustment, you need to buy special printers such as
Epson LQ680.
Hope this will help ....
Regards,
J.M. GRATIAS, Logimatique