Please enable JavaScript to view this site.

A-Shell Reference

//RESETLPP

RESETLPP resets the current lines-per-page (LPP) value, which is used to determine the vertical line spacing, so that the line spacing will be based instead on the current font. Even when there is no explicit LPP value in the printer ini file, a default LPP is established based on the paper size and default font. Once established, changing the font does not change the vertical spacing (unless you use the RESETLPP directive).

For example, assume that the default LPP results in vertical line spacing of 6 lines per inch. If you then change to a 24 point font, and output multiple lines, the lines will overlap vertically because the 24 point font is taller than 1/6 of an inch. To avoid that and instead adjust the vertical line spacing to what would be natural for a 24 point font, just use the RESETLPP directive either before or immediately after the SETFONT, as shown here:

//ResetLPP

//SetFont,240,Arial

This line output in 24 point Arial

So is this line (with natural 24 point spacing)