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

9-8 PJL File System Commands EN
FSDOWNLOAD Command
The FSDOWNLOAD command downloads a file to the printer file
system. If a file with the same name exists, the downloaded file
overwrites it.
Syntax:
@PJL FSDOWNLOAD FORMAT:BINARY SIZE=int
~NAME = "pathname" [<CR>]<LF>
<binary data><ESC>%-12345X
Parameters:
SIZE = integer — The size variable indicates the number of
bytes in the file to be downloaded. The size indicates the
number of bytes immediately following the <LF> to the next
UEL command.
NAME = "pathname" — For the FSDOWNLOAD command,
"pathname" must be a file (not a directory). For a complete
description of the NAME parameter, see the NAME =
"pathname" description on pages 9-2 – 9-3.
<binary data> — This is the binary file data to be
downloaded, such as font files and macro data.
Example: Using the FSDOWNLOAD Command
This example demonstrates using the FSDOWNLOAD command to
download a file to the printer file system.
@PJL FSDOWNLOAD FORMAT:BINARY
~NAME = "0:\pcl\macros\Name: HP Logo;
~Application; ABC; Manufacturer: XYZ;
~Version: 7.9; Date:8/7/94" SIZE = 22<CR><LF>
22 bytes of macro data<ESC>%-12345X
Related Commands:
FSAPPEND, FSDELETE, FSDIRLIST, FSINIT, FSMKDIR, FSQUERY,
FSUPLOAD, INFO FILESYS
Parameter Functional Range Default
SIZE=integer 0 to 2
31
– 1 N/A
NAME = "pathname" Roman-8 characters
01 thru 255
N/A