Hi Sergio,
I coded such a utility in order to remote control a LaserDisk player,
through a serial connection and (of course), a USB/Serial adapter.
This App runs on Mac and works very well.
Would you like me to send the project to you off line?
I believe all "serial" code could be of interest for you.
Note that strings and comments are in French. I could help you
understand how it works, if needed.
HTH
Jean-Luc Arnaud
Le 15/06/2016 à 09:56, Sergio Tamborini a écrit :
> I forget to specify that I have a button that send the string to the printer:
>
> Serial1.Close
> Serial1.SerialPort = System.SerialPort("/dev/"+SerialMenu.Text)
> SendSerial=str("/dev/"+SerialMenu.Text)
>
> If Serial1.Open = false Then
> MsgBox("Error opening Serial Port")
> Else
> SendText()
> End If
>
> I have only the error...
>
> On Wed, 15 Jun 2016 09:52:58 +0200, Sergio Tamborini wrote:
>> dim i As Integer
>>
>> for i=0 to 9
>> me.AddRow("ttys"+str(i))
>> Next
>> me.AddRow("ttys000")
>> me.AddRow("ttysa")
>> me.AddRow("ttysb")
>> me.AddRow("ttysc")
>> me.AddRow("ttysd")
>> me.AddRow("ttyse")
> ------
>
> Sergio Tamborini
> Brescia
> http://www.system-i.it
>
>
> "C'è un equivoco di fondo. Si dice che il politico che ha avuto
> frequentazioni mafiose, se non viene giudicato colpevole dalla magistratura,
> è un uomo onesto. No! La magistratura può fare solo accertamenti di carattere
> giudiziale. Le istituzioni hanno il dovere di estromettere gli uomini
> politici vicini alla mafia, per essere oneste e apparire tali"
>
> "There is a basic misunderstanding. It is said that political mafia has had
> acquaintances, if not found guilty by the courts, is an honest man. No. The
> judiciary can only do the findings of a judicial nature. Institutions have a
> duty to oust politicians close to the mafia, to be honest, these look"
>
> Paolo Borsellino
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info