FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD18 Android] print through serial port
[WD18 Android] print through serial port
Débuté par CCC2, 29 oct. 2013 13:30 - 2 réponses
Connectez-vous…
CCC2
#1
Posté le 29 octobre 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
Signaler
0
0
Ericus
#2
Posté le 29 octobre 2013 - 20:13
Hi
Any chance of you replying to the questions on your previous post?
[WM18 Android] print to printserver
Thanks
Ericus
Signaler
0
0
Etienne
#3
Posté le 19 septembre 2018 - 06:46
Hi,
Do you maybe have sample code?
Appreciate
Etienne@c-pos.co.za
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte