Results 1 to 3 of 3

Thread: How do I send control characters to the printer???

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Caracas, Miranda, Venezuela
    Posts
    69
    How do I open a cash drawer conected to a paralell port from VB.
    The cash draw is an MMF and it is connected to a EPSON TM-Series printer.
    The caracters sequence is :

    ESC + "p" + Chr$(0) + Chr$(25) + Chr$(250)

    I tested the sequence from DOS and it works fine, but from VB it prints garbage.

    Please, help me ASAP!!!


  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    O!
    Posts
    1,177
    The ascii value for escape is 27. Did you try using that?

    Chr$(27) + "p" + Chr$(0) + Chr$(25) + Chr$(250)

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Caracas, Miranda, Venezuela
    Posts
    69
    Yes, I did, but it didn`t work

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width