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.
file: /Techref/language/pcl/lj2010.asc, 5KB, , updated: 1993/11/15 17:21, local time: 2024/10/9 15:56,
98.80.143.34:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/Techref/language/pcl/lj2010.asc"> language pcl lj2010</A> |
Did you find what you needed? |
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to www.piclist.com! |
.