Humm, I believe it's due to the version of Mac OS X.

I didn't use this code for a while, but I'm quiet sure it requires Mac 
OS X 10.6 or maybe 10.7.

Could you try with these versions? Unless you may get an update for the 
USB/Serial Adpater driver.

Jean-Luc Arnaud

Le 15/06/2016 à 11:13, Sergio Tamborini a écrit :
> Your project is interesting, but my problem is that here
>
>    Dim i As Integer
>    
>    For i=0 To System.SerialPortCount-1
>      Me.AddRow(System.SerialPort(i).Name)
>    Next
>
> I don't have the serial port to the printer... :-(
>
> On Wed, 15 Jun 2016 10:14:33 +0200, Jean-Luc Arnaud wrote:
>> 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
> ------
>
> 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

Reply via email to