HP 4300tn HP PCL/PJL reference - Printer Job Language Technical Reference Manu - Page 180
Printer Responses, Example: Using the FSQUERY Command, Related Commands, FSAPPEND, FSDELETE, FSDIRLIST
View all HP 4300tn manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 180 highlights
Printer Responses The printer response indicates the number of bytes in the queried files. If the pathname is invalid, a FILEERROR number is returned. 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 FSQUERY command contained an illegal NAME variable. See PJL File System Errors (32xxx) in Appendix D for a complete list of error codes. Example: Using the FSQUERY Command The following two command lines demonstrate using the FSQUERY command to check for the existence of a file and a directory on the printer's file system. @PJL FSQUERY NAME = "0:\pcl\file1" @PJL FSQUERY NAME = "0:\pcl\macro\" Related Commands: FSAPPEND, FSDELETE, FSDIRLIST, FSDOWNLOAD, FSINIT, FSMKDIR, FSUPLOAD, INFO FILESYS 9-12 PJL File System Commands EN