beautypg.com

Avery Dennison Monarch 9855 Programmer Manual User Manual

Page 28

background image

4-4 NCL Programmer’s Manual

Follow the standard conventions for your operating system
(Microsoft

® Windows®, UNIX®, etc.) For example, UNIX uses a

forward slash while Microsoft Windows uses a backslash. However,
some FTP and TFTP software only accepts one or the other and
substitutes the character for the appropriate operating system.

Example [NCL_START]

[FileXfr]
IPAddr=192.0.0.192
FTP_User=Whseshift1
FTP_Password="Paxar1"
FTP_Path="Xfer\Config.txt"
[NCL_END]

Creates an NCL file that connects to the FTP server (192.0.0.192) with
the user name Whseshift1 and password Paxar1 and downloads the
file Config.txt from the Xfer directory.

U s i n g T F T P

For a TFTP server, use the following syntax to send files to the printer.
For the recommended file sequence of sections in an NCL file, see “NCL
File Sequence” in Chapter 1.

Syntax

[NCL_START]

[FileXfr]
Keys=values
[NCL_END]

Keys Description

Values

IPAddr

IP address or domain name of host TFTP server

nnn.nnn.nnn.nnn

TFTP_Path

Relative path to file being downloaded

"sub-directory\filename"

Flush

Deletes all data in the receive buffer.
Note: Use before a database or printer-list is transferred to

the printer.

1

deletes the data

Echo1

Writes the contents to the top line of the printer's display.

"firstline"

Echo2

Writes the contents to the second line of the printer's display. "secondline"

EchoNum1

Displays the numeric value of the expression following the
equal sign.

Any expression evaluated as
a number

EchoNum2

Displays the numeric value of the expression following the

equal sign.

Any expression evaluated as

a number

WaitMS

Amount of time to show items on the printer's display (in
milliseconds).

0 to 999999

This manual is related to the following products: