HP Color LaserJet 2550 HP PCL/PJL reference - Printer Job Language Technical R - Page 179
FSQUERY Command
View all HP Color LaserJet 2550 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 179 highlights
FSQUERY Command The FSQUERY command is used to determine if a given entry exists within the file system, the type of entry (file or directory), and if it is a file, the file size in bytes. Syntax: @PJL FSQUERY NAME = "pathname" [] Response Syntax: If pathname is a file: @PJL FSQUERY NAME="pathname" TYPE=FILE ~SIZE=integer If pathname is a directory: @PJL FSQUERY NAME="pathname" TYPE=DIR If the pathname is invalid: @PJL FSQUERY NAME="pathname" ~FILEERROR=number Parameters: Parameter NAME="pathname" Functional Range Roman-8 characters 01 thru 255 Default N/A • NAME = "pathname" - For a complete description of the NAME parameter, see the NAME = "pathname" description on pages 9-2 and 9-3. EN PJL File System Commands 9-11
EN
PJL File System Commands 9-11
FSQUERY Command
The FSQUERY command is used to determine if a given entry exists
within the file system, the type of entry (file or directory), and if it is a
file, the file size in bytes.
Syntax:
@PJL FSQUERY NAME = "
pathname
" [<CR>]<LF>
Response Syntax:
If
pathname
is a file:
@PJL FSQUERY NAME="
pathname
" TYPE=FILE
~
SIZE=
integer
<CR><LF>
<FF>
If
pathname
is a directory:
@PJL FSQUERY NAME="
pathname
" TYPE=DIR<CR><LF>
<FF>
If the
pathname
is invalid:
@PJL FSQUERY NAME="
pathname
"<CR><LF>
~
FILEERROR=
number
<CR><LF>
<FF>
Parameters:
•
NAME =
"
pathname
"
—
For a complete description of the
NAME parameter, see the
NAME = "pathname"
description on
pages 9-2 and 9-3.
Parameter
Functional Range
Default
NAME="
pathname
"
Roman-8 characters
01 thru 255
N/A