HP PCL/PJL reference - Printer Job Language Technical Reference Manual

EN PJL File System Commands 9-13
FSUPLOAD Command
The FSUPLOAD command uploads a file, or a part of a file, from the
printer file system to the host.
Syntax:
@PJL FSUPLOAD NAME = "pathname"
~OFFSET=<number> SIZE=<number>[<CR>]<LF>
Response Syntax:
If the pathname is valid:
@PJL FSUPLOAD FORMAT:BINARY
~NAME = "pathname" OFFSET=<number>
~SIZE=<number><CR><LF>
<SIZE bytes of file data>
<FF>
If the pathname is invalid:
@PJL FSUPLOAD NAME = "pathname"<CR><LF>
FILEERROR=<number><CR><LF>
<FF>
Parameters:
NAME = "pathname" — For the FSUPLOAD command, the
variable pathname must be a file name (not a directory). For a
complete description of the NAME parameter, see NAME =
"pathname" on pages 9-2 to 9-3.
OFFSET = integer — The offset variable specifies the offset,
from the beginning of the file, indicating the point to begin
uploading.
Parameter Functional Range Default
NAME="pathname" Roman-8 characters
01 thru 255
N/A
OFFSET=integer 0 to 2
31
– 1 N/A
SIZE=integer 0 to 2
31
– 1 N/A