... and here is a sample (based on Jim's tribox.pcl) which (I think) does what you want:
[ul]
[li]Prints a landscape page on Letter size paper.[/li]
[li]Sets the PCL unit-of measure to 300 units-per-inch (this is the standard default on LaserJet devices).[/li]
[li]Sets line spacing at 6 lines-per-inch (equivalent to VMI of 8/48 inch), and a top-margin of 3 lines at that spacing.[/li]
[li]Sets text length at 45 lines (although as the sample doesn't use LineFeed-positioning for text, this is irrelevant).[/li]
[li]Defaults the left-margin to column zero (the left-edge of the logical page).[/li]
[li]Draws three boxes (each of width 750 units, depth 300 units, line width 5 units) equidistantly along the long edge of the (landscape) page.[/li]
[li]Draws four vertical lines (each of depth 900 units) underneath the line of boxes; the left-most and right-most lines align with the left and right sides of the first and third boxes, and use a line-width of 5 units; the other two lines are offset from the left and right sides of the middle box, and use a line-width of 3 units.[/li]
[li]Draws a horizontal line (of width 2850 units and depth 5 units) underneath the vertical lines.[/li]
[li]Selects the Courier Bold font, at 12 characters-per-inch, with the ISO-8859-1 character set.[/li]
[li]Prints some text ("Landscape page") at the top of the page.[/li]
[li]Prints some text ("Box n") in each box.[/li]
[li]Selects the Courier Regular font, at 16-characters-per-inch.[/li]
[li]Prints some text ("text n") in the space underneath each box, between the vertical lines.[/li]
[/ul]
Here is the (pseudo-)PCL which does the above (any spaces (except those within text strings) and line feeds are merely to make the set of sequences easier to understand - the actual PCL code doesn't include any):
Code:
<Esc>E Printer Reset
<Esc>&u300D Unit-of-Measure (300 PCL units per inch)
<Esc>&l2a Page Size: Letter
1o Orientation: Landscape
6d Line Spacing (6 lines-per-inch)
3e Top Margin (3 lines)
45F Text Length (45 lines)
<Esc>*p0x Cursor Position Horizontal (0 PCL units)
350Y Cursor Position Vertical (350 PCL units)
<Esc>*c750a Rectangle Size Horizontal (750 PCL units)
300b Rectangle Size Vertical (300 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>*p+1050X Cursor Position Horizontal (+1050 PCL units)
<Esc>*c750a Rectangle Size Horizontal (750 PCL units)
300b Rectangle Size Vertical (300 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>*p+1050X Cursor Position Horizontal (+1050 PCL units)
<Esc>*c750a Rectangle Size Horizontal (750 PCL units)
300b Rectangle Size Vertical (300 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>*p5x Cursor Position Horizontal (5 PCL units)
355Y Cursor Position Vertical (355 PCL units)
<Esc>*c740a Rectangle Size Horizontal (740 PCL units)
290b Rectangle Size Vertical (290 PCL units)
1P Fill Rectangular Area: Solid White Areas
<Esc>*p+1050X Cursor Position Horizontal (+1050 PCL units)
<Esc>*c740a Rectangle Size Horizontal (740 PCL units)
290b Rectangle Size Vertical (290 PCL units)
1P Fill Rectangular Area: Solid White Areas
<Esc>*p+1050X Cursor Position Horizontal (+1050 PCL units)
<Esc>*c740a Rectangle Size Horizontal (740 PCL units)
290b Rectangle Size Vertical (290 PCL units)
1P Fill Rectangular Area: Solid White Areas
<Esc>*p0x Cursor Position Horizontal (0 PCL units)
350Y Cursor Position Vertical (350 PCL units)
<Esc>*p0x Cursor Position Horizontal (0 PCL units)
700Y Cursor Position Vertical (700 PCL units)
<Esc>*c5a Rectangle Size Horizontal (5 PCL units)
900b Rectangle Size Vertical (900 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>*p+900X Cursor Position Horizontal (+900 PCL units)
<Esc>*c3a Rectangle Size Horizontal (3 PCL units)
900b Rectangle Size Vertical (900 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>*p+1050X Cursor Position Horizontal (+1050 PCL units)
<Esc>*c3a Rectangle Size Horizontal (3 PCL units)
900b Rectangle Size Vertical (900 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>*p+900X Cursor Position Horizontal (+900 PCL units)
<Esc>*c5a Rectangle Size Horizontal (5 PCL units)
900b Rectangle Size Vertical (900 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>*p0x Cursor Position Horizontal (0 PCL units)
1750Y Cursor Position Vertical (1750 PCL units)
<Esc>*c2850a Rectangle Size Horizontal (2850 PCL units)
5b Rectangle Size Vertical (5 PCL units)
0P Fill Rectangular Area: Solid Area
<Esc>(0N Primary Font: Symbol Set (0N = ISO 8859-1 Latin 1)
<Esc>(s0p Primary Font: Spacing: Fixed
12h Primary Font: Pitch (12 characters per inch)
0s Primary Font: Style (Upright, solid)
3b Primary Font: Stroke Weight: Bold
4099T Primary Font: Typeface (4099 = Courier)
<Esc>*p0x Cursor Position Horizontal (0 PCL units)
200Y Cursor Position Vertical (200 PCL units)
Landscape page
<Esc>*p50x Cursor Position Horizontal (50 PCL units)
450Y Cursor Position Vertical (450 PCL units)
Box 1
<Esc>*p1100X Cursor Position Horizontal (1100 PCL units)
Box 2
<Esc>*p2150X Cursor Position Horizontal (2150 PCL units)
Box 3
<Esc>(s0p Primary Font: Spacing: Fixed
16h Primary Font: Pitch (16 characters per inch)
0s Primary Font: Style (Upright, solid)
0b Primary Font: Stroke Weight: Medium
4099T Primary Font: Typeface (4099 = Courier)
<Esc>*p50x Cursor Position Horizontal (50 PCL units)
800Y Cursor Position Vertical (800 PCL units)
text 1
<Esc>*p1100X Cursor Position Horizontal (1100 PCL units)
text 2
<Esc>*p2150X Cursor Position Horizontal (2150 PCL units)
text 3
<Esc>E Printer Reset