![Brother HL-1250 Technical Reference Manual Download Page 159](http://html.mh-extra.com/html/brother/hl-1250/hl-1250_technical-reference-manual_53605159.webp)
2001/10/02
CHAPTER 4 HP-GL/2 - 11
6.
PREPARING TO PRINT GRAPHIC IMAGES
6.1.
Setting Up the Graphics Window
Before entering HP-GL/2 mode you will probably want to set the dimensions and position of the PCL picture
frame and hence the graphics window. (Remember that when you enter HP-GL/2 mode they are initially the
same). To do this you will need to send some preparatory PCL commands while in LaserJet mode. Use the
Esc*c0T command to position the picture frame and the Esc*c
#
X and Esc*c
#
Y commands to determine it's
horizontal and vertical dimensions respectively. These commands are described fully in the sub-section
Vector Graphics in the LaserJet section of this manual. ( Section 2 )
If you do not specify a position and dimensions for the picture frame, the default picture frame is used. This
is described in the sub-section ‘The Page in LaserJet mode’ section of this manual.
6.2.
Using Existing Image Plots
If you are importing an existing HP-GL/2 plot you can easily determine the size and position on the page of the
resulting printed graphic. Images are automatically scaled and fitted to the picture frame ( the HP-GL/2
graphics window ) in either of the following two cases.
1)
If you use the Esc*c
#
K and Esc*c
#
L PCL commands to specify the width and height of the original plot
before entering HP-GL/2 mode. These commands are explained in the sub-section ‘Vector Graphics in
LaserJet mode’ section of this manual. Only use these commands if you are importing an existing
plot.
2)
If the imported image code is page-size independent.
An image is page-size independent if it's HP-GL/2 code satisfies the following conditions.
•
User units are used exclusively, that is, an SC command is used before any drawing commands
are issued. Note in particular that if the graphics window is changed from the default using the IW
command, it must be specified in user units.
•
No absolute units are used or implied, that is, drawing commands use relative movement only and
character size, pattern length and pen width are always specified as relative measurements.
Commands like IP and PA, which imply the use of absolute units even if none are explicitly supplied,
should not be used at all.
If you import an image without fulfilling these two criteria, that is, the image is not page size independent
and you do not specify its horizontal and vertical plot sizes, the plot will be drawn actual size. Any part of
the plot that falls outside the effective window will not appear on the printed page.
6.3.
Printing an Image
When you have carried out any necessary preliminary steps that your particular application requires, as
described in the preceding sections, enter HP-GL/2 mode using the Esc%
#
B command and send the
sequence of HP-GL/2 commands to generate the image.
6.4.
Entering HP-GL/2 Mode
To enter graphics mode from PCL printer control language use the Esc%
#
B command. Set
#
to 0 if you want
the pen to start from the previous HP-GL/2 pen position. Set
#
to 1 if you want to the pen to start from the
current PCL cursor position. You must specify either one setting or the other.
6.5.
Quitting HP-GL/2 Mode
To quit graphics mode use the Esc%
#
A command. Set # to 0 if you want to place the cursor at the previous
PCL cursor position. This is the default setting. Set
#
to 1 if you want to place the cursor at the current HP-
GL/2 pen position.
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...