SEWOO WTP-100 Technical Manual

WTP-100
Thermal Receipt printer
Technical manual
TECHNICAL MANUAL
SEWOO TECH CO., LTD.
TITLE : WTP-100
Page2
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
1. General Specifications
1.1 Printing Specifications
1.2 Character Specifications
1.3 Auto Cutter
1.4 Paper Roll Supply Device
1.5 Paper Specifications
1.6 Printable Area
1.7 Printing and Cutting Positions
1.8 Internal Buffer
1.9 Electrical Characteristics
1.10 EMI and Safety Standards Applied
1.11 Reliability
1.12 Environmental Conditions
2. Configuration
TABLE OF CONTENTS
2.1 Interface
2.1.1 RS-232 serial interface
2.1.2 Specifications
2.1.3 Switching between on-line and off-line
2.1.4 Interface connector terminal assignments and signal functions
2.1.5 Serial interface connection example
2.1.6 Centronics parallel interface
2.1.7 Interface Connector
2.1.8 Parallel Interface
2.1.9 Data Receiving Timing(Compatibility Mode)
3. Connectors
TITLE : WTP-100
Page3
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
3.1 Interface Connectors
3.2 Electrical Characteristics
3.3 Drawer kick-out Connector (Modular Connector)
◈ Control Command Summary
1. General Specifications
1.1 Printing Specifications
1) Printing method: Thermal line printing
2) Dot density: 203dpi × 180dpi. The number of dots per
3) Printing direction: Unidirectional with friction feed
4) Printing width: 72mm(2.83"), 576 dot positions
5) Characters per line(default): Font A: 46 Font B: 61
6) Printed dot dimension: 0.11mm °0.13mm
7) Printing speed: High speed mode:
30.7lines/second maximum (1/6inch feed) (at 24V, 20) Approximately 130mm/sec maximum (approximately 5.11inchs/sec maximum) NOTE: Speeds are switched depending on the applied voltage to the printer and head temperature conditions automatically. NOTE: There may be variations in printing after switching the mode of the printing speed. To prevent this for logo printing with ESC* command, using a downloaded bit image is recommended. Change in printing speed does not occur during down loaded bit image printing.
8) Paper feed speed: Approximately 150mm/second
9) Line spacing (default): 1/6 inch (4.23mm) Programmable by control command.
25.4mm(1")
(approximately 5.9 inches/second) (continuous paper feeding)
TITLE : WTP-100
Page4
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
1.2 Character Specifications
1) Number of characters: Alphanumeric characters: 95
Extended graphics 128 × 7 pages
(including one space page)
International characters: 32
① English ② Hangul ③ Chinese (GB2312)
2) Character structure: Font A: 12 ⅹ 24 Font B: 9 24 Hangul,GB: 24 24 Font A is selected as the default
3) Character size:
Standard Double-height Double-width
W ⅹ H(mm)
FontA 12ⅹ24
FontB 9ⅹ24
Hangul, GB 24ⅹ24
Space between characters is not included. CPL = Characters per line
1.25
3.39
0.875
3.39
33.39 23 36.77 23 6ⅹ3.39 11 6ⅹ6.77 11
CPL
46
61
W ⅹ H(mm)
1.25
6.77
0.875ⅹ
6.77
CPL
42
61
W ⅹ H(mm)
2.5ⅹ
3.39
1.75ⅹ
3.39
CPL
23
30
Double-width /
Double-height
W ⅹ H(mm)
2.5ⅹ
6.77
1.75ⅹ
6.77
CPL
23
30
1.3 Auto Cutter
Partial cut: Cutting with one point center uncut
NOTE: To prevent dot displacement, after cutting, paper must be fed
TITLE : WTP-100
Page5
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
approximately 1mm(14/360 inches) or more before printing.
1.4 Paper Roll Supply Device
1) Supply method: Drop-in paper roll
2) Near-end sensor: a) Detection method: Microswitch b) Paper roll spool diameter: Inside: 12mm(.47″ ) Outside: 18mm(.71) c) Near-end adjustment: Adjusting screw
d) Remaining amount: Fixed position #1 (approximately
23mm(0.9″ )) #2 (approximately
27mm(1.06″ )) NOTE: You can use a command to stop printing upon detection of a paper near-end.
1.5 Paper Specification
1) Paper type: Specified thermal paper
2) Form: Paper roll
3) Paper width: 79.5 ± 0.5mm(3.13"±0.02")
4) Paper roll size: Roll diameter: Maximum 83mm Take-up paper roll width: 80 ± 0.5, 1.0mm(3.15"±
0.020", 0.04")
5) Paper roll spool diameter: Inside: 12mm(.47")
Outside: 18mm(.71") NOTE: Paper must not be pasted to the paper roll spool.
1.6 Printable Area
1) Paper roll
The printable area of a paper with width of 79.5± 0.5mm(3.13"±0.02") is
72.2 ± 0.2mm(2.84"±0.008")(576dots) and the space on the right and left sides are approximately 3.7 ± 2mm(0.15"±0.079"). a=79.5±0.5mm(3.13"±0.02") a b=0.125mm±0.05mm(.056"±.002")
c=69mm±0.2mm(2.84±.008") b d=3.7±0.2mm(0.15"±0.079")
□□ □ ……………□□ e=3.7±0.2mm(0.15"±0.079")
c [All the numeric values are typical.]
d e
< Figure 1.1 Paper Roll Printable Area >
TITLE : WTP-100
Page6
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
1.7 Printing and Cutting Positions
Manual-cutter position
Auto-cutter blade position
Center of the print dotline
< Figure 1.2 Printing and Cutting Positions >
NOTE: Numeric values used here are typical values; the values may vary slightly as a result of paper slack or variations in the paper. Take the notice into account when setting the cutting position of the auto-cutter.
1.8 Internal Buffer
1) Receive buffer: 8kbyte
1.9 Electrical Characteristics
1) Supply voltage: +24 VDC ± 7%
2) Current consumption (at 24V): Operating: Approx. 1.5A(at ASCII Printing) Peak: Approx. 10A(at print duty 100%, For 10
seconds or less)
Stand-by: Approx. 0.15A
1.10 EMI and Safety Standards Applied
1) Europe: EMI – EN55022 CLASS A
EMS – EN61000-3-2
EN61000-3-3 EN50082-1
Safety Standard: EN60950
2) North America: EMI - FCC Part#15 Class A Safety Standards- UL(1950), c-UL(No.950)
1.11 Reliability
1) MCBF: 60 million lines
(based on an average printing rate of 12.5% with paper
TITLE : WTP-100
Page7
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
thickness in the range 65 ㎛ to 75 ㎛).
25 million lines
(based on an average printing rate of 12.5% with paper thickness in the range 76 ㎛ to 150 ㎛)
2) Cutter Life: 3.0 million cuttings
(if the paper thickness is between 65 and 100 ㎛)
1.12 Environmental Conditions
1) Temperature: Operating: 5° to 45°C (41° to 113°F) Storage: -10° to 50°C (14° to 122°F)
(except for paper)
2) Humidity: Operating: 10 to 90%RH
Storage: 10 to 90%RH (except for paper)
[RH] 90 80
60 Relative humidity 40 range 20 10
0 0 10 20 30 40 50
< Figure 1.3 Operating Temperature and Humidity Range >
Operating environment
Ambient temperature [°C]
TITLE : WTP-100
Page8
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
2. Configuration
2.1 Interface
2.1.1 RS-232 serial interface
2.1.2 Specifications
Data transmission: Serial Synchronization: Asynchronous Handshaking: DTR/DSR or XON/XOFF control Signal levels: MARK= -3 to – 15V: Logic “ 1”
SPACE= +3 to +15V: Logic “ 0” Baud rage: 4800, 9600, 19200, 38400 bps Data word length: 7 or 8 bits Parity Settings: None, even, odd Stop bits: 1 or more Connector (printer side): Female DSUB-25 pin connector
NOTE: The data word length, baud rate, and parity depend on the
DIPswitch settings.
TITLE : WTP-100
2.1.3 Switching between on-line and off-line
Page9
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
The printer does not have an on-line/off-line switch. The printer goes off-line:
• Between when the power is turned on (including reset using the interface) and when the printer is ready to receive data.
• During the self-test.
•When the cover is open.
• During paper feeding using the paper feed button.
• When the printer stops printing due to a paper-end (in cases when an empty paper supply is detected by either paper roll end detector or the paper roll near-end detector with a printing halt feature by ESC c4).
• During macro executing stand by status.
• When a temporary abnormality occurs in the power supply voltage.
• When an error has occurred.
2.1.4 Interface connector terminal assignments and signal functions
PIN SIGNAL I/O DESCRIPTION
2 TXD - Printer transmit data line RS-232C level 3 RXD - Printer receive data line RS-232C level
4, 20 DTR Output Printer handshake to host line RS-232C level
6 DSR Input Data Send Ready
1,7 GND - System Ground
2.1.5 Serial interface connection example
Host side Printer side
TXD ………………………………… RXD DSR ………………………………… DTR
RXD ………………………………… TXD DTR ………………………………… DSR FG ………………………………… FG SG ………………………………… SG
NOTES: ◦ Set the handshaking so that the transmit data can be
received. ◦ Transmit data to the printer after turning on the power and initializing the printer.
TITLE : WTP-100
Page10
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
N
1 Bit
< Figure 2.2 Line transmission with protocol >
2.1.6 Centronics parallel interface
7 or 8 Bit
< Figure 2.1 Serial transmission bit frame >
one or
1 Bit
1 or 2 Bit
TITLE : WTP-100
Page11
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
PIN SIGNAL I/O DESCRIPTION
1 STROBE- Input Synchronize signal Data received
2-9 DATA0-7 Input Data bit Transmitted 0-7
10 ACK- Output Data receiving competed 11 BUSY Output Impossible to printer data receiving 12 PE Output Paper empty 13 SELECT Output Printer’ s status for ON/OFF line 14 AUTO FEED- Input ND 15 NC - 16 GROUND - System Ground 17 CHASSIS GND - System Ground 18 LOGIC-H - +5V
19-30 GROUND - System Ground
31 INIT- Input Initialize 32 ERROR- Output Printer Error 33 GROUND - System Ground 34 NC - 35 +5V - +5V 36 SELECT IN- Input ND
Parallel Port>
2.1.7 Interface Connector
<D-SUB 25 Female Serial Port> <D-SUB Centronics
TITLE : WTP-100
Page12
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
2.1.8 Parallel Interface
1) Specifications Data transmission: 8-bit parallel Synchronization: STROBE pulse supplied by host computer. Handshaking: ACK and BUSY Connector: D-SUB 25(male) or equivalent
DATA Data n Data n+1
THold-1
nStrobe
tSetup tSTB tHold-2
Busy Peripheral Busy
tReady tBUSY
nAck tReply tACK tnBUSY
tNext
2.1.9 Data Receiving Timing (Compatibility Mode)
Characteristics Symbol
Data Hold Time (host) tHold-1 -- 500 Data Hold Time (printer) tHold-2 -- -­Data Setup Time tSetup -- 500 STROBE Pulse Width tSTB -- 500 READY Cycle Idle Time tReady -- -­BUSY Output Delay Time tBUSY 0 500 Data Processing Time tReply 0 ∞ ACKNLG Pulse Width tACK 500 10 ㎲ BUSY Release Time tnBUSY 0 ∞ ACK Cycle Idle Time tNEXT -- 0
*The printer latches data at a nStrobe timing
Specifications
Min [ns] Max [ns]
TITLE : WTP-100
Page13
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
3. Connectors
3.1 Interface Connectors Refer to Section 2.1, Interface
3.2 Electrical Characteristics
1) Input Voltage: DC 24V ± 10%
2) Current Consumption: Operating: Approx. 1.5 A (at ASC∥ printing) Peak: Approx. 10 A (at print duty 100%, For 10 seconds or
less)
Stand-by: Approx. 0.15 A
3) Power Connector
TITLE : WTP-100
Page14
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
3.3 Drawer Kick-out Connector (Modular Connector)
The pulse specified by ESC p or DLE DC4 is output to this connector. The host can confirm the status of the input signal by using the DLE EOT, GS a, or GS r commands.
1) Pin assignments: Refer to Table 2.2.2
2) Connector model:
Printer side: DAEEUN DEK-623PCB-6-B or Equivalent
User side: 6-position 6-contact (RJ12telephone jack)
< Drawer Kick-out Connector Pin Assignments >
Pin Number Signal Name Direction
1 Frame GND ­2 Drawer kick-out drive signal 1 Output 3 Drawer open/close signal Input 4 +24V ­5 Drawer kick-out drive signal 2 Output 6 Signal GND -
+24V is output through pin 4 when the power is turned on. However, pin 4 must by used only for the drawer.
< Figure 3.1 Drawer Kick-out Connector >
3) Drawer kick-out drive signal Output signal: Output voltage: Approximately 24V Output current: 1A or less
CAUTION: To avoid an overcurrent, the resistance of the drawer kick-out solenoid must be 24 or more.
Output waveform: Outputs the waveforms in Figure 3.2 to the points A and B
TITLE : WTP-100
Page15
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
in Figure 3.3
t
1 (ON time) and t2 (OFF time) are specified by ESC p or
DLE DC4.
t1
< Figure 3.2 Drawer Kick-out Drive Signal Output Waveform >
4) Drawer open/close signal Input signal level (connector pin 3): L= 0 to 0.8VH= 3 to 5V
x 2ms : t2 x 2ms
TITLE : WTP-100
< Figure 3.3 Drawer Circuitry >
Page16
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
NOTE: 1. Use a shielded cable for the drawer connector cable.
2. Two driver transistors cannot be energized simultaneously.
3. The drawer drive duty must by as shown below.
ON time
0.2
(ON time + OFF time)
4. Be sure to use the printer power supply (connector pin 4) for the drawer power source.
5. The resistance of the drawer kick-out solenoid must not be less than the specified. Otherwise, an overcurrent could damage the solenoid.
6. Do not connect telecommunication network to the drawer kick-out connector.
Control command summary
No. Command Function
1 HT Horizontal tab 2 LF Print and line feed 3 CR Print and carriage return 4 FF Print end position label to start printing 5 CAN Cancel print data in page mode 6 DLE EOT Real-time status transmission 7 DLE ENQ Real-time request to printer 8 DLE DC4 Generate pulse at real-time
9 ESC FF Print data in page mode 10 ESC SP Set character right-side spacing 11 ESC ! Set print mode 12 ESC $ Select/cancel user-defined character set 13 ESC % Define user-defined characters 14 ESC & Turn underline mode on/off 15 ESC * Set bit image mode 16 ESC - Turn underline mode on/off 17 ESC 2 Set 1/6 inch line spacing 18 ESC 3 Set line spacing using minimum units 19 ESC = Select peripheral device 20 ESC ? Cancel user-defined characters 21 ESC @ Initialize printer 22 ESC D Set horizontal tab positions 23 ESC E Select emphasized mode 24 ESC G Select double-strike mode 25 ESC J Print end feed paper using minimum units 26 ESC L Select page mode
TITLE : WTP-100
Page17
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
27 ESC M Select character font 28 ESC R Select international character set 29 ESC S Select standard mode 30 ESC T Select print direction in page mode 31 ESC V Set/cancel 90° cw rotated character 32 ESC W Set printing area in page mode 33 ESC ₩ Set relative position 34 ESC a Align position 35 ESC c 3 Select paper sensor(s) to output paper-end signals 36 ESC c 4 Select paper sensor(s) to stop printing 37 ESC c 5 Enable/disable panel buttons 38 ESC d Print and feed paper n lines 39 ESC p General pulse 40 ESC t Select character code table 41 ESC { Set/cancel upside-down character printing 42 GS ! Select character size 43 GS $ Set absolute vertical print position in page mode 44 GS * Define downloaded bit image 45 GS / Print down-loaded bit image 46 GS : Start/end macro definition 47 GS B Turn white/black reverse printing mode on/off 48 GS H Select printing position of HRI characters 49 GS I Transmit printer ID 50 GS L Set left margin 51 GS P Set horizontal and vertical motion units 52 GS V Cut paper 53 GS W Set printing area width 54 GS ₩ Set relative vertical print position in page mode 55 GS ^ Execute macro 56 GS a Enable/disable Automatic Status Back(ASB) 57 GS b Turn smooting mode on/off 58 GS f Select font for HRI characters 59 GS h Set bar code height 60 GS k Print bar code 61 GS r Transmit status 62 GS v 0 Print raster bit image 63 GS w Set bar code width
< Add > 1 ESC I Full cut 2 ESC m Partial cut
TITLE : WTP-100
Page18
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
‘ Command Descriptions
Command Notation
[Name]
[Format]
[Range]
[Description]
[Notes]
[Default]
[Reference]
[Example]
The name of the control command.
The code sequence. In this description, < > H denotes hexadecimal numbers, < >denotes decimal numbers and < > B denotes binary numbers. [ ] k indicates the contents of the [ ] should be repeated k times.
The allowable range for the arguments.
Description of the command function.
If necessary provides important information on setting and using the printer command.
The default values for the commands.
List related commands.
Example of using the commands.
TITLE : WTP-100
Page19
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
The numbers denoted by <>H is hexadecimal. The numbers denoted by <>B is binary.
Print Commands
The ADP series supports the following commands for printing characters and advancing paper.
HT
[Name] Horizontal tab
[Format] ASCII HT Hex 09 Decimal 9
[Description] Moves the print position to the next tab position. This command is ignored unless the next tab position has been set.
[Notes] Horizontal tab positions are set using “ ESC D” .
If this command is received when the printing position is at [printing area width +1], the printer executes print buffer-full printing of the current line and horizontal tab processing from the beginning of the next line.
[Reference] ESC D
TITLE : WTP-100
Page20
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
LF
[Name] Print and line feed
[Format] ASCII LF Hex 0A Decimal 10
[Description] LF prints the data in the print buffer and feeds one line.
The amount of paper fed per line is based on the value set using the line spacing command. The default setting is 1/6 inch.
[Reference] ESC 2, ESC 3
CR
[Name] Print and line feed
[Format] ASCII CR Hex 0D Decimal 13
[Description] When auto line feed is enabled, this command functions in the same
way as LF.
When auto line feed is disabled, this command is ignored.
[Reference] This command sets the print position to the beginning of the line.
This command is available only with a parallel interface and is ignored with a serial interface.
TITLE : WTP-100
Page21
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
FF
[Name] Print and return to standard mode (in page mode).
[Format] ASCII FF Hex 0C Decimal 12
[Description] FF prints the data in the print buffer and returns to standard mode.
[Notes] The printing area set by ESC W is reset to the default setting. This command is effective only when page mode is selected.
All data are cleared after printing.
This command sets the print position to the beginning of the line.
[Reference] FF, ESC L, ESC S
CAN
[Name] Cancel print data in page mode
[Format] ASCII CAN Hex 18 Decimal 24
[Description] In page mode, delete all the print data in the current printable area.
[Notes] This command is enabled only in page mode.
If data that existed in the previously specified printable area also exists in the currently specified printable area, it is deleted.
DLE EOT n
[Name] Real-time status transmission.
[Format] ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n
[Range] 1≤n≤4
[Description] Transmits the selected printer status specified by n in real-time,
according to the following parameters:
TITLE : WTP-100
Page22
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
n=1 : Transmit printer status n=2 : Transmit off-line status n=3 : Transmit error status n=4 : Transmit paper roll sensor status
[Notes] The status is transmitted whenever the data sequence of
<10>H<04>H<n> (1 ≤ n ≤ 4) is received. Example: In ESC * m nL nH d1...dk, d1=<10>H, d2=<04>H, d3=<01>H This command should not be used within the data sequence of another command that consists of 2 or more bytes. Example: If you attempt to transmit ESC 3 n to the printer, but DTR (DSR for the host computer) goes to MARK before n is transmitted and then DLE EOT 3 interrupts before n is received, the code <10>H for DLE EOT 3 is processed as the code for ESC 3 <10>H. Even though the printer is not selected using ESC = (select peripheral device), this command is effective. The printer transmits the current status. Each status is represented by one-byte data. The printer transmits the status without confirming whether the host computer can receive data. The printer executes this command upon receiving it. This command is executed even when the printer is off-line, the receive buffer is full, or there is an error status with a serial interface model. With a parallel interface model, this command can not be executed when the printer is busy. This command is executed even when the printer is off-line or there is an error status when DIP switch 2-1 is on with a parallel interface model. When Auto Status Back (ASB) is enabled using the GS a command, the status transmitted by the DLE EOT command and the ASB status must be differentiated.
n = 1: Printer status
Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off 1 On 02 2 Not used. Fixed to On
TITLE : WTP-100
Page23
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
Off 00 0 Drawer open/close signal is LOW (connector pin 3). 2 On 04 4 Drawer open/close signal is HIGH (connector pin 3). Off 00 0 On-line 3
On 08 8 Off-line. 4 On 10 16 16 Not used. Fixed to On 5,6 - - - Undefined. 7 Off 00 0 Not used. Fixed to Off.
n = 2: Off-line status
Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off 1 On 02 2 Not used. Fixed to On
Off 00 0 Cover is closed 2 On 04 4 Cover is open Off 00 0 Paper is not being fed by using the FEED button 3 On 08 8 Paper is being fed by the FEED button
4 On 10 16 Not used. Fixed to On
Off 00 0 No paper-end stop 5 On 20 32 Printing is being stopped Off 00 0 No error 6 On 40 64 Error occurs
7 Off 00 0 Not used. Fixed to Off
Bit 5: Becomes on when the paper end sensor detects paper end and printing stops.
n= 3: Error status
Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off 1 On 02 2 Not used. Fixed to On 2 - - - Undefined
Off 00 0 No auto-cutter error 3 On 08 8 Auto-cutter error occurs
4 On 10 16 Not used. Fixed to On
Off 00 0 No unrecoverable error 5 On 20 32 Unrecoverable error occurs Off 00 0 No auto-recoverable error 6 On 40 64 Auto recoverable error occurs
7 Off 00 0 Not used. Fixed to Off
Bit 3: If these errors occur due to paper jams or the like, it is possible to recover by
TITLE : WTP-100
Page24
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
correcting the cause of the error and executing DLE ENQ n (1 £ n £ 2). If an error due to a circuit failure (e.g. wire break) occurs, it is impossible to recover.
Bit 6: When printing is stopped due to high print head temperature until the print head
temperature drops sufficiently or when the paper roll cover is open during printing, bit 6 is On.
n = 4: Continuous paper sensor status
Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off 1 On 02 2 Not used. Fixed to On
Off 00 0 Paper roll near-end sensor: paper adequate 2,3
On 0C 12 Paper near-end is detected by the paper roll near-
endsensor.
4 On 10 16 Not used. Fixed to On
Off 00 0 Paper roll sensor: Paper present 5,6
On 60 96 Paper roll end detected by paper roll sensor 7 Off 00 0 Not used. Fixed to Off
[Reference] DLE ENQ, GS a, GS r
TITLE : WTP-100
Page25
Document : 010608C
Revision : 01
06/ 08/ 2001
TECHNICAL MANUAL
DLE ENQ n
[Name] Real-time request to printer
[Format] ASCII DLE EOT n Hex 10 05 n Decimal 16 5 n
[Range] 1≤n≤2
[Description] Responds to a request from the host computer. n specifies the requests
as follows: N Request 1 Recover from an error and restart printing from the line where the error occurred 2 Recover from an error aft clearing the receive and print buffers
[Notes] This command is effective only when an auto-cutter error occurs
The printer starts processing data upon receiving this command.
This command is executed even when the printer is off-line, the receive
buffer is full, or there is an error status with a serial interface model.
With a parallel interface model, this command can not be executed
when the printer is busy. This command is executed even when the
printer is off-line or there is an error status when DIP switch 2-1 is on
with a parallel interface model.
The status is also transmitted whenever the data sequence of
<10>H<05>H< n> (1≤ n≤ 2) is received.
Example:
In ESC * ** * m
This command should not be contained within another command that
consists of two or more bytes.
Example:
If you attempt to transmit ESC 3 n to the printer, but DTR (DSR for the
host computer) goes to MARK before n is transmitted, and DLE ENQ 2
interrupts before n is received, the code <10>H for DLE ENQ 2 is
processed as the code for ESC 3 <10>H.
DLE ENQ 2 enables the printer to recover from an error after clearing the
data in the receive buffer and the print buffer. The printer retains the
settings (by ESC !, ESC 3, etc.) that were in effect when the error
occurred. The printer can be initialized completely by using this
nL nH dk, d1 = <10>H, d2 = <05>H, d3 = <01>H
TITLE : WTP-100
Page26
Document : 010608C
Revision : 01
06/ 08/ 2001
Loading...
+ 58 hidden pages