Intermec PX4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 85

Copying Files, 7.4 Downloading Binary Files, 7.5 Downloading Image Files - timeout

Page 85 highlights

Chapter 7-File Handling 7.3 Copying Files You can copy a file from any part of the printer's memory to another part, provided it is not read-only. You can also use the COPY instruction to give the copy a new name. COPY "[]"[,"[]"] The size of the name is max. 30 characters. If no memory device reference is given, the printer's permanent memory ("/c" or "c:") is assumed. Example: COPY "card1:Logotype.1","LOGO.1" ↵ 7.4 Downloading Binary Files Binary files, for example font files in TrueType format, can be downloaded to the printer's permanent memory using a single instruction. Before the transfer can be performed, the communication setup must be changed to 8 characters, CTS/RTS handshake. FILE& LOAD"", is the name you want to assign to the file in the printer's memory. is the size in bytes of the original file in the host. The printer waits for the specified number of bytes to be received with a 25 sec. timeout between characters. 7.5 Downloading Image Files Image files in .PCX format can be downloaded to the printer's memory and installed using a single instruction. Before the transfer can be performed, the communication setup must be changed to 8 characters, CTS/RTS handshake. IMAGE LOAD"",[,""] is the name you want to assign to the image in the printer's memory. is the size in bytes of the original .PCX file in the host. is either "S" or an empty string "": S specifies that the image will be saved in the permanent memory (not recommended); an empty string ("") specifies that the image will be saved in the temporary memory and thus will be deleted at power off or reboot. The printer waits for the specified number of bytes to be received with a 25 seconds timeout between characters. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 77

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

Intermec Direct Protocol v.8.60—Programmer’s Reference Manual
77
Chapter 7—File Handling
7.3 Copying Files
You can copy a file from any part of the printer’s memory to another
part, provided it is not read-only. You can also use the
COPY
instruction
to give the copy a new name.
COPY "[<device>]<original file name>"[,"[<device>]<new file name>"]
°e size of the name is max. 30 characters. If no memory device
reference is given, the printer’s permanent memory ("/c" or "c:") is
assumed.
Example:
COPY "card1:Logotype.1","LOGO.1"
7.4 Downloading Binary Files
Binary files, for example font files in TrueType format, can be down-
loaded to the printer’s permanent memory using a single instruction.
Before the transfer can be performed, the communication setup must be
changed to 8 characters, CTS/RTS handshake.
FILE& LOAD"<file name>",<file size>
<file name>
is the name you want to assign to the file in the printer’s memory.
<file size>
is the size in bytes of the original file in the host.
°e printer waits for the specified number of bytes to be received with a
25 sec. timeout between characters.
7.5 Downloading Image Files
Image files in .PCX format can be downloaded to the printer’s memory
and installed using a single instruction. Before the transfer can be per-
formed, the communication setup must be changed to 8 characters,
CTS/RTS handshake.
IMAGE LOAD"<image name>",<file size>[,"<flag>"]
<file name>
is the name you want to assign to the image in the printer’s memory.
<file size>
is the size in bytes of the original .PCX file in the host.
<flag>
is either ”S” or an empty string "":
S specifies that the image will be saved in the permanent memory (not
recommended);
an empty string ("") specifies that the image will be saved in the temporary
memory and thus will be deleted at power off or reboot.
°e printer waits for the specified number of bytes to be received with a
25 seconds timeout between characters.