  PCL/PJL.


                     HP LaserJet 4p PCL Command System

           Source: User's Manual publication number C2005-91027

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                       Job control commands                               
Ĵ
                            Reset                                         
Ĵ
Universal             --           1b 25 2d 31 32 33 34 35 58           
exit                                                                    
Reset                 --           1b 45                                
Number of     # of copies 1-99     1b 26 6c # 58   (78)                 
copies                                                                  
Long edge     # of 1/720 "         1b 26 6c # 55   (75)                 
(left) offset                                                           
registration                                                            
Short edge           -"-           1b 26 6c # 5a   (7a)                 
(top) offset                                                            
registration                                                            
Unit of       Number of units      1b 26 6c # 44   (64)                 
measure       per inch                                                  
Ĵ
                         Page control commands                            
Ĵ
                         Page length & size                               
Ĵ
Paper source  Eject page           1b 26 6c 30 48  (68)                 
              Paper cassette       1b 26 6c 31 48  (68)                 
              Manual feed          1b 26 6c 32 48  (68)                 
              Manual envelope      1b 26 6c 33 48  (68)                 
              feed                                                      
Paper size    Executive            1b 26 6c 31 41  (61)                 
              Letter               1b 26 6c 32 41  (61)                 
              Legal                1b 26 6c 33 41  (61)                 
              A4                   1b 26 6c 32 36 41  (61)              
              B5                   1b 26 6c 31 30 30 41  (61)           
              Monarch              1b 26 6c 38 30 41  (61)              
              COM 10               1b 26 6c 38 31 41  (61)              
              DL                   1b 26 6c 39 30 41  (61)              
              C5                   1b 26 6c 39 31 41  (61)              
              Custom               1b 26 6c 31 30 31 41  (61)           
Page length   # of lines (5-128)   1b 26 6c # 50  (70)                  
Ĵ
                         Orientation                                      
Ĵ
Orientation   Portrait             1b 26 6c 30 4f  (6f)                 
              Landscape            1b 26 6c 31 4f  (6f)                 
              Reverse portrait     1b 26 6c 32 4f  (6f)                 
              Reverse landscape    1b 26 6c 33 4f  (6f)                 
Print         # degrees of         1b 26 61 # 50  (70)                  
direction     rotation                                                  
             (counterclockwise                                          
              90 grad incr only)                                        

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                    Margins & text length                                 
Ĵ
Top margin    # of lines           1b 26 6c # 45  (65)                  
Text length   # of lines           1b 26 6c # 46  (66)                  
Left margin   # of columns         1b 26 61 # 4c  (6c)                  
Right margin  # of columns         1b 26 61 # 4d  (6d)                  
Clear horiz.                       1b 39                                
margins                                                                 
Ĵ
                    Perforation skip mode                                 
Ĵ
Perforation   Disable              1b 26 6c 30 4c  (6c)                 
skip          Enable               1b 26 6c 31 4c  (6c)                 
Ĵ
                    Horizontal column spacing                             
Ĵ
HMI           # of 1/120" incrs.   1b 26 6b # 48   (68)                 
Ĵ
The Horizontal Motion Index (HMI) designates the distance between         
columns in 1/120 " increments. When fixed pitch fonts are selected,       
all printable characters, including the space & backspace, are            
affected by HMI. When proportional fonts are selected, the HMI            
affects only the control code space character. # in the sequence is       
derived from the following formula:                                       
                                                                          
              Horizontal printable area                                   
               * 120 = #                       
              Desired chars per line                                      
Ĵ
                   Vertical line spacing                                  
Ĵ
VMI           # of 1/48"  incrs.   1b 26 6c # 43   (63)                 
Ĵ
The Verical Motion Index (VMI) designates the distance between rows       
in 1/48" increments (the vertical distance the cursor will move for       
a linefeed operation). This command affects the linefeed and half         
linefeed spacing. The factory default VMI is 8, which corresponds         
to 6 lines per inch. # in the sequence is derived from the following      
formula:                                                                  
                                                                          
             Vertical printable area                                      
             * 48 = #                           
             Desired lines per page                                       
Ĵ
Line spacing   1     L/I           1b 26 6c 31 44  (64)                 
Lines/inch     2     -"-           1b 26 6c 32 44  (64)                 
               3                   1b 26 6c 33 44  (64)                 
               4                   1b 26 6c 34 44  (64)                 
               6                   1b 26 6c 36 44  (64)                 
               8                   1b 26 6c 38 44  (64)                 
               12                  1b 26 6c 31 32 44  (64)              
               16                  1b 26 6c 31 36 44  (64)              
               24                  1b 26 6c 32 34 44  (64)              
               48    -"-           1b 26 6c 34 38 44  (64)              

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                         Cursor positioning                               
Ĵ
                     Vertical & horizontal                                
