HP Pcl 5 Manual
Here you can view all the pages of manual HP Pcl 5 Manual. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.
Page 261
ENTemporary / Permanent Macros 12-5 The overlay environment consists of the current settings for the following features with the remainder of the environmental features set to their user default values: Refer to Chapter 3 for descriptions of environments. NoteThe current active position (CAP, or cursor position) is not part of the modified print environment. Therefore, the cursor position is not saved when a macro is called, nor is it restored upon completion. The Push/Pop Cursor Position command...
Page 262
12-6 MacrosEN Deleting Macros There are several mechanisms provided by PCL macro control for explicit deletion of macros from user memory. These include commands to delete all macros, all temporary macros, or an individual macro by reference to its macro ID number, using the Macro Control command described later in this chapter. Both temporary and permanent macros are deleted from memory whenever the printer’s power is turned off. Macro ID The Macro ID command specifies an ID number for use in...
Page 263
ENMacro Control 12-7 Macro Control The macro control command provides mechanisms for definition, invocation, and deletion of macros. E C & f # X NotesA macro may call or execute another macro, which in turn may call or execute another macro; two levels of “nesting” are allowed. Other than call and execute, no macro control operations may occur within a macro. A printer reset command ( E CE or UEL) is not allowed in a macro. HP-GL/2 commands are not supported within macros on all HP LaserJet...
Page 264
12-8 MacrosEN ROM-Based Macros Macros can be supplied in ROM (read only memory), such as custom macro cartridges or on SIMM modules. The following considerations apply to all ROM-based macros. zROM-based macros include the macro ID numbers for their macros. These numbers cannot be changed. It is possible for a downloaded macro to be assigned the same ID number as a ROM macro. If this occurs, the downloaded macro has precedence. To access the ROM macro, the downloaded macro must be deleted. zThe...
Page 265
ENMacro Control Example 12-9 To enable the macro with an ID of 7 for automatic overlay, send: E C&f7y4X To delete the macro with an ID of 7, send: E C&f7y8X Macro Control Example The following illustrates the definition of a letterhead macro. Table 12-4 E C&f1YSpecify the Macro ID as one. E C&f0X Start Macro Definition. E C&a540h360V Position logo at (540, 360) decipoints in the PCL coordinate system. E C*t150R Set graphics resolution to 150 dots-per-inch. E C*r1A Start raster image of logo. E C*b60W...
Page 266
12-10 MacrosEN This macro now can be executed, called, or enabled for automatic overlay. Fred, Texas 83707 Text E C&a540h960V Position first rule at (540, 960) decipoints . E C*c10v4680H Set rule height and width. E C*c0P Print the first rule. E C&a540h980V Position second rule at (540, 980) decipoint s. E C*c&zero;P Print second rule. E C&a54&zero;h12&zero;& zero;V Position for first line of text at (540, 1200) decipoints. E C&f1X Stop Macro Definition. Table 12-4 (continued)
Page 267
ENIntroduction 13-1 13 The PCL Print Model Introduction The Print Model feature allows images and characters to be filled with any of the printer’s predefined shading or cross-hatch patterns, or with a user-defined pattern. Images include any raster graphic, such as one created with PCL raster graphics commands (as described in Chapter 15, Raster Graphics); a rectangular fill area (as described in Chapter 14, PCL Rectangular Area Fill Graphics); or a character or characters selected from any...
Page 268
13-2 The PCL Print ModelEN Pattern The design which is “painted” through the black (“1” bits) area of the source image onto the destination image. For patterns, the Print Model uses one of the printer’s internal predefined eight shading patterns (see Figure 13-4) or one of the six cross-hatch patterns (see Figure 13-5), or a user-defined pattern. NotesWhen printing a page, text and raster images are printed using the current pattern. The default current pattern is 100% black. The print model...
Page 269
ENIntroduction 13-3 Pattern Transparency Mode The transparency or opaqueness of the white pixels in the pattern. When set to 0 (transparent), these pixels have no effect on the destination; when set to 1 (opaque), they are applied through the black pixels of the source pattern to the destination. Figure 13-2 Opaque and Transparency Modes Figure 13-3 illustrates the effects of the source and pattern transparency modes on the final image. In the first example (1a), the transparency mode for both the...