HP3000-L Archives

October 2007, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Brian Donaldson <[log in to unmask]>
Reply To:
Brian Donaldson <[log in to unmask]>
Date:
Sat, 27 Oct 2007 15:46:37 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (346 lines)
Margie:

I found this web site that gives a bunch of PCL sequences.

I have no idea how current it is, but I hope it works out for you.


Here is the list of PCL sequences --


Job Control Commands 
Function Parameter  Command 
Reset   
Reset --- EscE  
Number of Copies # of Copies (1-99)  Esc&l#X 
Long-Edge (Left) Offset Registration # of Decipoints (1/720")  Esc&l#U 
Long Edge (Top) Offset Registration # of Decipoints (1/720")  Esc&l#Z 


 

Page Control Commands 

Function Parameter  Command 
Page Length and Size   
Paper Source Eject Page  Esc&l0H 
 Paper Tray Auto Feed  Esc&l1H 
 Manual Feedmanual Esc&l2H  
 Manual Feedmanual Envelope Feed  Esc&l3H 
Page Size Executive  Esc&l1A 
 Letterletter Esc&l2A  
 Legallegal Esc&l3A  
 A4a4 Esc&l26A  
 Monarch Esc&l80A  
 COM 10 Esc&l81A  
 DL Esc&l90A  
 C5 Esc&l91A  
Page Length # of Lines  Esc&l#P 
Orientation   
Orientation Portraitportrait  Esc&l0O 
 Landscapelandscape  Esc&l1O 
 Reverse Portraitportrait  Esc&l2O 
 reverse Landscapelandscape  Esc&l3O 
Print Direction # Degrees of Rotation (counterclockwise, 90 degree increments 
only)  Esc&a#P 
Margins & Text Length   
Top Marginmargin # of Lines  Esc&l#E 
Text Length # of Lines  Esc&l#F 
Left Marginmargin # of Columns  Esc&a#L 
Right Marginmargin # of Columns  Esc&a#M 
Clear Horizontal Margins ---  Esc9 
Perforationperf Skip Mode   
Perforationperf Skip Disable  Esc&l0L 
 Enable Esc&l1L  
Horizontal Column Spacing   
Horizontal Motion Index (HMI) # of 1/120" Increments  Esc&k#H 
Vertical Line Spacing   
Vertical Motion Index (VMI) # of 1/48t" Increments  Esc&l#C 
Line Spacing (Lines per inch) 1 line/inch  Esc&l1D 
 2 lines/inch Esc&l2D  
 3 lines/inch Esc&l3D  
 4 lines/inch Esc&l4D  
 6 lines/inch Esc&l6D  
 8 lines/inch Esc&l8D  
 12 lines/inch Esc&l12D  
 16 lines/inch Esc&l16D  
 24 lines/inch Esc&l24D  
 48 lines/inch Esc&l48D  


 

Cursor Positioning 
Function Parameter  Command 
Vertical & Horizontal   
Vertical Position # of Rows  Esc&a#R 
 # of Dots Esc*p#Y  
 # of Decipoints Esc&a#V  
Horizontal Position # of Columns  Esc&a#C 
 # of Dots Esc*p#X  
 # of Decipoints Esc&a#H  
Half Line Feedlf ---  Esc= 
End of Line Termination   
Line Termination CR=CR; LF=LF; FF=FF  Esc&k0G 
 CR=CR+LF; LF=LF; FF=FF  Esc&k1G 
 CR=CR; LF=CR+LF; FF=CR+FF  Esc&k2G 
 CR=CR+LF; LF=CR+LF; FF=CR+FF  Esc&k3g 
Push/Pop Position   
Push/Pop Position Push  Esc&f0S 
 Pop Esc&f1S  


 

