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 343
ENIntroduction 16-1 16 Status Readback Introduction This chapter describes the PCL status readback features. PCL status is requested from the printer with the commands described in this chapter. Following a status request, the printer generates a status response. This response consists of ASCII data which is sent directly from the printer, through the I/O, back to the host. Status readback allows you to obtain information from the printer such as: available printer (user) memory, current...
Page 344
16-2 Status ReadbackEN z Flush All Pages Command zEcho Command zStatus Readback Programming Hints For status readback to work, the host system must contain a bi-directional driver to receive status response data. In network operations, some printing environments do not support bi-directional communication, such as many printer sharing devices which spool data, and some network operating systems. Applications designed to incorporate PCL status readback should be designed to function correctly in...
Page 345
ENIntroduction 16-3 Entity Status It is possible to request status for the printer’s entities. An entity is a font, symbol set, macro, or user-defined pattern stored in the printer. Each individual entity request is limited to one specific entity, and is further limited to a specific location. To request entity status, you must send the entity status readback commands to identify a location type and a location unit, and then send the entity request command. Location type refers to the...
Page 346
16-4 Status ReadbackEN A basic entity status request is shown in the example below. This example identifies a status request for downloaded permanent fonts. The example also includes a status readback response at the bottom. Note that this example shows only one possible request/response; for more detailed information, refer to the status readback command descriptions provided later in this chapter. In addition to the normal status responses, if an invalid request is made, the printer returns an...
Page 347
ENIntroduction 16-5 Status Response When the printer receives a status request (command), it processes that request and forms the response data. This data is then stored in an I/O status buffer. The response is saved in this buffer until it is either read (by any user) or the printer is turned off. In addition to clearing the status buffer by reading the status response or by turning off the printer, status responses are cleared if one the following settings are changed: zPrinter resolution...
Page 348
16-6 Status ReadbackEN Status Response Syntax All status responses start with the letters “PCL” followed by a Carriage Return control code (decimal 13; ) and a Line Feed control code (decimal 10; ). In addition, each remaining line of the response is terminated by a Carriage Return and Line Feed control code. Finally, status responses are terminated by a Form Feed control code (decimal 12; ). The basic syntax for the status response is shown below. PCL INFO TITLE KEYWORDn=DATAn KEYWORDn=DATAn...
Page 349
ENStatus Response Syntax 16-7 PCL INFO FONTS SELECT=“(8U(s0p10.00h12.00v0s0b3T” SELECT=“(0N(s0p16.67h8.5v0s0b0T” SELECT=“(s1p__v1s0b4101T(78X” SYMBOLSETS=“0D,0I,0N,0S,0U,1E,1F,1G,...” SELECT=“(8U(s1p__v0s3b4148T” NotesIn the example listings, “,” “,” and “” identify the Carriage Return (decimal 13), Line Feed (decimal 10), and Form Feed (decimal 12) control codes. The “” following the “SELECT=” keyword is a five character representation (the printable characters: “”) and does not identify an...
Page 350
16-8 Status ReadbackEN Set Status Readback Location Type Command The Set Location Type command sets the status location type to the specified value. Location type is used in conjunction with the location unit to identify an entity location for a status request (Inquire Status Readback Entity command). E C * s # T # =0- Invalid location 1 - Currently selected 2 - All Locations 3 - Internal 4 - Downloaded Entity 5 - Cartridge 7 - User-installable ROM device (SIMMs) Default =0 Range =0 - 5, 7 If a...