Reading raw printer input
[1/2] from: maillist:peter:home:se at: 2-Dec-2003 23:47
Hello!
Has anyone written a script for reading all data on the printer port?
My modem is a WinModem but it is installed and works under Debian/Linux.
It is a CNet PCI Modem CN5614RV which is based on the Conexant chip.
I am not sure if the modem supports CallerID but the Conexant chip does
so I would like to really see what's actually happens on the modem port
when there is a dial in.
Best regards,
Peter Carlsson
[2/2] from: rebolview::yahoo::fr at: 3-Dec-2003 9:56
See in the past on http://www.codeur.org/forum/forum.php?css=http://www.rebolfrance.org/forum.css&theme=17
Auteur: un visiteur
Date: 27-11-2001 23:55
Voila ce que j'ai trouvé pour extraire le Numéro de l'appelant dans la séquence callerID.
Modem V92 (ready) Olitec Speedcom
modem: open/lines/no-wait/direct serial://port2/9600/8/none/1
insert modem "AT+VCID=1^M"
ready: wait [modem]
if ready [data: copy ready] print data
forever [
ready: wait [modem ]
if ready [data: copy ready]
foreach x data [if find x "NMBR" [print x]]
]
close modem
Si ça peut aider les futurs bricoReboleurs.
Mais si d'autre trouve une solution plus smart, je suis preneur.
Merci et A+
Hope this can help you...
-yos
Peter Carlsson <[maillist--peter--home--se]> wrote:
Hello!
Has anyone written a script for reading all data on the printer port?
My modem is a WinModem but it is installed and works under Debian/Linux.
It is a CNet PCI Modem CN5614RV which is based on the Conexant chip.
I am not sure if the modem supports CallerID but the Conexant chip does
so I would like to really see what's actually happens on the modem port
when there is a dial in.
Best regards,
Peter Carlsson