PHP Classes

Send decimal value

Recommend this page to a friend!

      JetDirect  >  All threads  >  Send decimal value  >  (Un) Subscribe thread alerts  
Subject:Send decimal value
Summary:Send decimal value for controlling the ports
Messages:3
Author:d-work
Date:2009-10-07 13:01:33
Update:2009-10-08 21:52:47
 

  1. Send decimal value   Reply   Report abuse  
Picture of d-work d-work - 2009-10-07 13:01:33
Hello the class works fine, but i need to send a decimal value for controlling the ports.

Now if i send decimal value 16 it send first 1 and than 6.

Tanks,
David

  2. Re: Send decimal value   Reply   Report abuse  
Picture of Zafar Iqbal Zafar Iqbal - 2009-10-08 09:21:16 - In reply to message 1 from d-work
Hi David,

Can you give more details with the issue you are having?
I do not understand "controlling the ports".

Cheers.

  3. Re: Send decimal value   Reply   Report abuse  
Picture of d-work d-work - 2009-10-08 21:52:47 - In reply to message 2 from Zafar Iqbal
Thanks for you reply.

If have written a visual basic program to set the pins high ex: if i send a value 1 to the jetdirect then pin 1 is high from the ltp port. when i send a value 34 then pin 2 and 6 is high.

When i send a value of 1 to the jetdirect for setting pin high it works but with your program pin 5 and 6 is always high.

Thanks David