Positioning Parameters in Generated Production Reporting Programs

If you use the Source window to edit your Production Reporting code based on the Production Reporting layout, the position parameters in the generated Production Reporting program depend on where you placed objects in the layout and whether the layout is in Character Mode or Graphic Mode.

The position parameters in Graphic Mode indicate the vertical position in points, the horizontal position in points, and the object width in characters.

Note that 1 point = 1/72 inch. Therefore, if two objects on the page are one inch apart, this corresponds to 72 points.

Table 28. Inches/Points Conversion Table 

Inches > Points

Centimeters > Points

1/8 in = 9 pts

1/2 cm = 14 pts

1/4 in = 18 pts

3/4 cm = 21 pts

3/8 in = 27 pts

1 cm = 28 pts

1/2 in = 36 pts

1 1/2 cm = 43 pts

1 in = 72 pts

1 3/4 cm = 50 pts

2 in = 144 pts

2 cm - 57 pts

To illustrate how Production Reporting positions objects using points, consider the following layout and the corresponding Production Reporting program. This layout contains two columns: name and city. The name column is 20 characters wide and the city column is 16 characters wide. They are positioned in the layout as follows:

The image shows how SQR positions objects using points, and is described in the text preceding the image.

The part of the Production Reporting program that corresponds to this layout appears below:

Begin-Select
		Alter-Printer Font=5 Point-Size=12
	name 	(12,1,20)
	city	(12,145,16)

In this program, FONT=5 indicates Times Roman. POINT-SIZE=12 indicates 12-point font.

Both the name and city columns have a vertical position of 12 because they are on the same line. The “12” represents the vertical position from the base of the font.

The second position parameter for name is 1. This indicates that the column is 1 point from the left margin. The second position parameter for city is 145. This indicates that it is 145 points from the left margin and 144 points (2 inches) from the left edge of the name column.

The third position parameter for name is 20, indicating that it is 20 characters wide. The third position parameter for city is 16, indicating that it is 16 characters wide.