HP PCL/PJL reference - PCL 5 Comparison Guide
Page 147
..., it turns off symbol mode (executes SM;). • LM affects the way SM and LB interpret bytes. • LM does not affect the DT or DL commands. • DT allows 8-bit terminator definitions only. To terminate a label in modes 0 and 2 (8-bit modes) when a 16-bit character set is selected. The only exception...
..., it turns off symbol mode (executes SM;). • LM affects the way SM and LB interpret bytes. • LM does not affect the DT or DL commands. • DT allows 8-bit terminator definitions only. To terminate a label in modes 0 and 2 (8-bit modes) when a 16-bit character set is selected. The only exception...
HP PCL/PJL reference - PCL 5 Comparison Guide
Page 225
... Printer Commands A-21 DR [run ,rise]; ES [width[,height]] SD [kind,value ... [,kind,value]]; LB [char ... [char]]1bterm DT [1bterm[,mode]]; PW [width[,pen]]; FT [fill_type[,option1[,option2]]]; gapn]]; * Parameters in brackets are optional. LA [kind,value ... [,kind... 1 for black (recommended) or 0 for white) SM [char]; RF [index[,width,height,pen_nbr ... LO [position]; HP-GL/2 Commands (continued) FUNCTION Select Standard Font Select Alternate Font Absolute Direction Relative Direction Absolute Character Size Relative Character Size Character...
... Printer Commands A-21 DR [run ,rise]; ES [width[,height]] SD [kind,value ... [,kind,value]]; LB [char ... [char]]1bterm DT [1bterm[,mode]]; PW [width[,pen]]; FT [fill_type[,option1[,option2]]]; gapn]]; * Parameters in brackets are optional. LA [kind,value ... [,kind... 1 for black (recommended) or 0 for white) SM [char]; RF [index[,width,height,pen_nbr ... LO [position]; HP-GL/2 Commands (continued) FUNCTION Select Standard Font Select Alternate Font Absolute Direction Relative Direction Absolute Character Size Relative Character Size Character...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 296
...and print "PCL Print Job." The program first enters PCL, and then immediately enters HP-GL/2 to draw a box and print "PostScript Job." %-12345X@PJL @PJL COMMENT **Beginning of PCL Job** @PJL COMMENT **Enter PCL (& HP-GL/2)* @PJL ENTER LANGUAGE = PCL E%0BIN;SP1;PA1010,1010;PW2.2; ~PD5310,...1010,5310,5310,1010,5310,1010,1010; ~PU;PA2280,3040; ~SD1,277,2,1,4,20,5,0,6,0,7,4148; ~DT*;SS;LBPCL Print Job*; ~%0AE ~%-12345X@PJL @PJL COMMENT *** END OF...
...and print "PCL Print Job." The program first enters PCL, and then immediately enters HP-GL/2 to draw a box and print "PostScript Job." %-12345X@PJL @PJL COMMENT **Beginning of PCL Job** @PJL COMMENT **Enter PCL (& HP-GL/2)* @PJL ENTER LANGUAGE = PCL E%0BIN;SP1;PA1010,1010;PW2.2; ~PD5310,...1010,5310,5310,1010,5310,1010,1010; ~PU;PA2280,3040; ~SD1,277,2,1,4,20,5,0,6,0,7,4148; ~DT*;SS;LBPCL Print Job*; ~%0AE ~%-12345X@PJL @PJL COMMENT *** END OF...
HP PCL/PJL reference - Printer Job Language Technical Reference Manual
Page 297
fprintf(prn,"SD1,277,2,1,4,20,5,0,6,0,7,4148;"); fprintf(prn,"DT*;SS;LBPCL Print Job*;"); /** Print text **/ fprintf(prn,"\033%%0A\f\033E"); /*Exit HP-GL/2, , E*/ fprintf(prn,"\033%%-12345X@PJL \n"); /*** UEL & @PJL ***/ fprintf(prn,"@PJL COMMENT *** END OF PCL JOB & *** ...5310,5310,1010,5310,1010,1010;"); fprintf(prn,"@PJL ENTER LANGUAGE = PCL \n"); fprintf(prn,"0 -300 rlineto\r"); fprintf(prn,"@PJL COMMENT **Enter PCL (& HP-GL/2)* \n"); fprintf(prn,"PU;PA2280,3040;"); /* SWITCH.C (Switching Printer Languages) */ #include main() Notice the %% required to print the % ...
fprintf(prn,"SD1,277,2,1,4,20,5,0,6,0,7,4148;"); fprintf(prn,"DT*;SS;LBPCL Print Job*;"); /** Print text **/ fprintf(prn,"\033%%0A\f\033E"); /*Exit HP-GL/2, , E*/ fprintf(prn,"\033%%-12345X@PJL \n"); /*** UEL & @PJL ***/ fprintf(prn,"@PJL COMMENT *** END OF PCL JOB & *** ...5310,5310,1010,5310,1010,1010;"); fprintf(prn,"@PJL ENTER LANGUAGE = PCL \n"); fprintf(prn,"0 -300 rlineto\r"); fprintf(prn,"@PJL COMMENT **Enter PCL (& HP-GL/2)* \n"); fprintf(prn,"PU;PA2280,3040;"); /* SWITCH.C (Switching Printer Languages) */ #include main() Notice the %% required to print the % ...
HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Reference Guide
Page 37
... = number (or fractional number) of distance between P1Y and P2Y. left , up ) 0 (-90 degrees - normal line feed) 1 (+90 degrees - HP-GL/2 Character Group (continued) Relative Label Direction Specifies the slope of labels relative to be used as terminator mode = 0 (print label terminator) 1 (do not... print terminator) Define Variable Text Path Specifies the label path as right, left ) 3 (-270 degrees - DT [ lblterm [,mode ] ]; FI font ID [;] font ID = Font ID number assigned in PCL mode. 35 DR [ run,rise] [;] run = percentage of...
... = number (or fractional number) of distance between P1Y and P2Y. left , up ) 0 (-90 degrees - normal line feed) 1 (+90 degrees - HP-GL/2 Character Group (continued) Relative Label Direction Specifies the slope of labels relative to be used as terminator mode = 0 (print label terminator) 1 (do not... print terminator) Define Variable Text Path Specifies the label path as right, left ) 3 (-270 degrees - DT [ lblterm [,mode ] ]; FI font ID [;] font ID = Font ID number assigned in PCL mode. 35 DR [ run,rise] [;] run = percentage of...
HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Reference Guide
Page 38
...SA [;] Scalable or Bitmap Fonts Specifies the type of the characters within a label. lblterm = Label terminator (default Ext or defined with DT command). Most often used if found in mode 0 when a 16-bit character set such as mode 1 except that vertical substitutes are used...Technical Reference Manual). Used only in a VT segment of the current font. 3 Same logic as Kanji. Select Alternate Font Selects the font designated by AD. HP-GL/2 Character Group (continued) Label Prints text using the currently selected font. text lblterm [;] text . . . text = Any characters. LO [ position]...
...SA [;] Scalable or Bitmap Fonts Specifies the type of the characters within a label. lblterm = Label terminator (default Ext or defined with DT command). Most often used if found in mode 0 when a 16-bit character set such as mode 1 except that vertical substitutes are used...Technical Reference Manual). Used only in a VT segment of the current font. 3 Same logic as Kanji. Select Alternate Font Selects the font designated by AD. HP-GL/2 Character Group (continued) Label Prints text using the currently selected font. text lblterm [;] text . . . text = Any characters. LO [ position]...
HP PCL/PJL reference (PCL 5 Printer Language) - Technical Quick Reference Guide
Page 50
...or Bitmap Fonts Standard Font Definition AD [ kind,value...[,kind,value]] [;] CF[ fill mode[,edge pen ] ] [;] CP [ spaces,lines] [;] DI[ run,rise] [;] DR[ run, rise] [;] DT[ lblterm[,mode ] ] ; pen number] ] [;] SM[ character] [;] SP[ pen] [;] SV[ screen type[,option1 [,option2 ] ] ] [;] TR[ n] [;] UL[ index[,gap1 . . . ... Data SI[ width,height] [;] SL[ tangent of angle] [;] SR[ width,height] [;] SS[;] TD[ mode] [;] 48 Polygon Group (HP-GL/2) Edge Rectangle Absolute Edge Polygon Edge Rectangle Relative Edge Wedge EA X,Y[;] EP[;] ER X,Y[;] EW radius, start angle, sweep Fill Polygon Polygon ...
...or Bitmap Fonts Standard Font Definition AD [ kind,value...[,kind,value]] [;] CF[ fill mode[,edge pen ] ] [;] CP [ spaces,lines] [;] DI[ run,rise] [;] DR[ run, rise] [;] DT[ lblterm[,mode ] ] ; pen number] ] [;] SM[ character] [;] SP[ pen] [;] SV[ screen type[,option1 [,option2 ] ] ] [;] TR[ n] [;] UL[ index[,gap1 . . . ... Data SI[ width,height] [;] SL[ tangent of angle] [;] SR[ width,height] [;] SS[;] TD[ mode] [;] 48 Polygon Group (HP-GL/2) Edge Rectangle Absolute Edge Polygon Edge Rectangle Relative Edge Wedge EA X,Y[;] EP[;] ER X,Y[;] EW radius, start angle, sweep Fill Polygon Polygon ...