Hagamos que México crezca..

Prefiere el consumo de lo Hecho en México

Visitantes








Conversación

  • Samantha Santin: ola me pueden ayudar con lo basico para un examen de linux , estoy en 10 mo de basica , por favor , gracias  
  • alexandra: hola...tengo problemas para configurar las llamadas y crear los troncales....uso elastix 2.0.3 con asterisk 1.6...y soy nueva en esto..puedo relizar llamadas dentro de una misma oficina, pero no puedo sacarlas fuera, es decir locales e internacionales...necesito asesoria...gracias  
  • Ben: Welcome to visit www.vogue4biz.com and www.seekjersey.com! Wholesale Jordan Shoes and NFL/NHL jerseys!New Arrival ! Free Shipping !
    Consequently, a Avirex jacket variety evolved into winner fashion4biz already in the market, mainly with their variety of air travel puma shoes women jackets which in turn for the most part mimics those of journey outdoor jackets put on around WWII. Due to its results, Avirex make have in addition enhanced by jackets to other common attire outlines including t shirts, hoodies, along with jeans.
    A great number of completely new attire lines also gained plenty of celebrity inside entertainment world. To its captivating pattern in addition to level of quality attire, Avirex includes received its own head connected with celebrity followers which include: Ruben Travolta, Will certainly Henderson, Puffy Hair combs, Chad Good ole', Shaquille O'Neal, Busta Rhymes,, puma shoes ladies Sylvester Stallone, Missy Elliott, Eminem, Nas, All 5, Procedure Guy,, Make Nubian, Lmost all Awesome L, David Cena, as well as Georgio Armani. Start off your individual from suppliers avirex company by www.vogue4biz.com
    Avirex regarding todayIn women s puma shoes 2008, this Avirex make has been bought in 3 entire ladies puma shoes suede puma shoes world districts, United states of america, European countries puma shoe sale along with The japanese. A brand new owner of Avirex brand in the us cat puma shoes can be Draw Ecko Corporation. According to a lot of people, each one districts possess their own libraries regarding Avirex garments range. Not really a pair of parts get identical types associated with outfits. His or her just likeness is with their particular usage of brand.
    Even puma ladies shoes so, the availability associated with flight handling outdoor jackets were quit afterwards that year. In line with Mark, all of Avirex printed government and timeless apparel had been discontinued along with used a new Clymans firm, Cockpit U . s .. Start out your own from suppliers avirex company by Sevenwholesale.com.  
  • Fernando Hernández: Hey! Ya no estan disponibles los posts sobre facturación electrónica en México, podrías pasarme el tutorial o la clase en php? Por favoooor. Gracias  
  • daniel nuñez: buenas soy de venezuela y tengo una duda yo lo que quiero es hacer una iso debian que tenga todos los paquetes necesarios completos y programas como synaptis fortran java los pluging de video y sonido ya instalados osea que tenga todo lo necesario instalado pero sin que sea una instalacion con un cd netinst, es posible ?  
  • Cesar villegas: Buenas!!! oye no tienes programado algún curso?  
  • Urbano: Hola soy de Argentina.
    Desde hace un tiempo tengo instaldo Asterbilling SL y me parece un rpoyecto útil e interesante. Ahora me compré un AT 530 con la intension de pasar la tarifa al telefono pero seguramente algo estoy haciendo mal ya que despues de configurar el script con los datos del AMI; MySQL y ejecutar el comando que indica el manual.. no pasa nada, todo sigue igual y no se muestra la tarifa en la pantalla del telefono. Tal vez deba configurar algo tambien en el telefono.. la verdad no se, es que tampoco soy un experto en la materia. Les dejo algunos datos que talvez sean utilespara que me puedan ayudar: Tengo Elastíx 2.0.3 con Asterisk 1.6; FreePBX 2.7.0.3; A2Billing 1.8.1; Astercc 1.4 y Asterbilling SL. Espero que me puedan ayudar; desde ya muchas gracias.  
  • kike: Oye filein.. necesito una cotización de unas FxO para analógicas porfa..
    saludos  
  • cristy: hola por favor tengo problemas para conectar agi con asterisk me sale un error de broken pipe, sabes de que se trata???  
  • Jose: Heyu como podria funcionar con el CM15?
    Gracias  

Escribe el código Captcha que estás viendo

Printing with Zebra Technologies RW-420 Printer and Symbol Motorola MC70 Mobile Terminal using Bluetooth connections..

