Next: CGM
Up: Using Hardcopy Devices
Previous: Postscript
FV_NUMPENS=1
The use of this environment variable should not be confused with the FEMGV command UTILITY SETUP PLOTTER COLOURS n which only indicates to the software the number of colours which are available for colour contour pictures.
Because this switching code can cause some DTP packages a certain amount of confusion the resource HPGL2.AutoSwitch can be set to true if the destination device is capable of automatically switching into HPGL/2 mode.
There are two resources for controlling the colour setting of the output; HPGL2.Colour and HPGL2.Monochrome. Both of these resources can take the value true or false, so setting HPGL2.Colour to true is the equivalent of setting HPGL2.Monochrome to false, and vice versa.
This default scale is represented as,
Femsys.*.HPGL2.PageLayout : 5,5,90,90
It is possible to scale the size of the characters and marker symbols in an HPGL/2 plotfile using these resources:
| Resource Name | Default |
| HPGL2.FontSizeScale | 1.0 |
| HPGL2.SmallFontSizeScale | 1.0 |
| HPGL2.TitleFontSizeScale | Same as FontSizeScale |
| HPGL2.SymbolScale | 1.0 |
It is possible to specify the required thickness, in mms, for each of the three linewidths used in an HPGL/2 plotfile using these resources:
| Resource Name | Default |
| HPGL2.NormalLineWidth | 0.0 (thiness possible) |
| HPGL2.ThickLineWidth | 0.15 |
| HPGL2.ThickestLineWidth | 0.35 |
The PAINTJET, LASERJET and DESKJET drivers share a number of common features. The facilities for controlling the behaviour of the driver are explained in the following sections. Please note that resources are described in a generic way, so that Orientation, for example, could be Paintjet.Orientation, Laserjet.Orientation or Deskjet.Orientation. Where a resource applies to a particular device, rather than HP-PCL in general, then the full resource name is given.
The following resources affect the page size and layout:
| Resource Name | Default |
| PageSize | 10x7.5 |
| PageMargins | 0.18+0.27 |
| PageSizeUnits | inch |
| Orientation | Landscape |
PageSize can be set to a user define size in the form
WIDTHxHEIGHT
where WIDTH and HEIGHT are in PageSizeUnits units. These can be inch, mm or point. WIDTH refers to the X axis of the plot and HEIGHT refers to the Y axis of the plot.
PageMargins is used in order to specify the horizontal and vertical offsets, also in PageSizeUnits units. These are measured from the top lefthand corner of the A4 page; for portrait mode plots they indicate the location of the top lefthand corner of the plot and for landscape mode they indicate the location of the top righthand corner.
Users should be aware that because the software needs to maintain the aspect ratio of the plot, the sizes given via these resources only specify the maximum size of the plot.
Orientation may be set to Landscape or Portrait, the default being Landscape.
The resource HighRes may be set true in order to force high resolution or the resource LowRes may be set true in order to force low resolution.
The terms 'high' and 'low' have different meanings to the different plotters:
When in presentation mode the printer makes multiple printing passes in order to enhance the quality of plot; obviously, this will increase the time taken to print the image. If this resource is unset the plot quality is determined by the keypad settings on the printer.
Also, when plotting on acetate sheet, the resource Paintjet.Transparency should be given the value true in order to set the printer into transparency mode.
This driver also offers control for both graphics depletion and graphics shingling. Depletion is a process whereby selected pixels are removed from the graphics image in order to enhance the quality of the picture by reducing the amount of ink used, and therefore the level of saturation. Shingling is a related process where the image is printed in multiple passes in order to give adjacent pixels time to dry, so avoiding colour bleeding. Obviously, the use of shingling will lead to an increase in the time taken to print the image.
These actions are controlled by the resources Deskjet.Depletion and Deskjet.Shingle
The exact values which may be assigned to these resources are device dependent, but the following values are generally available:
| Depletion Value | Effect |
| 1 | No depletion |
| 2 | 25% (Default) |
| 3 | 50% |
| Shingle Value | Degree of Shingling |
| 0 | None |
| 1 | 2 pass printing - 50% each pass |
| 2 | 4 pass printing - 25% each pass |
Finally, when plotting on acetate sheet, the resource Deskjet.Transparency should be given the value true in order to set the graphics quality, depletion and shingle parameters appropriately.
You should refer to your Deskjet Users Handbook for a full explanation of this topic.
Run length encoding is not available with Laserjet printers.
At present, the only customisation available is the ability to scale the size of the FEMGV symbol markers may altered by specifying a scaling factor; SymbolScale.
Femsys Limited