Font Selection 
Function Parameter  Command 
Symbol Set Selection   
Primary Symbol Set ISO 60: Norwegian 1  Esc(0D 
 ISO 61: Norwegian 2  Esc(1D 
 ISO 4: United Kingdom  Esc(1E 
 ISO 25: French (Obsolete)  Esc(0F 
 ISO 69: French Esc(1F  
 HP German (Obsolete)  Esc(0G 
 ISO 21: German Esc(1G  
 ISO 15: Italian Esc(0I  
 ISO 14 JIS ASCIIascii  Esc(0K 
 ISO 57: Chinese Esc(2K  
 ECMA-94 Latin 1 Esc(0N  
 ISO 11: Swedish Esc(0S  
 HP Spanish (Obsolete)  Esc(1S 
 ISO 17: Spanish Esc(2S  
 ISO 10: Swedish Esc(3S  
 ISO 16: Portuguese  Esc(4S 
 ISO 84: Portuguese  Esc(5S 
 ISO 85: Spanish Esc(6S  
 ISO 6: ASCIIascii Esc(0U  
 ISO 2: IRV Esc(2U  
 Roman8 Esc(8U  
 Microsoft Publishing  Esc(6J 
 Desktop Esc(7J  
 PS Text Esc(10J  
 Ventura International  Esc(13J 
 Ventura US Esc(14J  
 Ventura ITC Zapf Dingbatsdingbats  Esc(9L 
 PS ITC Zapf Dingbatsdingbats  Esc(10L 
 ITC Zapf Dingbatsdingbats Series 100  Esc(11L 
 ITC Zapf Dingbatsdingbats Series 200  Esc(12L 
 ITC Zapf Dingbatsdingbats Series 300  Esc(13L 
 PS Math Esc(5M  
 Ventura Math Esc(6M  
 Math-8 Esc(8M  
 Legallegal Esc(1U  
 Windows Esc(9U  
 Pi Fontfont Esc(15U  
 PC-8 Esc(10U  
 PC-8 D/N Esc(11U  
 PC 850 Esc(12U  
Spacing   
Primary Spacing Proportionalproportional  Esc(s1P 
 Fixed Esc(s0P  
Pitchpitch   
Primary Pitchpitch # Characters/inch  Esc(s#H 
Set Pitchpitch Mode 10.0  Esc&k0S 
 Compressedcompressed (16.5-16.7)  Esc&k2S 
 Eliteelite (12.0) Esc&k4S  
Pointpoint Size   
Primary Height # Points  Esc(s#V 
Stylestyle   
Primary Stylestyle Upright  Esc(s0S 
 Italic Esc(s1S  
Stroke Weight   
Primary Fontfont Stroke Weight Ultra Thin  Esc(s-7B 
 Extra Thin Esc(s-6B  
 Thin Esc(s-5B  
 Extra Light Esc(s-4B  
 Light Esc(s-3B  
 Demi Light Esc(s-2B  
 Semi Light Esc(s-1B  
 Medium (Normal) Esc(s0B  
 Semi Boldbold Esc(s1B  
 Demi Boldbold Esc(s2B  
 Boldbold Esc(s3B  
 Extra Boldbold Esc(s4B  
 Black Esc(s5B  
 Extra Black Esc(s6B  
 Ultra Black Esc(s7B  
Primary Typefacetypeface   
Typefacetypeface Couriercourier  Esc(s3T 
 Univers Esc(s4148T  
 LinePrinter Esc(s0T  
 CG times Esc(s4101T  
Fontfont Default   
Fontfont Default Primary Fontfont  Esc(3@ 
 Secondary Fontfont  Esc)3@ 
Underline   
Underline Enable Fixed  Esc&d0D 
 Enable Floating Esc&d3D  
 Disable Esc&d@  
Transparent Print   
Transparent Print Data # of Bytes  Esc&p#X[Data] 


 

Font Management 
Function Parameter  Command 
Assign Fontfont ID Fontfont ID #  Esc*#D 
Fontfont and Charactercharacter Control Delete all Fonts  Esc*c0F 
 Delete all Temporary Fonts  Esc*c1F 
 Delete Last Fontfont ID Specified  Esc*c2F 
 Delete Last Charactercharacter Specified  Esc*c3F 
 Make Fontfont Temporary  Esc*c4F 
 Make Fontfont Permanent  Esc*c5F 
 Copy/Assign the Currently Invoked Fontfont as Temporary  Esc*c6F 
Fontfont Selection By ID Num.   
Select Fontfont (with ID #) ID # Primary Fontfont  Esc(#X 
 ID # Secondary Fontfont  Esc)#X 


 

Soft Font Creation 
Function Parameter  Command 
Fontfont Descriptor (Fontfont Header) # of Bytes  Esc)s#W[Data] 
Download Charactercharacter # of Bytes  Esc(s#W[Data] 
Charactercharacter Code Charactercharacter Code # (Decimal)  Esc*c#E 


 

Graphics 
Function Parameter  Command 
Vector Graphicsvector   
Enter HP-GL/2 Mode Use Previous HP-GL/2 Pen Position  Esc%0B 
 Use Current PCLpcl CAP  Esc%1B 
HP-GL/2 Plot Horizontal Size Horizontal Size in Inches  Esc*c#K 
HP-GL/2 Plot Vertical Size Vertical Size in Inches  Esc*c#L 
Set Picture Frame Anchor Pointpoint Set Anchor Point to CAP  Esc*c0T 
Picture Frame Horizontal Size Decipoints  Esc*c#X 
Picture Frame Vertical Size Decipoints  Esc*c#Y 
Raster Graphicsrastergr   
Raster Resolutionresolution 75 Dots/inch  Esc*t75R 
 100 Dots/inch Esc*t100R  
 150 Dots/inch Esc*t150R  
 300 Dots/inch Esc*t300R  
Raster Graphicsrastergr Presentation    
Raster Graphicsrastergr Presentation Rotate Image  Esc*r0F 
 LaserJet Landscapelandscape Compatible  Esc*r3F 
Start Raster Graphicsrastergr Left Raster Graphicsrastergr Marginmargin  
Esc*r0A 
 Current Cursor Esc*r1A  
Raster Y Offset # of Raster Lines of Vertical Movement  Esc*b#Y 
Set Raster Compression Mode Uncoded  Esc*b0M 
 Run-Length Encoded  Esc*b1M 
 Ragged Image File Format  Esc*b2M 
 Delta Row Esc*b3M  
Transfer Raster Data # of Bytes  Esc*b#W[Data] 
End Raster Graphicsrastergr ---  Esc*rB 
Raster Height #Raster Rows  Esc*r#T 
Raster Width #Pixels of the Specified Resolutionresolution  Esc*r#S 


 

The Print Model 
Function Parameter  Command 
Imaging   
Select Pattern Solid Black (default)  Esc*v0T 
 Solid White Esc*v1T  
 HP-Defined Shading Pattern  Esc*v2T 
 HP-Defined Cross-Hatched Pattern  Esc*v3T 
Select Source Transparency Mode Transparent  Esc*v0N 
 Opaque Esc*v1N  
Select Pattern Transparency Mode Transparent  Esc*v0O 
 Opaque Esc*v1O  
Rectangle Dimensions   
Rectangle Width # of Dots  Esc*c#A 
 # of Decipoints Esc*c#H  
Rectangle Height # of Dots  Esc*c#B 
 # of Decipoints Esc*c#V  
Rectangle Area Fill   
Fill Rectangular Area Solid Black  Esc*c0P 
 Erase (Solid White Area Fill)  Esc*c1P 
 Shaded Fill Esc*c2P  
 Cross-hatched Fill  Esc*c3P 
 User Defined Esc*c4P  
 Current Pattern Esc*c5P  
Pattern ID % of Shading or Pattern Type  Esc*c#G 
Shading 2% Grey Esc*c2G  
 10% Grey Esc*c10G  
 15% Grey Esc*c15G  
 30% Grey Esc*c30G  
 45% Grey Esc*c45G  
 70% Grey Esc*c70G  
 90% Grey Esc*c90G  
 100% Grey Esc*c100G  
Pattern 1 Horizontal Line  Esc*c1G 
 2 Vertical Line Esc*c2G  
 3 Diagonal Lines Esc*c3G  
 4 Diagonal Lines Esc*c4G  
 5 Square Grid Esc*c5G  
 6 Diagonal Grid Esc*c6G  


 

Macros 
Function Parameter  Command 
Macro ID Macro ID #  Esc&f#Y 
Macro Control Start Macro Def.  Esc&f0X 
 Stop Macro Def. Esc&f1X  
 Execute Macro Esc&f2X  
 Call Macro Esc&f3X  
 Enable Overlay Esc&f4X  
 Disable Overlay Esc&f5X  
 Delete Macros Esc&f6X  
 Delete all Temp. Macros  Esc&f7X 
 Delete Macro ID Esc&f8X  
 Make Temporary Esc&f9X  
 Make Permanent Esc&f10X  


 

Programming Hints 
Function Parameter  Command 
Display functions ON  EscY 
 OFF EscZ  
End-Of-Line Wrap Enabled  Esc&s0C 
 Disabled Esc&s1C  


Brian Donaldson.


On Tue, 23 Oct 2007 14:46:40 -0400, Shelps, Margie 
<[log in to unmask]> wrote:

>Does anyone know anything about using escape sequences on the HP using 
>QUIZ,  or can anyone point me to a manual regarding the use of escape 
>sequences on the HP using QUIZ?.
>
>For example, I am using code such as:
>DEFINE CODE39-8-1 CHAR*27 = & ;turn on code 3 of 9 font spacing 8.1
>  ESC+"&l0O"+ ESC+"(0Y" + ESC+"(s0p8.1h12v0s0b0T"
>DEFINE FONT-CODE  CHAR*26 = & ;return to original font
>  ESC+"&l0O"+ ESC+"(8U" + ESC+"(s0p10h12v0s0b3T"    
>
>I do know that this has  something to do with setting up the font, but the 
>code has been passed down and I would like to understand what it means as 
I 
>want to change the font size and boldness (if possible)
>
>H E L P 
>
>Thanks is advance 
>
>Margie Shelps
>Eastwood Company 
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2