Today I was programming an application using the Compact Framework 2.0 with Visual Studio .Net 2005. I needed to print using the bluetooth connection between a Symbol MC70 Terminal and a Zebra RW-420 Printer and searching libraries in System.IO.Serial I can't found nothing interesting, then I remember that OpenNetCF released a Serial Library as Open Source, without think more I went to the OpenNetCF Site to get the Source Code of the library and build with VS .Net 2005 to obtain the dlls and add the reference to my project.
The URL of the Serial Library is :
http://www.opennetcf.com/FreeSoftware/OpenNETCFIOSerial/tabid/252/Default.aspx
Then using the library I make a light class to print CPCL Code in Zebra RW 420.
The Bluetooth connection between the RW420 and MC70 was successfully, Creating a Serial Com Port in ther mobile terminal with Windows Mobile 2005. Only I need Label Vista for Zebra to configure the properties of serial port of the mobile printer.
If anyboy have any problem using RW420 printer, I put the code of my class, only you will need add the class in a namespace:
    class Zebra
    {
        OpenNETCF.IO.Serial.Port Serial;
        string status;
         string status_error;
        string receive_data;
        public Zebra() {
            status = "";
            status_error = "";
             receive_data = "";
        }
               
                public Boolean OpenPort(string portName)
                {
            StatusClean();
            OpenNETCF.IO.Serial.HandshakeNone portSettings = new OpenNETCF.IO.Serial.HandshakeNone();
                        Serial = new OpenNETCF.IO.Serial.Port(portName, portSettings);
                        Serial.DataReceived += new OpenNETCF.IO.Serial.Port.CommEvent(dataReceived);
                        Serial.RThreshold = 1;
                        Serial.InputLen = 30;
                        Serial.SThreshold = 1;
                        Serial.Settings.BaudRate = OpenNETCF.IO.Serial.BaudRates.CBR_57600;
                        Serial.Settings.Parity = OpenNETCF.IO.Serial.Parity.none;
                        Serial.Settings.StopBits = OpenNETCF.IO.Serial.StopBits.one;
                        Serial.Settings.ByteSize = 8;
                        if (!Serial.IsOpen)
                        {
                                try
                                {
                                        Serial.Open();
                                        status = "Port opened";
                                        return true;
                                }
                                catch (Exception ex)
                                {
                                        status_error = "Error in port opening";
                                        return false;
                                }
                        }
                        else
                        {
                                return true;
                        }
                }
               
        /// <summary>
        /// Close Serial Port
        /// </summary>
                public void ClosePort()
                {
            StatusClean();
            try
            {
                status = "Serial Port closed successfully";
                Serial.Close();
            }
            catch {
                status_error = "Seial Port not closed";
            }
                }
                /// <summary>
                /// Send a string to the Serial Port
                /// </summary>
                /// <param name="cmd"></param>
                public void SendCmd(string cmd)
                {
            StatusClean();
            if (Serial != null)
                        {
                                if (Serial.IsOpen)
                                {
                                        try
                                        {
                                                Serial.Output = StrToByteArray(cmd);
                                        }
                                        catch (Exception ex)
                                        {
                                                status_error = ex.Message.ToString();
                                        }
                                }
                        }
                        else
                        {
                                status_error = "Port is not opened";
                        }
                }

               
                /// <summary>
                /// Allow to know the incoming string from serial port
                /// </summary>
                /// <param name="s"></param>
                /// <param name="e"></param>
                public void ReceivedData(object s, EventArgs e)
                {
                        byte[] inputData = new byte[30];
                        inputData = Serial.Input;
                        string displayString = Encoding.ASCII.GetString(inputData, 0, inputData.Length);
                        receive_data += displayString;
                }
                //________________________
               
                /// <summary>
                /// Convert  a string to byte array
                /// </summary>
                /// <param name="str"></param>
                /// <returns></returns>
                public static byte[] StrToByteArray(string str)
                {
                        System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
                        return encoding.GetBytes(str);
                }
               
        /// <summary>
        /// Clean the status properties
        /// </summary>
        private void StatusClean(){
            status_error = "";
            status_error = "";
            status = "";
        }

 
You can call the class from an event, for example:
//Create the property in your class
private Zebra ZebraPrinter;
// call to the constructor
ZebraPrinter = new Zebra();
//And execute the OpenPort Method given the Serial Port of your Connection
if (ZebraPrinter.OpenPort("COM4") == true) {

//If the connection is successfully then send the string to Serial Port
ZebraPrinter.SendCmd("! 0 200 200 800 1\r\nLABEL\r\nCONTRAST 0\r\nTONE 0\r\nSPEED 3\r\nPAGE-WIDTH 240\r\nBAR-SENSE\r\nTEXT90 4 3 36 288 .88\r\nTEXT90 5 2 163 273 SWEATSHIRT\r\nVBARCODE UPCA 2 1 45 139 576 04364503284\r\nTEXT90 7 0 191 511 043645032841\r\nTEXT90 5 0 4 524 COMPARE AT\r\nTEXT90 4 0 30 508 $ 30.00\r\nTEXT90 5 0 115 575 ZD-180-KL\r\nTEXT90 5 2 119 269 ALL COTTON\r\nTEXT90 7 0 114 389 01/17/98\r\nTEXT90 0 0 208 173 EA00-732-00560\r\nTEXT90 5 0 82 519 ELSEWHERE\r\nBOX 189 358 217 527 1\r\nPRINT\r\n");
   }
//Close the POrt when you finish to send data to the Zebra Printer
ZebraPrinter.closePort();
 
The code is very simple, but it works and save many time and work ..
My English suck.. but I need to practice it...

# Re:Printing with Zebra Technologies RW-420 Printer and Symbol Motorola MC70 Mobile Terminal using Bluetooth connections..

Phylevn, <fileinleon@gmail.com> / 2 July, 1:40pm  
avatar

Cuándo usas bluetooth, tienes que crear un puerto COM Virtual con la conexión bluetooth y es la manera como funcionaría esta impresora con cualquier dispositivo que tenga conexión inalámbrica bluetooh.
Saludos :)

Dejar un comentario

Escribe el código Captcha que estás viendo

Fuentes XML de comentario: RSS | Atom

Emblemas

Energizado por Jaws Project
Soporta RSS2
Energizado por Software Libre
Energizado por Mozila Firefox
Energizado por Ubuntu Linux
Energizado por PHP
Energizado por Apache Web Server
Energizado por MySQL
Energizado por SQLite
atom

¿ Where The Hell Am I ?

Mi Flickr







Aquí Mis Mejores Fotos

Eventos

Encuesta

¿Que medio de comunicación usas más ?

Comentarios Recientes