<div dir="ltr"><div><div><div><div><div>Tony all the information was given:<br><br></div>1 it's a fiscal printer, there's no sense in give you that are a epson dot matrix due you need the kit's in place to test<br><br></div>2 i tested and make many mothns ago a POS systems so test with command line the kit was done! please!<br><br></div>3) of course commands are ver very correct! i receive data but not as planned by the event as T Lee said!<br><br></div>about the odbc, i provide the odbc driver info, TDS do you noted and read the issues?<br>and connection string info, i not the only that suffers the odbc problem, the world are not the "little hole of mysql" right!<br><br></div>please seems are you the guy that are "srcreaming garbage"<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.com</a></font></div></div></div>
<br><div class="gmail_quote">2018-08-13 15:22 GMT-04:00 Tony Morehen <span dir="ltr"><<a href="mailto:tmorehen@ajm-software.com" target="_blank">tmorehen@ajm-software.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>I give up trying to help you.  I asked 3 questions.  You ignored
      two and said there is no point in answering the other.  How can
      anyone help you when you refuse to provide any information?</p>
    It's like the ODBC problems you've been yelling and screaming
    about.  You don't even give basic information like what odbc driver
    you are using, including version.<div><div class="h5"><br>
    <br>
    <div class="m_-3874591972730439321moz-cite-prefix">On 2018-08-13 02:48 PM, PICCORO McKAY
      Lenz wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>
          <div>well it's a fiscal printer, so there's no sense in tell
            you taht it's a epson dot matrix<br>
            <br>
            i put more delay and now event raised! i mean, 0.5 ms in
            main module event in the property event!<br>
            and 0.1 ms in the read function.. <br>
            <br>
          </div>
          but if i put tyhe delay in any other place that are not in the
          main there's no read event raised!<br>
          <br>
        </div>
        <div>ans somethings does not happened (very rare times)<br>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="m_-3874591972730439321gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font>
            <div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.<wbr>com</a></font></div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">2018-08-13 13:52 GMT-04:00 Tony Morehen
          <span dir="ltr"><<a href="mailto:tmorehen@ajm-software.com" target="_blank">tmorehen@ajm-software.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="m_-3874591972730439321m_5647151704532716186moz-forward-container">Perhaps
                you could upload the latest version of your code?
                <p>What printer are you testing this against?</p>
                <p>Have you tried connecting via a terminal program to
                  your printer?  This will double check your connection
                  settings and let you see the actual response to the
                  commands you are sending.  Another test is to use a
                  serial port monitor or sniffer to view your program's
                  serial port activity.<br>
                </p>
                <div>
                  <div class="m_-3874591972730439321h5"> <br>
                    <div class="m_-3874591972730439321m_5647151704532716186moz-cite-prefix">On
                      2018-08-13 11:35 AM, PICCORO McKAY Lenz wrote:<br>
                    </div>
                  </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="m_-3874591972730439321h5">
                      <div dir="ltr"><br>
                        <div class="gmail_extra">
                          <div class="gmail_quote">2018-08-13 11:16
                            GMT-04:00 T Lee Davidson <span dir="ltr"><<a href="mailto:t.lee.davidson@gmail.com" target="_blank">t.lee.davidson@gmail.com</a>></span>:<br>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You create
                              the printer object, open its port, write
                              to the printer requesting a status report,
                              and then *immediately* you <br>
                            </blockquote>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> manually
                              read the response. After that, for some
                              odd reason, you read the "dataread"
                              property twice, and then the program ends.<br>
                            </blockquote>
                            <div> ok but remove later those calls and
                              does not triggered the read event!,
                              inclusivelly if i put a loop in the main
                              module that waiuth "something"<br>
                              <br>
                            </div>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If you don't
                              call the "rp" function, the program drops
                              through the two "dataread" property reads
                              and ends. When did you expect<br>
                              the _Read event would have a chance to be
                              raised?<br>
                            </blockquote>
                            <div>was just a experiment, i removed in
                              furter test as i said<br>
                            </div>
                            <div> </div>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <span> </span>Not
                              sure exactly what you mean with that
                              statement, but it may be the very idea I
                              am trying to impress upon you. Your manual<br>
                              read subroutine gives the printer 500
                              milliseconds to respond. Why don't you
                              give the Main module at least 500
                              milliseconds to<br>
                              allow the printer to respond and raise the
                              _Read event?<br>
                            </blockquote>
                            <div>i put a loop into as i said in the
                              previous paragraph, but still does not
                              happened!<br>
                              <br>
                            </div>
                            <div> </div>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Or, why not
                              use a semaphore that is visible to the
                              Main module and loop until the _Read event
                              has had an opportunity to fill the<br>
                              "databuffer"?<br>
                            </blockquote>
                            <div>oh, of course was working in this way,
                              was my first code, ok great but i wish to
                              deal with the read event .. <br>
                            </div>
                            <div> </div>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <span> </span>You
                              may not have specified that the SerialPort
                              stream should be watched, but it would be
                              logical that Gambas automatically<br>
                              WATCHes a SerialPort in order to be be
                              able to raise the _Read event. (<a href="http://gambaswiki.org/wiki/lang/open" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/la<wbr>ng/open</a>)<br>
                            </blockquote>
                            <div> yeah yeah, when i said "hang at end" i
                              mean that with gambas 3.8 when last
                              sentence executed the programs ends
                              normally, with 3.11 the programs "seems
                              end" but the "play" button of the ide
                              still are deactivate and the ide indicates
                              program does not end...<br>
                            </div>
                          </div>
                          <br>
                        </div>
                      </div>
                      <br>
                      <fieldset class="m_-3874591972730439321m_5647151704532716186mimeAttachmentHeader"></fieldset>
                      <br>
                    </div>
                  </div>
                  <span>
                    <pre>----[ Gambas mailing-list is hosted by <a class="m_-3874591972730439321m_5647151704532716186moz-txt-link-freetext" href="https://www.hostsharing.net" target="_blank">https://www.hostsharing.net</a> ]----
</pre>
                  </span></blockquote>
                <br>
              </div>
            </div>
            <br>
            <br>
            ----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a>
            ]----<br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>