288
Appendix B The PTR_SETUP Commands
configuration. Rebooting the printer ensures that the desired configuration is
correctlyread from Non-Volatile RAM.
NOTE: While an upload or download is in progress, the Front Panel will be
unavailable.
The Configuration Save and Delete commands from the front panel can be
blocked by using the Protect Configurations feature. This is intended to
prevents omeone from inadvertently reconfiguring a printer. The PTR_SETUP
commands, however, will override the protect configurations feature. A ll
PTR_SETUP commands will be honored regardless of the value of the
Protect Configurations feature.
Operation of the FILE_IO Command
When a file is opened for writing with the FILE_IO–CAPTURE;

filename

command, the system will allocate RAM for file control blocks and 1 Kby te for
data. If the file already exists on the Flash File System and the Overw rite
Enable feature in the Flash File System menu is set to disable, a warning will
be displayed on the front panel. After clearing the warning, the file data will be
printed. To overwrite the existing file, set the Overwrite Files option to enable.
Duetothenatureofwritingtoflash,anydataintendedtobestored
permanently in flash must first be copied into RAM. As a result, the ability to
manipulate files in the Flash File System is dependent upon the printer having
sufficient RAM. None of the captured file data will be committed to flash until
the entire file is loaded. The PTR_SETUP parser will interpret the command
“FILE_IO–CAPTURE<lf>” as an end of file marker. Receipt of the command
will cause all file data to be written to flash. The file system allocates RAM for
temporary data storage in 1 Kbyte blocks. If at any time during the file
download the printer runs out of RAM, a warning will be displayed on the front
panel and as much of the file as possible will be saved in flash. To download
larger files you may need to add additional RAM to the printer.
Three things can limit the ability to save a file: insufficient RAM, insuffi cient
Flash, and lack of empty file system entries. Flash can only be written onc e
before it needs to be “optimized”. As a result, the maximum file size is limite d
to the largest unwritten block of Flash. If any of these problems occu r, the
printer will display an error message and will attempt to provide the operator
with a description of what steps to take to correct the error. Normally, the
solution will involve optimizing the Flash File Sys tem. This can be
accomplishedby selecting the Optimize &Reboot function in the Flash File
System menu under MAINT/MISC.
NOTE: After selecting the Optimize &Reboot function, do not shut off the
printer's power until after the printer returns to the power-on state.
Lossof power during the optimize process may corrupt the printer's
program. If this occurs, first attempt to repeat the downloading
process. If that fails, contact an authorized service representativ e.