Printer Argox PPLA
<p>I'm having trouble eat Argox label printer, just still can not send anything to her.
The model is Argox OS214 tt, ANPP and accepts PPLB.</p>

<p>Use a generic class for connection to serial devices, I used her for several fiscal printers and scales, is attached. All using the rxtx library.
This class can also read the response from the device as already used on scales and never had problems as well as on fiscal printers.</p>

<p>I watched the manual PPLA and saw more or less how it works but not able to test anything yet.
I can not do anything out of it and also I can not read your response.</p>

<p>Here's my test:</p>

<pre><code>import javax.swing.JOptionPane;  
public class TestePPLA {  
public static void main(String[] args){  
    String porta="COM1";  
    int velocidade=9600;  
    int databits=8;  
    int stopbits=1;  
    int paridade=0;  
    int timeout=10;  
    try  
    {             
        String comando = "&lt;STX&gt;L&lt;CR&gt;121100001000050THIS LABEL IS MADE BY JIMMY&lt;CR&gt;E&lt;CR&gt;";  
        ComunicacaoSerial comunica = ComunicacaoSerial.getReference ();  
        comunica.conexao (porta,velocidade,databits,stopbits,paridade);  
        comunica.escritaPortaSerial (comando.getBytes());  

        Thread.sleep(timeout);  
        String resposta = new String (comunica.getDados());  

        comunica.fechaConexao();                  

        System.out.println(resposta);  
    }  
    catch(Exception ex)  
    {  
        ex.printStackTrace();  
        JOptionPane.showMessageDialog(null, "Erro de comunica\u00e7\u00e3o com a impressora", "Testador", JOptionPane.ERROR_MESSAGE);  
    }  

}  
}  
</code></pre>