Ĵ
Vertical      # of rows            1b 26 61  # 52  (72)                 
position      # of dots            1b 2a 70  # 59  (79)                 
              # of 1/720"          1b 26 61  # 56  (76)                 
Horizontal    # of columns         1b 26 61  # 43  (63)                 
position      # of dots            1b 2a 70  # 58  (78)                 
              # of decipoints      1b 26 61  # 48  (68)                 
Half LF                            1b 3d                                
Ĵ
                     End of line termination                              
Ĵ
Line         CR=CR LF=LF FF=FF     1b 26 6b 30 47  (67)                 
termination  CR=CR+LF LF=LF        1b 26 6b 31 47  (67)                 
             FF=FF                                                      
             CR=CR LF=CR+LF        1b 26 6b 32 47  (67)                 
             FF=CR+FF                                                   
             CR=CR+LF LF=CR+LF     1b 26 6b 33 47  (67)                 
             FF=CR+FF                                                   
Ĵ
                      Push/pop position                                   
Ĵ
Push/pop     Push                  1b 26 66 30 53  (73)                 
position     Pop                   1b 26 66 31 53  (73)                 

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                      Font selection                                      
Ĵ
           Symbol set selection (additional sets are supported)           
Ĵ
Primary      ISO 60 Norwegian      1b 28 30 44                          
symbol       ISO 4 United Kingdom  1b 28 31 45                          
set          Windows 3.1 Latin 2   1b 28 39 45                          
             ISO 69 French         1b 28 31 46                          
             ISO 21 German         1b 28 31 47                          
             ISO 15 Italian        1b 28 30 49                          
             Microsoft Publishing  1b 28 36 4a                          
             Desk Top              1b 28 37 4a                          
             PS text               1b 28 31 30 4a                       
             MC text               1b 28 31 32 4a                       
             Ventura Internation.  1b 28 31 33 4a                       
             Ventura US            1b 28 31 33 4a                       
             Wingdings             1b 28 35 37 39 4c                    
             PS math               1b 28 35 4d                          
             Ventura math          1b 28 36 4d                          
             Math-8                1b 28 38 4d                          
             Symbol                1b 28 31 39 4d                       
             ISO 8859-1 Latin 1    1b 28 30 4e                          
             ISO 8859-2 Latin 2    1b 28 32 4e                          
             ISO 8859-9 Latin 5    1b 28 35 4e                          
             ISO 11 Swedish        1b 28 30 53                          
             ISO 17 Spanish        1b 28 32 53                          
             Windows 3.1 Latin 5   1b 28 35 54                          
             PC Turkish            1b 28 39 54                          
             ISO 6 ASCII           1b 28 30 55                          
             Legal                 1b 28 31 55                          
             Roman 8               1b 28 38 55                          
             Windows 3.0 Latin 1   1b 28 39 55                          
             PC-8                  1b 28 31 30 55                       
             PC-8 D/N              1b 28 31 31 55                       
             PC 850                1b 28 31 32 55                       
             Pi Font               1b 28 31 35 55                       
             PC-852                1b 28 31 37 55                       
             Windows 3.1 Latin 1   1b 28 31 39 55                       
               (ANSI)                                                   
Ĵ
                         Spacing                                          
Ĵ
Primary      Fixed                 1b 28 73 30 50  (70)                 
spacing      Proportional          1b 28 73 31 50  (70)                 

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                          Pitch                                           
Ĵ
Primary pitch# chars/inch          1b 28 73 # 48  (68)                  
Set pitch      10.0                1b 26 6b 30 53  (73)                 
mode         Compressed 16.5-16.7  1b 26 6b 32 53  (73)                 
             Elite 12.0            1b 26 6b 34 53  (73)                 
Ĵ
                       Point Size                                         
Ĵ
Primary       # points             1b 28 73 # 56  (76)                  
height                                                                  
Ĵ
    Style (additional styles may be obtained from HP font products)       
Ĵ
Primary       Upright (solid)      1b 28 73 30 53  (73)                 
style         Italic               1b 28 73 31 53  (73)                 
              Condensed            1b 28 73 34 53  (73)                 
              Condensed Italic     1b 28 73 35 53  (73)                 
              Compressed           1b 28 73 38 53  (73)                 
              (Extra condensed)                                         
              Expanded             1b 28 73 32 24 53  (73)              
              Outline              1b 28 73 33 32 53  (73)              
              Inline               1b 28 73 36 34 53  (73)              
              Shadowed             1b 28 73 31 32 38 53  (73)           
              Outline Shadowed     1b 28 73 31 36 30 53  (73)           
