HP Pcl 5 Manual
Have a look at the manual HP Pcl 5 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
ENSet Status Readback Location Unit Command 16-9 Set Status Readback Location Unit Command The Set Location Unit command sets the status location unit to the specified value. Location unit is used in conjunction with the location type to identify an entity location for a status request (Inquire Status Readback Entity command). Note that the unit value is interpreted differently, depending on the location type specified. E C * s # U Default =0 Range =0 through n, where n is printer dependent. Refer to the PCL 5 Comparison Guide. * - For location type values 0, 1 and 2, the unit value is ignored; it may be any value. Table 16-4 Set Status Readback Location Unit Command Location Ty p eLocation Unit 0 # = * Invalid location 1 = * Currently selected 2 = * All Locations 3 = 0 All internal 4 = 0 All downloaded = 1 Temporary downloaded = 2 Permanent downloaded 5 = 0 All cartridges = 1 Highest priority cartridge MM n Lowest priority cartridge 7 = 0 All SIMMs = 1 Highest priority SIMM MM n Lowest priority SIMM
16-10 Status ReadbackEN A value of 0 indicates all units of the location type. A printer reset ( E CE) returns the location unit to its default value, 0. The printer retains the location unit setting. If this command is not sent to change the setting for an entity request, then the existing location unit setting is used. NoteThe location type and unit may be set in any order. Invalid combinations are not determined until the Inquire Entity command is received. Therefore, even if the unit value is out of range, the unit is set to that value so that an appropriate error response is sent when the Inquire Entity command is received. Inquire Status Readback Entity Command The Inquire Entity command identifies the entity type and causes the printer to create a status response for the entity specified in the status readback location (type and unit). E C * s # I # =0- Font 1 - Macro 2 - User-defined pattern 3 - Symbol Set (for unbound scalable fonts) 4 - Font Extended Default =NA Range =0 - 4 The entity status responses for the value field parameters vary depending on the setting of the location type and location unit (refer to the Set Location Type and Set Location Unit commands described on the preceding pages). The entity status and error responses are described on the following pages.
ENEntity Status Responses 16-11 Entity Status Responses The status response for an Inquire Status Readback Entity command varies depending on the type of entity requested. The status responses for font, font extended, macro, user-defined pattern, and symbol set are described below. Font Response The status response information returned for font (inquire entity value field 0) varies. Depending on whether the printer’s font is a bitmap, unbound scalable, or bound scalable, different keywords are returned. The response is also somewhat different if the location type is set to 1 (currently selected, as explained in more detail later). The list of possible keywords for a font request is shown below. SELECT= SYMBOLSETS= LOCTYPE= LOCUNIT= An example of an inquire entity font (entity type 0) status response is shown below. Notice the variation in the keyword lines for the three fonts, listed in order below: Internal, bitmap, Line Printer Internal, unbound scalable, CG Times italic Downloaded, bound scalable, (CG Palacio) Font status: PCL INFO FONTS SELECT=“(8U(s0p16.67h8.5v0s0b0T” SELECT=“(s1p__v1s0b4101T” SYMBOLSETS=“0D,0I,0N,0S,0U,1E,1F,1G,...” SELECT=“(1U(s1p__v0s0b4111T(21X” M In a font status response, individual fonts are identified by the “SELECT=” keyword line, as shown in the example above. This line identifies the font by specifying the font selection characteristics (symbol set, spacing, pitch, height, style, stroke weight, and typeface). The characteristics are listed as they would be sent to the printer to select the font (in priority order, highest priority to lowest). “SELECT=” is returned for all font types.
16-12 Status ReadbackEN As mentioned, variations in the font response occur as a result of the font being a bitmap, bound scalable, unbound scalable, soft (downloaded) font, or the location type set to 1 (currently selected). These variations include slight differences in the information included in the “SELECT=” line, with the addition of different keywords (“SYMBOLSETS=” “LOCTYPE=” and “LOCUNIT=”). These variations are described in detail in the following paragraphs. NotesIn the status response, an escape character is represented by the five characters: “&”. Keywords which follow a “SELECT=” keyword apply to the font identified by that “SELECT=” keyword. Bitmap Fonts For bitmap fonts, the “SELECT=” line is returned (which identifies the font selection characteristics as described above). For example, the printer’s internal, bitmap, Roman-8 Line Printer font would be returned as shown below. PCL INFO FONTS SELECT=“(8U(s0p16.67h8.5v0s0b0T” Also see soft font description below. Scalable Fonts For bound scalable fonts, two underscores, “...s 1 p __ v 0 s...,” in the “SELECT=” line indicate that the font is a bound scalable. In addition, only the relevant characteristics are listed. Depending on whether the font is proportional or fixed spaced, only either height or pitch is listed. For example, the printer’s internal scalable Symbol font (proportionally spaced) would be returned as shown below. PCL INFO FONTS SELECT=“(19M(s1p__v0s0b16686T” Also see the soft font description below.
ENEntity Status Responses 16-13 Unbound Scalable Fonts For unbound fonts, since multiple symbol sets can be associated with an unbound font, the “SYMBOLSETS=” keyword is added to list the available symbol sets and the symbol set sequence is no longer present in the “SELECT=” line. For example, the printer’s internal unbound scalable Courier (medium, fixed spaced) font and CG Times (bold italic, proportional spaced) fonts would be returned as shown below. PCL INFO FONTS SELECT=“(s0p__h0s0b4099T” SYMBOLSETS=“0D,0I,0N,0S,0U,1E,1F,1G,... SELECT=“(s1p__v1s3b4101T” SYMBOLSETS=“0D,0I,0N,0S,0U,1E,1F,1G,...” Soft Fonts For soft fonts (bitmap, bound scalable or unbound scalable), the font ID number is also included at the end (a font downloaded with an ID of 27 would be presented as “ ...(27X ” ). For example, a downloaded bitmap Courier with a font ID of 39 and a downloaded, unbound scalable, Dom Casual typeface with a font ID of 78 would be returned as shown below. PCL INFO FONTS SELECT=“(8U(s0p10.00h12.0v0s0b3T(39X” SELECT=“(s1p__v1s0b4148T(78X” SYMBOLSETS=“0D,0I,0N,0S,0U,1E,1F,1G,...” Location Type 1 (Currently Selected) Font For a status location type 1 (currently selected) font, only a single font, the printer’s currently selected font, is returned. The keywords and data returned are described as follows. z“LOCTYPE=” and “LOCUNIT=” are returned after the “SELECT=” line for each font. z“SELECT=” line changes for bound and unbound scalable fonts. For all scalable fonts, the actual size (either height or pitch) is listed in place of the underscores. For unbound scalable fonts, the symbol set currently bound to the font is listed.
16-14 Status ReadbackEN z For all fonts, if the font is a secondary font, then the “(“ characters are replaced by ”)” characters in the “SELECT=” line. “LOCTYPE=” identifies the location type of the currently selected font. The value returned corresponds to the value field of the Set Status Readback Type command. “LOCUNIT=” identifies the location unit of the currently selected font. The value returned corresponds to the value field of the Set Status Readback Unit command. For example, if the printer’s currently selected font is a bold 14 point Presentation bitmap font selected from a cartridge, and a font entity request with the location type set to 1 is made, the response would be returned as shown below. PCL INFO FONTS SELECT=“(1U(s0p10.00h14.0v0s3b11T LOCTYPE=5 LOCUNIT=1 For example, assume the printer’s currently selected font is unbound scalable Dom Casual font with the following characteristics: zdownloaded (font ID of 78) ztemporary zRoman-8 (specified for printing) zsecondary font z18 point If an entity request is made with the location type set to 1 (currently selected), the following response is returned. PCL INFO FONTS SELECT=“)8U)s1p18.00v1s0b4148T)78X” LOCTYPE=4 LOCUNIT=1
ENEntity Status Responses 16-15 Font Extended Response The font extended response (inquire entity value field 4) provides a way to return the name and internal ID number of the font, as well as the “SELECT=” line. It is the same as a font status response (inquire entity value field 1), in that “SELECT=,” “SYMBOLSETS=,” “LOCTYPE=,” and “LOCUNIT=” are returned in the same manner. They are not re-described here; refer to the “Font Response” section for a description of their operation. However, for a font extended request, two additional keywords, “DEFID=” and “NAME=” are returned as described below. “DEFID=” identifies the font’s internal ID number. This is the number which appears on the font printout. It is the number used to select the font as the default font from either the printer’s control panel or from PJL (refer to the Printer Job Language Technical Reference Manual for information on PJL font selection). The “DEFID=” number consists of two parts, a location and an ID number, such as “I 21,” where “I” is the location and “21” is the font’s internal ID number. The possible locations are listed below: NoteThe cartridge (Cn) and SIMMs (Mn) location identifiers are printer specific. Refer to Chapter 1 of the PCL 5 Comparison Guide for printer-specific values for “n.” Since temporary soft fonts do not have an internal ID number (they cannot be selected as the default from the control panel or PJL), NONE is returned as their “DEFID=NONE”. The font’s internal ID number is assigned to fonts by the printer. This number is different than the soft font download ID number assigned to a downloaded font using the Font ID (E C*c#D) command. Table 16-5 I - Internal C - Cartridge - single cartridge printers Cn - Cartridge - multiple cartridge printers where n is printer specific S - Permanent soft fonts Mn - SIMMs where n is the number of the SIMM slot for example: M2 is SIMM in #2 slot. NONE - Temporary soft fonts
16-16 Status ReadbackEN “NAME=” is returned for font extended status requests only. It identifies the name of the font, such as, Courier, Times Roman, Univers, etc., and its treatment (such as BdIt - bold italic) as listed in the font printout. For example, the font extended response for the printer’s internal bitmap Line Printer font and a downloaded unbound CG Palacio temporary font would be returned as shown below. PCL INFO FONTS EXTENDED SELECT=“(8U(s0p10.00h12.0v0s0b0T” DEFID=“I 45” NAME=“Line Printer” SELECT=“(s1p__v1s3b4111T(7X” SYMBOLSETS=“0D,0I,0N,0S,0U,1E,1F,1G,...” DEFID=NONE NAME=“CG Palacio BdIt” SELECT=“... M Or, for example, a font extended response with the location type set to 1 (currently selected) where the currently selected font is the internal CG Times (18 point specified for printing) bold, the response would be returned as shown below. PCL INFO FONTS EXTENDED SELECT=“(8U(s0p18.00h0s3b4101T” DEFID=“I 002” NAME=“CG Times Bd” LOCTYPE=3 LOCUNIT=1 Macro Response The status response for macros (inquire entity value field 1) lists all of the macro IDs (“IDLIST=”) for the macros in the specified location. NoteStatus location type 1 (currently selected) is an invalid location for macros and returns an error (“ERROR=NONE”).
ENEntity Status Responses 16-17 A macro status response might appear as shown below. PCL INFO MACROS IDLIST=“1,3,8,29,32” User-Defined Pattern Response The status response for user-defined patterns (inquire entity value field 2) lists all of the user-defined pattern IDs (“IDLIST=”) for the patterns in the specified location. A user-defined pattern response might appear as shown below. PCL INFO PATTERNS IDLIST=“1,2,9,13,27,456” If the location type is set to 1 (currently selected), then “LOCTYPE=” and “LOCUNIT=” lines are added. “LOCTYPE=” is returned for a status location type 1 request only. It identifies the location type of the currently selected pattern. “LOCUNIT=” is returned for a status location type 1 request only. It identifies the location unit of the currently selected pattern. A user-defined pattern response for the currently selected pattern might appear as shown below. PCL INFO PATTERNS IDLIST=“88” LOCTYPE=4 LOCUNIT=2 If the current pattern is set to one of the internal HP-defined patterns (no pattern ID number assigned), then no number is available and the response, “ERROR=NONE” is returned. PCL INFO PATTERNS ERROR=NONE
16-18 Status ReadbackEN Symbol Set Response The response for symbol sets (inquire entity value field 3) lists all of the symbol set IDs (“IDLIST=”) for all of the symbol sets that can be bound to unbound scalable fonts in the specified location (type and unit). A symbol set response might appear as shown below. PCL INFO SYMBOLSETS IDLIST=“0U,2K,8M,8U,11U” NotesStatus location type 1 (currently selected) is an invalid location for unbound font symbol sets and returns an error (“ERROR=NONE”). Example responses in this chapter for “SYMBOLSETS=” do not list the complete list of internal available symbol sets, only a partial list: “0D,0I,0N,0S,0U,1E,1F,1G,...” The internal symbol sets are printer dependent and may vary from printer to printer; refer to the PCL 5 Comparison Guide for printer specific information.