USING THE SYMBOL MODE COMMAND The Symbol Mode ( SM ) command, draws the specified symbol at each X, Y coordinate point using the PA , PD , PE , PR , and PU commands. The SM command includes an automatic pen down; after the symbol is drawn the pen position and line attributes are restored. For more information see the PCL 5 Printer Language Technical Reference Manual. The syntax for this command is as follows: SM character; or SM; LEGEND: Ec = [Ctrl] [P] [Esc] in DOS EDIT. EcE Resets the printer. Ec%0B Enters HP-GL/2 mode. IN; Initializes HP-GL/2 mode. SP1; Selects pen number 1, (black). Even though there is no physical pen, the SP command must be used to enable printing. SM*;PA200,1000;PD200, 1230,400,1560; Enters the symbol mode, using the asterisk (*) as the symbol; moves to absolute location (200,1000), sets the pen down, and draws first to (200,1230), then to (400,1560). The SM command will cause an asterisk to be printed at each X, Y coordinate of this command. NOTE: To disable the SM command, so it will not print an asterisk at each X, Y coordinate specified, send the command "SM;". By sending this command with no parameters, the symbol mode is terminated. PD700,1670,1300,1600, 1800,2000;PU; Places the pen down and draws from the current pen position (400,1560) to (700,1670), to (1300,1600), and to (1800,2000). The PU then lifts the pen. SM3;PA700,500,900,450, 1300,850; Enters the symbol mode again with a new symbol of "3" as the current symbol; prints a "3" at the following locations: (700,500), (900,450), and (1300,850). PA1750,1300,2500, 1350;PU;SM; With the pen still up and "3" still the current symbol, this prints a "3" at locations (1750,1300) and (2500,1350); lifts the pen, and exits the symbol mode. PA3300,1100;PD;SMY; PA4400,1890;SMZ; Moves to (3300,1100), sets the pen down, and enters symbol mode with "Y" as the symbol; draws a line to (4400,1890), and prints a "Y"; re- enters the symbol mode with the new symbol "Z". PA4600,1590;SMX; PA3300,1100;PU; Draws a line to (4600,1590) and prints a "Z". Specifies "X" as the next symbol, and moves to (3300,1100); prints an "X", and lifts the pen. SMA;PA4000,400;CI400; Specifies "A" as the new symbol and moves to (4000,400); draws a circle with a radius of 400 plotter units (plu) and prints an "A: in the center. SM*;PA2600,700;EA1500,200; Specifies "*" as the new symbol and moves to (2600,700); edges a rectangle with the EA command, and prints an asterisk, "*" at the starting point. Ec%0A Enters PCL mode. EcE Sends a reset to end the job and eject the page. Copyright Hewlett-Packard Co. 1993 The information contained herein is subject to change without notice. Hewlett-Packard shall not be liable for incidental or consequential damages in connection with the use of this material.