Ĵ
                Stroke weight                                             
Ĵ
Primary       Ultra thin           1b 28 73 2d 37 42  (62)              
stroke        Extra thin           1b 28 73 2d 36 42  (62)              
weight        Thin                 1b 28 73 2d 35 42  (62)              
              Extra light          1b 28 73 2d 34 42  (62)              
              Light                1b 28 73 2d 33 42  (62)              
              Demi light           1b 28 73 2d 32 42  (62)              
              Semi light           1b 28 73 2d 31 42  (62)              
              Medium (book|text)   1b 28 73 30 42  (62)                 
              Semi bold            1b 28 73 31 42  (62)                 
              Demi bold            1b 28 73 32 42  (62)                 
              Bold                 1b 28 73 33 42  (62)                 
              Extra bold           1b 28 73 34 42  (62)                 
              Black                1b 28 73 35 42  (62)                 
              Extra black          1b 28 73 36 42  (62)                 
              Ultra black          1b 28 73 37 42  (62)                 
Ĵ
                     Primary typeface family                              
Ĵ
Typeface      Albertus             1b 28 73 34 33 36 32 54  (74)        
family        Antique olive        1b 28 73 34 31 36 38 54  (74)        
              Clarendon            1b 28 73 34 31 34 30 54  (74)        
              Coronet              1b 28 73 34 31 31 36 54  (74)        
              Courier              1b 28 73 34 30 39 39 54  (74)        
              Garamond antiqua     1b 28 73 34 31 39 37 54  (74)        
              Letter gothic        1b 28 73 34 31 30 32 54  (74)        
              Marigold             1b 28 73 34 32 39 37 54  (74)        
              CG Omega             1b 28 73 34 31 31 33 54  (74)        
              CG Times             1b 28 73 34 31 30 31 54  (74)        
              Univers              1b 28 73 34 31 34 38 54  (74)        
              Arial                1b 28 73 31 36 36 30 32 54  (74)     
              Times new roman      1b 28 73 31 36 39 30 31 54  (74)     
              Symbol               1b 28 73 31 36 36 38 36 54  (74)     
              Wingdings            1b 28 73 33 31 34 30 32 54  (74)     

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                            Font default                                  
Ĵ
Font default  Primary font         1b 28 33 40                          
              Secondary font       1b 29 33 40                          
Ĵ
                              Underline                                   
Ĵ
Underline     Enable fixed         1b 26 64 30 44  (64)                 
              Enable floating      1b 26 64 33 44  (64)                 
              Disable              1b 26 64 40                          
Ĵ
                             Transparent print                            
Ĵ
Transparent   # of bytes           1b 26 70 # 58                        
print data                                                              
Ĵ
                             Font management                              
Ĵ
Assign font   Font ID #            1b 2a 63 # 44  (64)                  
ID                                                                      
Font & char.  Delete all fonts     1b 2a 63 30 46  (66)                 
control       Delete all tempor.   1b 2a 63 31 46  (66)                 
              fonts                                                     
              Delete last font     1b 2a 63 32 46  (66)                 
              ID specified                                              
              Delete last char.    1b 2a 63 33 46  (66)                 
              specified                                                 
              Make font temporary  1b 2a 63 34 46  (66)                 
              Make font permanent  1b 2a 63 35 46  (66)                 
              Copy/assign the      1b 2a 63 36 46  (66)                 
              currently invoked                                         
              font as temporary                                         
Ĵ
                   Soft symbol set management/creation                    
Ĵ
Set symbol    ID #                1b 2a 63 # 52  (72)                   
set                                                                     
Define symbol # of bytes          1b 28 66 # 57 [Data]                  
set                                                                     
Symbol set    Delete all symbol   1b 2a 63 30 53  (73)                  
control       sets                                                      
              Delete all tempor-  1b 2a 63 31 53  (73)                  
              ary symbol sets                                           
              Delete current soft 1b 2a 63 32 53  (73)                  
              symbol set(Last ID)                                       
              Make current soft   1b 2a 63 34 53  (73)                  
              symbol set tempor-                                        
              ary                                                       
              Make current soft   1b 2a 63 35 53  (73)                  
              symbol set perman-                                        
              ent                                                       

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                       Font selection by ID number                        
Ĵ
Select font   ID # primary font   1b 28 # 58                            
(with ID #)   ID # secondary font 1b 29 # 58                            
Ĵ
                          Soft font creation                              
Ĵ
Font header   # of bytes          1b 29 73 # 57 [Data]                  
Download char # of bytes          1b 28 73 # 57 [Data]                  
Char code     Character code #    1b 2a 63 # 45                         
              decimal                                                   
Ĵ
                            Graphics                                      
Ĵ
                         Raster graphics                                  
Ĵ
Raster        75                  1b 2a 74 37 35 52  (72)               
resolution    100                 1b 2a 74 31 30 30 52  (72)            
dots/inch     150                 1b 2a 74 31 35 30 52  (72)            
              200                 1b 2a 74 32 30 30 52  (72)            
              300                 1b 2a 74 33 30 30 52  (72)            
              600                 1b 2a 74 36 30 30 52  (72)            
Ĵ
                            Orientation                                   
Ĵ
                         Raster graphics                                  
Ĵ
Raster        Follows orientation 1b 2a 72 30 46  (66)                  
graphics      Follows phys. page  1b 2a 72 33 46  (66)                  
presentation                                                            
Start raster  Left raster graphic 1b 2a 72 30 41  (61)                  
graphics      margin                                                    
              Current cursor      1b 2a 72 31 41  (61)                  
Raster Y      # raster lines of   1b 2a 62 # 59  (79)                   
offset        vertical movement                                         
Set raster    Unencoded           1b 2a 62 30 4d  (6d)                  
compression   Run-length encoded  1b 2a 62 31 4d  (6d)                  
mode          Tagged image file   1b 2a 62 32 4d  (6d)                  
              format                                                    
              Delta row           1b 2a 62 33 4d  (6d)                  
              Adaptive compress.  1b 2a 62 35 4d  (6d)                  
Transfer      # of bytes          1b 2a 62 # 57 [Data]                  
raster data                                                             
by row                                                                  
End raster    Old version         1b 2a 72 42  (62)                     
graphics      Preferred           1b 2a 72 43  (63)                     
Raster height #raster rows        1b 2a 72 # 54  (74)                   
Raster width  # pixels of         1b 2a 72 # 53  (73)                   
              specified resolut.                                        

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                           The print model                                
Ĵ
                               Imaging                                    
Ĵ
Select curr- Solid black(default) 1b 2a 76 30 54  (74)                  
ent pattern  Solid white          1b 2a 76 31 54  (74)                  
             HP-defined shading   1b 2a 76 32 54  (74)                  
             pattern                                                    
             HP-defined cross-    1b 2a 76 33 54  (74)                  
             hatched pattern                                            
             User defined pattern 1b 2a 76 34 54  (74)                  
Source       Transparent          1b 2a 76 30 4e  (6e)                  
trancparency Opaque               1b 2a 76 31 4e  (6e)                  
mode                                                                    
Pattern      Transparent          1b 2a 76 30 4f  (6f)                  
transparency Opaque               1b 2a 76 31 4f  (6f)                  
mode                                                                    
Ĵ
                          Rectangle dimensions                            
Ĵ
Rectangle     # of dots           1b 2a 63 # 41  (61)                   
width         # of 1/720"         1b 2a 63 # 48  (68)                   
(horizontal                                                             
 size)                                                                  
Rectangle     # of dots           1b 2a 63 # 42  (62)                   
height        # of 1/720"         1b 2a 63 # 56  (76)                   
(vertical                                                               
 size)                                                                  
Ĵ
                       Rectangular area fill                              
Ĵ
Fill rect-    Solid black         1b 2a 63 30 50  (70)                  
angular area  Erase (solid white) 1b 2a 63 31 50  (70)                  
              Shaded fill         1b 2a 63 32 50  (70)                  
              Cross-hatched fill  1b 2a 63 33 50  (70)                  
              User-defined        1b 2a 63 34 50  (70)                  
              Current pattern     1b 2a 63 35 50  (70)                  
Pattern ID    % of shading or     1b 2a 63 # 47  (67)                   
              type of pattern or                                        
              user pattern ID                                           
Shading %gray 2                   1b 2a 63 32 47  (67)                  
              10                  1b 2a 63 31 30 47  (67)               
              15                  1b 2a 63 31 35 47  (67)               
              30                  1b 2a 63 33 30 47  (67)               
              45                  1b 2a 63 34 35 47  (67)               
              70                  1b 2a 63 37 30 47  (67)               
              90                  1b 2a 63 39 30 47  (67)               
              100                 1b 2a 63 31 30 30 47  (67)            
Pattern       1 horiz. line       1b 2a 63 31 47  (67)                  
              2 vert. lines       1b 2a 63 32 47  (67)                  
              3 diagonal lines    1b 2a 63 33 47  (67)                  
              4 diagonal lines    1b 2a 63 34 47  (67)                  
              5 square grid       1b 2a 63 35 47  (67)                  
              6 diagonal grid     1b 2a 63 36 47  (67)                  

Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
               User defined pattern creation/management                   
Ĵ
Define        # of bytes          1b 2a 63 # 57 [Data]                  
pattern                                                                 
User-defined  Delete all patterns 1b 2a 63 30 51  (71)                  
pattern       Delete all temp.    1b 2a 63 31 51  (71)                  
control       patterns                                                  
              Delete current      1b 2a 63 32 51  (71)                  
              pattern                                                   
              Make pattern temp.  1b 2a 63 34 51  (71)                  
              Make pattern perm.  1b 2a 63 35 51  (71)                  
Set pattern   Rotate with         1b 2a 70 30 52  (72)                  
reference     orientation                                               
              Follow physical     1b 2a 70 31 52  (72)                  
              page                                                      
Ĵ
                             Macros                                       
Ĵ
Macro ID      Macro ID #          1b 26 66 # 59  (79)                   
Macro control Start macro def.    1b 26 66 30 58  (78)                  
              Stop macro def.     1b 26 66 31 58  (78)                  
              Execute macro       1b 26 66 32 58  (78)                  
              Call macro          1b 26 66 33 58  (78)                  
              Enable overlay      1b 26 66 34 58  (78)                  
              Disable overlay     1b 26 66 35 58  (78)                  
              Delete macros       1b 26 66 36 58  (78)                  
              Delete all temp.    1b 26 66 37 58  (78)                  
              macros                                                    
              Delete macro ID     1b 26 66 38 58  (78)                  
              Make temporary      1b 26 66 39 58  (78)                  
              Make permanent      1b 26 66 31 30 58  (78)               
Ĵ
                           Status readback                                
Ĵ
Set status    Invalid location    1b 2a 73 30 54  (74)                  
readback      Currently selected  1b 2a 73 31 54  (74)                  
location type All locations       1b 2a 73 32 54  (74)                  
              Internal            1b 2a 73 33 54  (74)                  
              Downloaded          1b 2a 73 34 54  (74)                  
              Cartridge           1b 2a 73 35 54  (74)                  
              User-installed SIMM 1b 2a 73 37 54  (74)                  
Set status    All entities of the 1b 2a 73 30 55  (75)                  
readback      location type                                             
location unit Entity 1 or tempor. 1b 2a 73 31 55  (75)                  
              Entity 2 or perman. 1b 2a 73 32 55  (75)                  
              Entity 3            1b 2a 73 33 55  (75)                  
              Entity 4            1b 2a 73 34 55  (75)                  
Inquire       Font                1b 2a 73 30 49  (69)                  
status read-  Macro               1b 2a 73 31 49  (69)                  
back entity   User-defined pattrn 1b 2a 73 32 49  (69)                  
              Symbol set          1b 2a 73 33 49  (69)                  
              Font extended       1b 2a 73 34 49  (69)                  
Flush all     Flush all complete  1b 26 72 30 46  (66)                  
pages         pages                                                     
              Flush all page data 1b 26 72 31 46  (66)                  


Ŀ
 Function        Parameter                 Hex Value                    
Ĵ
                           Other: miscellaneous                           
Ĵ
                         1b 2a 73 31 4d                         
                                                                 
                                                                  
宪஫                      1b 2a 73 # 58                          
                        1b 26 73 # 43                          
⨦                                                              
࠭                                                                 
/몫 -             1b 59                                  
 㭪権  몫           1b 5a                                  
  ०                                                           



        HP DESKJET 600 PRINTER SERIES - PRINTER COMMANDS

-----------------+----------------+--------------------+---------------------
Printer Feature  |Printer Command |Decimal Value       |  Hexadecimal Value
-----------------+----------------+--------------------+---------------------
Printer Control
Reset                EcE           027 069                  1B 45
Self Test            EcZ           027 122                  1B 7A

Paper Input Control (Media Source)
Eject Page           Ec&l0H        027 038 108 048 072      1B 26 6C 30 48
Feed from Tray       Ec&l1H        027 038 108 049 072      1B 26 6C 31 48
Envelope Feed        Ec&l3H        027 038 108 051 072      1B 26 6C 33 48

Underline
Single Fixed         Ec&d1D        027 038 100 049 068      1B 26 64 31 44
Double Fixed         Ec&d2D        027 038 100 050 068      1B 26 64 32 44
Single Floating      Ec&d3D        027 038 100 051 068      1B 26 64 33 44
Double floating      Ec&d4D        027 038 100 052 068      1B 26 64 34 44
Turn off             Ec&d@         027 038 100 064          1B 26 64 40

Line Termination
CR=CR;LF=LF; FF=FF   Ec&k0G        027 038 107 048 071      1B 26 6B 30 47
CR=CR+LF;LF=LF FF=FF Ec&k1G        027 038 107 049 071      1B 26 6B 31 47
CR=CR; LF=CR+LF;
FF=CR+FF             Ec&k2G        027 038 107 050 071      1B 26 6B 32 47
CR=CR+LF; LF=CR+LF;
FF=CR+FF             Ec&k3G        027 038 107 051 071      1B 26 6B 33 47

End 0f Line Wrap
Turn on              Ec&s0C        027 038 115 048 067      1B 26 73 30 43
Turn off             Ec&s1C        027 038 115 049 067      1B 26 73 31 43

Transparent Print Mode
No of bytes          Ec&p#X [data] 027 038 112 # 088 [data] 1B 26 70 # 58
[data]

Display Functions Mode
Turn on              EcY           027 089                  1B 59
Turn off             EcZ           027 090                  1B 5A

                                    Page Control

Orientation
Portrait             Ec&l0O        027 038 108 048 079      1B 26 6C 30 4F
Landscape            Ec&l1O        027 038 108 049 079      1B 26 6C 31 4F

Page Size

Executive            Ec&l1A        027 038 108 049 065      1B 26 6C 31 41
Letter               Ec&l2A        027 038 108 050 065      1B 26 6C 32 41
Legal                Ec&l3A        027 038 108 051 065      1B 26 6C 33 41
A5 ISO/JIS           Ec&l25A       027 038 108 050 055 065  1B 26 6C 32 37 41
A4 ISO/JIS           Ec&l26A       027 038 108 050 054 065  1B 26 6C 32 36 41
B5 JIS               Ec&l45A       027 038 108 052 053 065  1B 26 6C 34 35 41
Card - 4 x 6         Ec&l74A       027 038 108 055 052 065  1B 26 6C 37 34 41
Card - 5 x 8         Ec&l75A       027 038 108 055 053 065  1B 26 6C 37 35 41
Card - A6 ISO/JIS    Ec&l24A       027 038 108 050 052 065  1B 26 6C 32 34 41
Card -hagaki         Ec&l71A       027 038 108 055 049 065  1B 26 6C 37 31 41
Com-10               Ec&l81A       027 038 108 056 049 065  1B 26 6C 38 31 41
Int'l DL envelope    Ec&l90A       027 038 108 057 048 065  1B 26 6C 39 30 41
Int'l C6 envelope    Ec&l92A       027 038 108 057 050 065  1B 26 6C 39 32 41
US A2 Envelope       Ec&l109A      027 038 108 049 048 057  1B 26 6C 31 30 39
                                   065                      41

Line Spacing
Lines per inch
no. of lines         Ec&l#D        027 038 108 # 068        1B 26 6C # 44

Page Length
# if Lines (5-128)   Ec&l#P        027 038 108 #...# 080    1B 26 6C #...# 50

Perforation Skip
On                   Ec&l1L        027 038 108 049 076      1B 26 6C 31 4C
Off                  Ec&l0L        027 038 108 048 076      1B 26 6C 30 4C

Top Margin
# of Lines           Ec&l#E        027 038 108 #...# 069    1B 26 6C #...# 45

Text Length
# of Lines           Ec&l#F        027 038 108 #...# 070    1B 26 6C #...# 46

Side Margins
Clear                Ec9           027 057                  1B 39
Left (column no.)    Ec&a#L        027 038 097 #...# 076    1B 26 61 #...# 4C
Right (column no.)   Ec&a#M        027 038 097 #...# 077    1B 26 61 #...# 4D

Text Scale
Off                  Ec&k5W        027 038 107 053 087      1B 26 6B 35 57
On                   Ec&k6W        027 038 107 054 087      1B 26 6B 36 57

Horizontal Motion Index (HMI)

# of 1/120" Increments
                     Ec&k#H        027 038 107 #...# 072    1B 26 6B #...# 48

The Horizontal Motion Index (HMI) command designates the distance between
columns in 1/120 inch increments.
When fixed pitch fonts are selected, all printable characters, including
the space and backspace characters, are affected by HMI. When proportional
fonts are selected, the HMI affects only the control code space character.
The default HMI is equal to the pitch value in the font header. The printer
escape sequence that you send is as follows:
Ec&k#H   # is equal to a variable that is derived from the following formula:

Horizontal Printable Area
____________________________    X  120  =  #
Desired Characters Per Line


Horizontal Position
# of Columns         Ec&a#C        027 038 097 #...# 067    1B 26 61 #...# 43
# of Dots            Ec*p#X        027 042 112 #...# 088    1B 2A 70 #...# 58
# of Decipoints      Ec&a#H        027 038 097 #...# 072    1B 26 61 #...# 48
Half Line Feed       Ec=           027 061                  1B 3D

Vertical Motion Index (VMI)
# of 1/48" Increments
                     Ec&l#C        027 038 108 #...# 067    1B 26 6C #...# 43

The Vertical Motion Index (VMI) command designates the distance between rows
in 1/48 inch increments (the vertical distance the cursor will move for a line
feed operation). This command affects the line feed and half line feed spacing.
The factory default VMI is 8, which corresponds to 6 lines per inch. VMI can
be selected from the printer control panel or by sending a printer escape
sequence: Ec&#C . # is equal to a variable that is derived from the following
formula:

Vertical Printable Area
_____________________          X  48  =  #

Desired Lines Per Page


Vertical Position
# of Rows            Ec&a#R        027 038 097 #...# 082    1B 26 61 #...# 52
# of Dots            Ec*p#Y        027 042 112 #...# 089    1B 2A 70 #...# 59
# of Decipoints      Ec&a#V        027 038 097 #...# 086    1B 26 61 #...# 56

                              Font Selection

Symbol Set
PC-8                 Ec(10U        027 040 049 048 085      1B 28 31 30 55
HP Roman8            Ec(8U         027 040 056 085          1B 28 38 55
PC-8 Danish/
Norwegian            Ec(11U        027 040 049 049 085      1B 28 31 31 55
PC 850               Ec(12U        027 040 049 050 085      1B 28 31 32 55
ECMA-94 Latin 1      Ec(0N         027 040 048 078          1B 28 30 4E
German (ISO 21)      Ec(1G         027 040 049 071          1B 28 31 47
French (ISO 69)      Ec(1F         027 040 049 070          1B 28 31 46
Italian (ISO 15)     Ec(0I         027 040 048 073          1B 28 30 49
Spanish (ISO 17)     Ec(2S         027 040 050 083          1B 28 32 53
Swedish (ISO 11)     Ec(0S         027 040 048 083          1B 28 30 53
Norwegian1 (ISO 60)  Ec(0D         027 040 048 068          1B 28 30 44
ISO 4:United Kingdom Ec(1E         027 040 049 069          1B 28 31 45
ANSI ASCII (ISO 6)   Ec(0U         027 040 048 085          1B 28 30 55
HP Legal             Ec(1U         027 040 049 085          1B 28 31 55
PC-8 Turkish         Ec(9T         027 040 057 084          1B 28 39 54
PC-852               Ec(17U        027 040 049 055 085      1B 28 31 37 55
ISO 8859/2 Latin 2   Ec(2N         027 040 050 078          1B 28 32 4E
ISO 8859/5 Latin 5   Ec(5N         027 040 053 078          1B 28 35 4E
Microsoft (R) Windows
(R) 3.1 Latin 1      Ec(19U        027 040 049 057 085      1B 28 31 39 55
Microsoft Windows 3.1
Latin 2              Ec(9E         027 040 057 069          1B 28 39 45
Microsoft Windows 3.1
Latin 5              Ec(5T         027 040 053 084          1B 28 35 54

   Refer to the PCL-5 Comparison Guide for additional supported symbol sets.

Spacing
Proportional         Ec(s1P        027 040 115 049 080      1B 28 73 31 50
Fixed                Ec(s0P        027 040 115 048 080      1B 28 73 30 50


Print Pitch
# Characters/inch    Ec(s#H        027 040 115 #...# 072    1B 28 73 #...# 48

Point Size (Character Height)
# of 1/72nd inch     Ec(s#V        027 040 115 #...# 086    1B 28 73 #...# 56

Style
Upright              Ec(s0S        027 040 115 048 083      1B 28 73 30 53
Italic               Ec(s1S        027 040 115 049 083      1B 28 73 31 53

Stroke Weight
Bold                 Ec(s3B        027 040 115 051 066      1B 28 73 33 42
Normal               Ec(s0B        027 040 115 048 066      1B 28 73 30 42
Extra Black
(optional)           Ec(s7B        027 040 115 055 066      1B 28 73 37 42

Typeface
Courier              Ec(s3T        027 040 115 051 084      1B 28 73 33 54
CG Times             Ec(s4101T     027 040 115 052 049      1B 28 73 34 31
                                   048 049 084              30 31 54
Letter Gothic        Ec(s6T        027 040 115 054 084      1B 28 73 36 54
Univers              Ec(s52T       027 040 115 053 050 084  1B 28 73 35 32 54

Print Quality
Letter               Ec(s2Q        027 040 115 050 081      1B 28 73 32 51
Draft EconoMode      Ec(s1Q        027 040 115 049 081      1B 28 73 31 51

Download Font Management
Font ID no.          Ec*c#D        027 042 099 # 068 (100)  1B 2A 63 # 44
ASCII code no.       Ec*c#E        027 042 099 # 069 (65)   1B 2A 63 # 45
Delete All           Ec*c0F        027 042 099 048 070      1B 2A 63 30 46
Delete Temporary     Ec*c1F        027 042 099 049 070      1B 2A 63 31 46
Delete last          Ec*c2F        027 042 099 050 070      1B 2A 63 32 46
Make Temporary       Ec*c4F        027 042 099 052 070      1B 2A 63 34 46
Make Permanent       Ec*c5F        027 042 099 053 070      1B 2A 63 35 46
Create font number
of bytes             Ec)s#W[data]  027 041 115 # 087 [data] 1B 29 73 # 57[data]
Download chr.
No. of bytes         Ec(s#W[data]  027 040 115 # 087 [data] 1B 28 73 # 57
[data]

                                Raster Graphics

Start Raster Graphics
At left most position
                     Ec*r0A        027 042 114 048 065      1B 2A 72 30 41
Current Cursor
Position             Ec*r1A        027 042 114 049 065      1B 2A 72 31 41

End Raster Graphics
End Graphics         Ec*rC         027 042 114 067          1B 2A 72 43

Resolution
75 dots per inch     Ec*t75R       027 042 116 055 053 082  1B 2A 74 37 35 52
150 dots per inch    Ec*t150R      027 042 116 049 053 048  1B 2A 74 31 35 30
52
                                   082
300 dots per inch    Ec*t300R      027 042 116 051 048 048  1B 2A 74 33 30 30
52
                                   082
600 dots per inch    Ec*t600R      027 042 116 054 048 048  1B 2A 74 36 30 30
52
                                   082
Configure Raster
Data                 Ec*g#W        027 042 103 # 087        1B 2A 67 # 57

Set Raster Graphics Width
# of pixels          Ec*r#S        027 042 114 # 083        1B 2A 72 # 53

Add Raster Graphics Compression
Method0              Ec*b0M        027 042 098 048 077      1B 2A 62 30 4D
Method1              Ec*b1M        027 042 098 049 077      1B 2A 62 31 4D
Method2              Ec*b2M        027 042 098 050 077      1B 2A 62 32 4D
Method3              Ec*b3M        027 042 098 051 077      1B 2A 62 33 4D
Method9              Ec*b9M        027 042 098 057 077      1B 2A 62 39 4D
Seed Row Source      Ec*b#S        027 042 098 # 083        1B 2A 62 # 53

Transfer Raster Graphics
Number of byes       Ec*b#W[data]  027 042 098 # 087 [data] 1B 2A 62 # 57
[data]

Transfer graphics
data by plane        Ec*b#V[data]  027 042 098 # 086 [data] 1B 2A 62 # 56
[data]

Relative Vertical Pixel Movement (formerly known as Y offset)
# of dots            Ec*b#Y        027 042  098 # 089       1B 2A 62 # 59

Set Number of Raster Planes Per Row
Single plane palette Ec*r1U        027 042 114 049 085      1B 2A 72 31 55
3 planes,CMY palette Ec*r-3U       027 042 114 045 051 085  1B 2A 72 2D 33 55
3 planes,RGB palette Ec*r3U        027 042 114 051 085      1B 2A 72 33 55
4 planes,
KCMY palette         Ec*r-4U       027 042 114 045 052 085  1B 2A 72 2D 34 55

Configure Raster Data (CRD)
Format 2             Ec*g#W        027 042 103 # 087        1B 2A 67 # 57

Color Text (graphics)
Foreground color     Ec*v#S        027 042 118 # 083        1B 2A 76 # 53

Graphics Image Improvement
Raster graphics
depletion            Ec*o#D        027 042 111 # 068        1B 2A 6F # 44

PJL:

<ESC>%-12345X       UEL/SPJL      室  ० PJL
@PJL COMMENT <᫮>
@PJL INITIALIZE
@PJL RESET
@PJL SET [lparm]
@PJL DEFAULT [lparm]
@PJL ENTER LANGUAGE = parm
@PJL
  易⥫쭮 稢 LF.
