Please enable JavaScript to view this site.

A-Shell Reference

(Windows only) This command may be used as an alternative to FONTWIDTH and FONTHEIGHT to control the way A-Shell selects a suitable font size for the report. There are two variations:

PITCH = ##

PITCH = AUTO

The first form is equivalent to FONTHEIGHT=##, but is largely superseded by the much more convenient second form, which auto-selects a suitable font size based on the printable area of the current paper in the printer as reported by the driver, the width of the longest line of the report, and the CPP and LPP values.

Comments

PITCH is compatible with the FONT command (which only specifies a font face, not a size), but it is generally preferable to omit the FONT command and let Windows and the printer driver select the most suitable font face. It is not compatible with FONTWIDTH and FONTHEIGHT, both of which override and effectively disable PITCH.

History

2004 August, A-Shell 4.5.776:  A-Shell now ignores trailing blanks in the length of the first 15 print lines used to determine if we needed to switch to the condensed font. Previously, they were not ignored.