![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672166.webp)
FSDIRLIST
Command
The FSDIRLIST command returns a list of files and
directories which exist within the specified directory on the
printer’s file system. This command is similar in function
to the DOS DIR command. The ENTRY and COUNT
parameters are used to limit the amount of data returned
to the host.
Syntax:
@PJL FSDIRLIST NAME = "
pathname"
~
ENTRY=
integer COUNT=integer[<CR>]<LF>
Response Syntax:
@PJL FSDIRLIST NAME = "
pathname"
~
ENTRY=
integer[<CR>]<LF>
filename TYPE=FILE SIZE=integer<CR><LF>
filename TYPE=DIR<CR><LF>
...
<FF>
If the pathname is invalid:
@PJL FSDIRLIST NAME = "
pathname"[<CR>]<LF>
FILEERROR=
number<CR><LF>
<FF>
Parameters:
NAME = "pathname" — for the FSDIRLIST command,
pathname must be a directory (not a file). For a complete
description of the NAME parameter, see the NAME =
"pathname" description on pages 9-2 and 9-3.
ENTRY = integer — Every file or subdirectory that has
been created on the file system is considered an entry.
The entry variable is the number of the starting entry to
be displayed. For example, to display the directory listing
Parameter
Functional Range
Default
NAME="pathname"
Roman-8 characters
01 thru 255
N/A
ENTRY=integer
1 to 2
31
– 1
N/A
COUNT=integer
1 to 2
31
– 1
N/A
9-4 PJL File System Commands
Summary of Contents for 4600 - Color LaserJet Laser Printer
Page 18: ...1 6 Introduction to PJL ...
Page 36: ...3 8 Using PJL ...
Page 46: ...4 10 Kernel Commands ...
Page 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Page 108: ...6 46 Environment Commands ...
Page 180: ...9 18 PJL File System Commands ...
Page 212: ...10 32 Programming Tips ...
Page 262: ...B 6 PJL Command Summary ...
Page 302: ...Glossary 10 ...