Monday, 11 May 2015

Print Barcode SATO CG408 dengan vb6

 Berikut adalah contoh cara print barcode dengan menggunakan printer SATOCG408

        MSComm2.Output = ESC + "A"
        MSComm2.Output = ESC + "%2"
        MSComm2.Output = ESC + "H" + "510"  'spasi garis barcode
        MSComm2.Output = ESC + "V" + "0135"
        MSComm2.Output = ESC + "D" + "2" + "03" + "090" + "20110701772"
        MSComm2.Output = ESC + "A"
        MSComm2.Output = ESC + "%2"
        MSComm2.Output = ESC + "H" + "0510" 'spasi garis kode barang
        MSComm2.Output = ESC + "V" + "0035"
        MSComm2.Output = ESC + "L0101"
        MSComm2.Output = ESC + "P01"
        MSComm2.Output = ESC + "S" + "20110701772"
       
        MSComm2.Output = ESC + "Z"
        MSComm2.Output = ESC + "Q1"
        MSComm2.Output = ESC + "Z"
     
Perhatian: Yuk Baca Artikel bagus di Nurul Musthofa

Artikel Terkait

No comments:

Post a Comment

 

Network

Pesan

Semoga situs ini bermanfaat