17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

COPY<br />

Field of Application Statement for copying files.<br />

Syntax COPY[,]<br />

Chapter 2 Program Instructions<br />

is the name and optionally directory of the original file.<br />

is, optionally, a new name and/or device for the copy.<br />

Remarks This statement allows you to copy a file to another name and/or device as an<br />

alternative to LOADing the file in question and then SAVEing it.<br />

If no directory is specified for the original and/or copy, the current directory<br />

will be used by default (see CHDIR statement). By default, the current<br />

directory is "c:", i.e. the printer's permanent memory. If the file is to be be<br />

copied from or to another directory than the current one, the file name must<br />

contain a directory reference.<br />

A file cannot be copied to the same name in the same directory.<br />

In addition to copying files to the printer's permanent or temporar memory or<br />

a DOS-formatted memory card, a file can also be copied to an output device<br />

such as the printer's display or a serial communication channel. Copying a<br />

program to the standard OUT channel has the same effect as LOADing and<br />

LISTing it.<br />

Note that bitmap fonts and images are not files and therefore cannot be<br />

copied.<br />

Examples In the following examples, "c:" is the current directory.<br />

Copying a file from "card1:" to the current directory without changing the<br />

file name:<br />

COPY "card1:LABEL1.PRG"<br />

Copying a file from "card1:" to the current directory and changing the file<br />

name:<br />

COPY "card1:FILELIST.PRG","COPYTEST.PRG"<br />

Copying a file from "c:" to a directory other than the current one without<br />

changing the file name:<br />

COPY "c:FILELIST.PRG","card1:FILELIST.PRG"<br />

Copying a file in the current directory to a new name within the same<br />

directory:<br />

COPY "LABEL1.PRG","LABEL2.PRG"<br />

Copying a file in the current directory to serial channel "uart1:":<br />

COPY "LABEL1.PRG","UART1:"<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!