HP Color LaserJet 5500 Technical Reference Manual page 175

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

Advertisement

Printer Responses
Example: Using the
FSUPLOAD
Command
Related Commands:
SIZE = integer — The size variable indicates the
number of bytes to be uploaded. If the amount of data in
the file after OFFSET is less than the specified size
value, the remainder of the file is returned and the SIZE
value in the response indicates the actual amount of
uploaded data.
If the pathname is invalid the printer response includes an
error number. The returned number is equivalent to the
PJL File System errors (32xxx) listed in Appendix D, only
without the 32 and the leading zeros. For example, if the
printer returns FILEERROR=7, the error is equivalent to
status code 32007 (Illegal name), meaning the FSUPLOAD
command contained an illegal NAME variable. See PJL
File System Errors (32xxx) in Appendix D for a complete list
of error codes.
This example demonstrates using the FSUPLOAD
command to upload 512 bytes from a printer file, beginning
with byte 25.
@PJL FSUPLOAD NAME = "0:\pcl\filenumber5"
~OFFSET=25 SIZE = 512<CR><LF>
FSAPPEND, FSDELETE, FSDIRLIST, FSDOWNLOAD,
FSINIT, FSMKDIR, FSQUERY, INFO FILESYS
PJL File System Commands 9-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents