Epson U01II User Manual - Page 142

Output Interval Time, Input Sleep Time

Page 142 highlights

Version 2.65 Jul. 2009 Registry OPOS uses the system registry to store and reference device information. Although it is possible to view the information using the REGEDIT utility, do not change the SetupPOS program. For details, refer to the "OPOS Registry Usage" section of the "OPOS Appliccation Programmer's Guide ". Input buffer length It sets the size of the input buffer (unit in bytes; a area in the PC's memory for temporarily storing input data). Because this preset value has been optimized, usually it is not necessary to modify it. If this value is changed smaller than the preset one, the input response may deteriorate. On the other hand, if the new value is larger than the preset one, input response for large amount of data input would improve. Therefore, adjust this value if the input response is bad. Output buffer length It sets the size of the output buffer (unit in bytes; a area in the PC's memory for temporarily storing output data). Because this preset value has been optimized, usually it is not necessary to modify it. If this value is changed larger than the preset one, data loss may occur. On the other hand, if the new value is smaller than the preset one, the output performance may deteriorate. Therefore, unless there is a necessary, do not change the preset value. Output Interval Time Time interval for retry in the case output fails. If not even 1 byte is output for the set time, the Timeout error occurs. While this preset value has been optimized, modify it (usually by increasing it rather than decreasing it) if the Timeout error frequently occurs during printing at your environment. On the other hand, timeout errors which occur when communication is not possible due to physical problems such as cover being opened are normal. Change this value for cases where timeout error occurs during printing even though printing is possible. Input Sleep Time During the waiting for input, EPSON OPOS ADK can call Sleep (a WIN32 API). The input sleep time is the value (msec) to pass to the Sleep function. This preset value has been optimized and usually it does not need to be changed. Input processing (ReadFile) uses the CPU exclusively. When input process is performed while there is no input data in particular, because data event does not occur, the application looks like it is not running (hangs). To solve this problem, use the Sleep function between input processes so that control (of CPU) can be passed to other applications as much as possible. (Executing the Sleep function passes to other processes.) Try to use the preset input sleep time value, because if changing the value decreases the input response. To change the input sleep time value by all means, change it in a way that strikes a balance between input response and application performance. Port EPSON OPOS ADK uses the following types of ports: serial(COM), parallel(LPT), USB, Ethernet, and IEEE802.11b. Trace The trace (log) function provides support for application development. Usually this function is used only for debugging OPOS applications; it is not used for other purposes. To change the trace settings, use the "OPOS API trace settings" dialog box. Note that for version 1.xx, the trace function can be used only if an EPSON OPOS ADK supporting trace is installed. Message handling Depending on the application, some methods may require a lot of time to process. If the application needs to extract a message during the method processing duration, the message handling function is used. Do not use this function. 137 User's Manual Installer, SetupPOS, TMUSB

  • 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
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149

Version 2.65
Jul. 2009
137
User's Manual
Installer, SetupPOS, TMUSB
Registry
OPOS uses the system registry to store and reference device
information. Although it is possible to view the information using the
REGEDIT utility, do not change the SetupPOS program. For details,
refer to the “OPOS Registry Usage” section of the "OPOS Appliccation
Programmer's Guide ".
Input buffer length
It sets the size of the input buffer (unit in bytes; a area in the PC's
memory for temporarily storing input data). Because this preset value
has been optimized, usually it is not necessary to modify it. If this value
is changed smaller than the preset one, the input response may
deteriorate. On the other hand, if the new value is larger than the
preset one, input response for large amount of data input would
improve. Therefore, adjust this value if the input response is bad.
Output buffer length
It sets the size of the output buffer (unit in bytes; a area in the PC's
memory for temporarily storing output data). Because this preset value
has been optimized, usually it is not necessary to modify it. If this value
is changed larger than the preset one, data loss may occur. On the
other hand, if the new value is smaller than the preset one, the output
performance may deteriorate. Therefore, unless there is a necessary,
do not change the preset value.
Output Interval Time
Time interval for retry in the case output fails. If not even 1 byte is
output for the set time, the Timeout error occurs. While this preset
value has been optimized, modify it (usually by increasing it rather than
decreasing it) if the Timeout error frequently occurs during printing at
your environment. On the other hand, timeout errors which occur when
communication is not possible due to physical problems such as cover
being opened are normal. Change this value for cases where timeout
error occurs during printing even though printing is possible.
Input Sleep Time
During the waiting for input, EPSON OPOS ADK can call Sleep (a
WIN32 API). The input sleep time is the value (msec) to pass to the
Sleep function. This preset value has been optimized and usually it
does not need to be changed. Input processing (ReadFile) uses the
CPU exclusively. When input process is performed while there is no
input data in particular, because data event does not occur, the
application looks like it is not running (hangs). To solve this problem,
use the Sleep function between input processes so that control (of
CPU) can be passed to other applications as much as possible.
(Executing the Sleep function passes to other processes.) Try to use
the preset input sleep time value, because if changing the value
decreases the input response. To change the input sleep time value by
all means, change it in a way that strikes a balance between input
response and application performance.
Port
EPSON OPOS ADK uses the following types of ports: serial(COM),
parallel(LPT), USB, Ethernet, and IEEE802.11b.
Trace
The trace (log) function provides support for application development.
Usually this function is used only for debugging OPOS applications; it
is not used for other purposes. To change the trace settings, use the
“OPOS API trace settings” dialog box. Note that for version 1.xx, the
trace function can be used only if an EPSON OPOS ADK supporting
trace is installed.
Message handling
Depending on the application, some methods may require a lot of time
to process. If the application needs to extract a message during the
method processing duration, the message handling function is used.
Do not use this function.