Printer Responses - HP Color LaserJet 5500 Technical Reference Manual

Printer job language - technical reference manual
Hide thumbs Also See for Color LaserJet 5500:
Table of Contents

Advertisement

Printer Responses

Example: Using the
FSDIRLIST Command
Related Commands:
beginning with line 5, you would use ENTRY=5. The
entry value must be greater than 0. Also, if the entry
value is larger than the actual number of entries, the
response will not include any entries.
COUNT = integer — The count variable specifies the
number of entries to be returned. If the specified count is
greater than the actual number of entries in the specified
range, the actual number of entries will be displayed.
The printer response indicates the number of bytes in the
listed files (SIZE=number of bytes). If the pathname is
invalid, a FILEERROR number is returned. This error
number is equivalent to the PJL File System error numbers
(32xxx) listed in Appendix D, minus the 32 and the leading
zeros. For example, if the printer returns FILEERROR=17,
the error is equivalent to status code 32017 (Invalid
parameter), meaning the FSDIRLIST command contained
an invalid parameter. See PJL File System Errors (32xxx) in
Appendix D for a complete list of error codes.
This example demonstrates using the FSDIRLIST
command to return a directory list from the printer's file
system.
@PJL FSDIRLIST NAME = "0:\pcl\macros" ENTRY=1
~COUNT=25 <CR><LF>
A sample response would appear similar to this:
@PJL FSDIRLIST NAME = "0:\pcl\macros"
~ENTRY=1<CR><LF>
. TYPE=DIR<CR><LF>
.. TYPE=DIR<CR><LF>
invoice.prn.rl
page1.prn.tf
gen_cond.prn.mt TYPE=FILE SIZE=900<CR><LF>
pclResourceFile TYPE=FILE SIZE=420<CR><LF>
FSAPPEND, FSDELETE, FSDOWNLOAD, FSINIT,
FSMKDIR, FSQUERY, FSUPLOAD, INFO FILESYS
TYPE=FILE SIZE=1619<CR><LF>
TYPE=FILE SIZE=2260<CR><LF>
PJL File System Commands 9-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents