How is your HP printer connected to the 400? Does your HP printer have a IPDS card in it?
The printer is remote and is attached to the client’s LAN. I can’t confirm that it contains an IPDS card, however, it is currently producing similar forms (shipping documents) which contain an overlay combined with database text data.
Helvetica 9pt — is a proportional print
The 400 doesn’t generally take this into account in it’s layout.
the 400 sends spaces to reach the column specified. So if you write a field @ column 20 the 400 sends 20 spaces
then the field, if you write the next field at 40 the 400 sends more spaces to pad out to column 40. But since spaces in Helvetica are much smaller then the wider characters the result doesn’t align well.
So you think the columns will line up. But they don’t.
99,999.99 Amount Deducted 99,999.,99
4.45 Amount added 4.45
I’m not familiar with the viewer, if it doesn’t support the font requested then it probably defaults to a fixed font.
Someone will probably tell me how wrong I am, as usual, but you may want to consider a fixed font for your output.
Right you are, in obsolete speak “FIXED” in new speak “Uniformly Spaced”
– proportional print has points but Uniformly Spaced print has pitch or cpi (character per inch) 10, 12, 15, 17.5 characters to the inch – a little narrower or alot narrower .. (points go the other way 12 is bigger than 10)
proporational print also sets character height with the points, proportional print character stay the same shape. Uniformly Spaced doesn’t give you control of the character height.
In uniformly Spaced, you set the lines per inch 6 default or 8 (a little tighter). Character height doesn’t change with pitch or lpi. 8 LPI reduces the blank space between the lines.
You should find AFP commands for FONT, CPI, and LPI. Use one value for each thoughout your document.