FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
[WD18 Android] print through serial port
[WD18 Android] print through serial port
Iniciado por CCC2, 29,oct. 2013 13:30 - 2 respuestas
Conéctese…
CCC2
#1
Publicado el 29,octubre 2013 - 13:30
Hi,
Today I manage to print to epson TM-T88iii through serial port using serial server
http://www.atop.com.tw/atop/product/product_detail/data/atop_iapl/en/serial_device_servers_entry_level/se5002/
first I must warn that this is a very expensive tcp to serial convertor . but it work
few setting must be done to serial server
1. Enable VirtualCOM for Serial/IP must uncheck
2. Empty Serial Buffer When TCP Connection is Established must set to YES
3. Data Packet Delimiter Inter-character Time Gap : 2 (default)
on windev mobile make sure
socketchangetransmissionmode("PRT01", socketNoEndTag)
next ,do not join the string to print and esc/pos command . seperate it. for example
socketwrite("PRT01", "TESTING 123")
socketwrite("PRT01", charact(27) + "d"+ charact(1)
// to cut paper
socketwrite("PRT01", charact(27) + "d"+ charact(5)
socketwrite("PRT01", charact(27) + "m"
the serial server handle buffer pretty well . I can print 200 lines with 42 character each lines without any problem
king of the lab
Informar
0
0
Ericus
#2
Publicado el 29,octubre 2013 - 20:13
Hi
Any chance of you replying to the questions on your previous post?
[WM18 Android] print to printserver
Thanks
Ericus
Informar
0
0
Etienne
#3
Publicado el 19,septiembre 2018 - 06:46
Hi,
Do you maybe have sample code?
Appreciate
Etienne@c-pos.co.za
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto