Просмотр полной версии : ETHERNET TM200 со звонком :)
VampireKB
27.07.2010, 23:39
Доброго...ну вот и у меня косячок-с :) :) :)
Имеются принтеры ТМ-200 ..
С интерфейсом RS232 ,звонки пищали только в путь(CutBell = ON )
А После замены на сетевой интерфейс,данная настроечка уже не помогает...
Вопрос: какие символы необходимо прописать в SERVPRN.FRM Чтобы ТМка начала таки пещать ?
Звонки,как обычно,вставлены в разъём под днежный ящик :)
gte_33, это убогие встроенные звонки...
VampireKB
28.07.2010, 21:36
gte_33,
не то ...
мну надо 12V (или сколько там) на денежный ящик(звонок :) ) :)
мну давно волнует эта тема, но не занимался вопросом, завтра звякну в юцц юджину....
Вопрос: какие символы необходимо прописать в SERVPRN.FRM Чтобы ТМка начала таки пещать ?
Читаем TM200 ESC/POS command manual V 1.1
DLE DC4 n m t
[Name] Generate pulse at real-time
[Format] ASCII DLE DC4 n m t
Hex 10 14 n m t
Decimal 16 20 n m t
[Range] n = 1
m = 0, 1
1 ≤ t ≤ 8
[Description] Outputs the pulse specified by t to connector pin m as follows:
m Connector pin
0 Drawer kick-out connector pin 2.
1 Drawer kick-out connector pin 5.
[Details]
• When the printer is in an error status when this command is processed, this command is
ignored.
• When the pulse is output to the connector pin specified while ESC p or DEL DC4 is executed
while this command is processed, this command is ignored.
• The printer executes this command upon receiving it.
• With a serial interface model, this command is executed even when the printer is offline, the
receive buffer is full, or there is an error status.
• With a parallel interface model, this command cannot be executed when the printer is busy.
This command is executed even when the printer is offline or there is an error status when DIP
switch 2-1 is on.
• This command is effective even when the printer is disabled with ESC = (Select peripheral
device).
[Notes]
• If print data includes the same character strings as this command, the printer performs the
same operation specified by this command. The user must consider this.
• This command should not be used within the data sequence of another command that
consists of 2 or more bytes.
[Reference] ESC p
ESC p m t1 t2
[Name] Generate pulse
[Format] ASCII ESC p m t1 t2
Hex 1B 70 m t1 t2
Decimal 27 112 m t1 t2
[Range] m = 0, 1, 48, 49
0 ≤ t1 ≤ 200, 0≤ t2 ≤ 200
[Description] Outputs the pulse specified by t1 and t2 to connector pin m as follows:
M Connector pin
0, 48 Drawer kick-out connector pin 2.
1, 49 Drawer kick-out connector pin 5.
[Details]
• The pulse ON time is [t1 × 2 ms] and the OFF time is [t2 × 2 ms].
• If t2 < t1, the OFF time is [t1 × 2 ms]
[Reference] DLE DC4
VampireKB
21.02.2011, 16:54
дело было проще )0 поставил другой звонок - заработало ))
З.Ы. Кто-нить сам,лично,вписывал в ФОРМУ ЧЕКА HEX последовательность на открытие ден.ящика ? Может формочкой поделитесь ?:)))
А-то я в Хексе прописываю и 1В 70 00 30(это из pos.dll) и 1В70 0048(0149) ..и нифига...
Может формочкой поделитесь ?
Да, вот и мне актуально.
Powered by vBulletin® Version 4.2.6 LTS Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. Перевод: zCarot