beautypg.com

Avery Dennison Monarch 9855 Programmer Manual User Manual

Page 54

background image

9-2 NCL Programmer’s Manual

Use the following syntax to upload a log file. For the recommended file
sequence of sections in an NCL file, see “NCL File Sequence” in
Chapter 1.

Syntax

[NCL_START]

[Log]
Keys=values
[NCL_END]

Keys Description Values

IPAddr

IP address of the file transfer

server

nnn.nnn.nnn.nnn

FTP_User

User name for file transfer

server

"“username"

FTP_Password

Password for file transfer server

"password"

Path

Relative path to where the log

file will be written

"sub-directory\filename"

Clear

Sets a flag to clear the data
before starting the next NCL file

1

clears the buffer

If FTP_User and FTP_Password are provided, the FTP protocol is used;
otherwise, the file transfer is done via TFTP protocol.

Additionally, the Path can contain the constants listed in Chapter 1. See
"Using Constants" for more information.

Example

[NCL_START]
[Log]
IPAddr=10.20.30.40
Path="Log\MyLog.txt"
Clear=1

[NCL_END]

This NCL file contains a log section [Log]. The IP Address of the TFTP
server is 10.20.30.40. The log file is named Mylog.txt and located
in the Log directory. Then, the log buffer is flagged for clearing, but the
data remains in the printer's log until the start of the next NCL file.

No log file is sent if the printer errors.

This manual is related to the following products: