> Routine to print hicfa 1500 forms on various printers.
> Just interested in how others keep alignment correct on various printers without designing separate reports. Having designed a report and tweaked it to align properly on a printer, the next user has a different printer and I seem to have to tweak it again, save as a new report. Seems like a never ending task.
> Has anyone else been able to simplify this process?
> Thanks in advance
Ron,
The HICF 1500 forms was the first time I ran into this problem over 10 years ago. My solution was to have an offset of X and Y in an INI file on the workstation that the user could define by running test prints. My wrapper code copies the FRX to a temporary FRX table and then SCANs the temporary table and adds the X and Y offset defined by the user to the X and Y position of all of the objects in the FRX. Then calls the REPORT FORM command using the temporary FRX file. Works great.
Printable page doesn't always work due to the fact that different vendors that sell pre-printed forms have slightly different offsets. Additionally, you have to contend with each printer's PHYSICALLOFFSETX and PHYSICALOFFSETY which is the printable margin offset for each printer on the LEFT and TOP of the page where it can physically start printing on the page.