ENTERING HP-GL/2 MODE LEGEND: Ec = [Ctrl] [P] [Esc] in DOS EDIT The LaserJet will not understand HP-GL/2 commands without first toggling the printer into HP-GL/2 mode. This can be done by using PCL commands. To send PCL commands to the printer you can create a text file using any text editor, and printing the file on the target printer. The following example will be done using the DOS text editor EDIT. CREATING A FILE USING EDIT TO ENTER HP-GL/2 1. At the DOS prompt type EDIT HPGL2.MOD and press ENTER. This will create a new file called HPGL2.MOD that you can save and use to enter HP-GL/2 mode whenever you want. After you press enter, the EDIT screen will appear. 2. The escape character in EDIT is done by pressing CTRL-P and then pressing ESC. (The escape character is produced in numerous other ways for different types of editors. Please consult your user manual for appropriate keys to produce the escape character in your editor). 3. In EDIT the escape character is represented by a left arrow, in this example we will use "Ec". EcE Resets the printer. Ec%0B Enters HP-GL/2 mode with the pen at the default HPGL/2 pen position (The lower left corner of the page). 4. Send these commands to the printer by selecting FILE, PRINT, Full Document and OK if you have a mouse. Or Press ALT, F, P, then ENTER. You will now be in HP-GL/2 Mode. 5. To exit EDIT press ALT, F, then X. EDIT will ask you if you want to save the file now, press ENTER and it will save and exit EDIT. After you have entered this command sequence, the printer will accept HP-GL/2 code and execute it as if the printer was actually a plotter. The best way to use these commands, is to put them at the beginning of your HP-GL/2 file that you want to print on the LaserJet. 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/lj1776.asc, 2KB, , updated: 1993/11/15 17:07, local time: 2018/6/18 05:00,
|©2018 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/lj1776.asc"> language pcl lj1776</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180618 RussellMc, Van Horn, David, Isaac M. Bavaresco, Sean Breheny, Neil, Bob Blick, David C Brown, Denny Esterline, Brent Brown, alan.b.pearce,
* 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!