GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
[WD18 Android] print through serial port
[WD18 Android] print through serial port
Iniciado por CCC2, out., 29 2013 1:30 PM - 2 respostas
Conecte-se…
CCC2
#1
Publicado em outubro, 29 2013 - 1:30 PM
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
Denunciar
0
0
Ericus
#2
Publicado em outubro, 29 2013 - 8:13 PM
Hi
Any chance of you replying to the questions on your previous post?
[WM18 Android] print to printserver
Thanks
Ericus
Denunciar
0
0
Etienne
#3
Publicado em setembro, 19 2018 - 6:46 AM
Hi,
Do you maybe have sample code?
Appreciate
Etienne@c-pos.co.za
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto