Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Printer Object in VB

Printer Object in VB

Scheduled Pinned Locked Moved Visual Basic
data-structureshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cberam
    wrote on last edited by
    #1

    Hi, Im using VB 6.0.. I try to Print few words to the Zebra Label Printer..But doens't seems to print at all.. COde is : Printer.Print "^XA"; Printer.Print "^MD10" Printer.Print "^LH0,0^FS" Printer.Print "^BY2,3.0^FO20,2^BCN,54,N,Y,N^FR^FDMirudhubashini^FS" Printer.Print "^FO20,59^A0N,28,37^CI13^FR^FDWomens center^FS" Printer.Print "^FO20,65^A0N,28,37^CI13^FR^FDCoimbatore^FS" Printer.Print "^PQ1" Printer.Print "^XZ" Printer.EndDoc. Either I see Status in Printer Queue as "Spooling".. and if i give Printer.Enddoc ..Nothing I can see in Printers Queue All ^XA and similar words are for Label Printer ZPL Language Pls help -- modified at 6:01 Saturday 6th May, 2006

    D 1 Reply Last reply
    0
    • C cberam

      Hi, Im using VB 6.0.. I try to Print few words to the Zebra Label Printer..But doens't seems to print at all.. COde is : Printer.Print "^XA"; Printer.Print "^MD10" Printer.Print "^LH0,0^FS" Printer.Print "^BY2,3.0^FO20,2^BCN,54,N,Y,N^FR^FDMirudhubashini^FS" Printer.Print "^FO20,59^A0N,28,37^CI13^FR^FDWomens center^FS" Printer.Print "^FO20,65^A0N,28,37^CI13^FR^FDCoimbatore^FS" Printer.Print "^PQ1" Printer.Print "^XZ" Printer.EndDoc. Either I see Status in Printer Queue as "Spooling".. and if i give Printer.Enddoc ..Nothing I can see in Printers Queue All ^XA and similar words are for Label Printer ZPL Language Pls help -- modified at 6:01 Saturday 6th May, 2006

      D Offline
      D Offline
      Duncan Edwards Jones
      wrote on last edited by
      #2

      You are trying to send a control character but it is sending a literal string with an ^ in it. '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups