Results 1 to 2 of 2

Thread: using printer. modes with a serial receipt printer

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2008
    Posts
    23

    using printer. modes with a serial receipt printer

    I am attempting to change some of the features of text using printer. modes being printed to a receipt printer which prints on 3 inch paper. Many of the modes such printer.fontsize or printer.fontbold don't seem to work.

    The only one that seems to work well is printer.enddoc.
    I am looking for a way to just print one line of text. enddoc prints the line then prints about 5 spaces and cuts the paper.

    Any help would be greatly appreciated.

    BILL

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: using printer. modes with a serial receipt printer

    See How To Send Raw Data to a Printer Using the Win32 API from Visual Basic.

    Armed with that and your printer's manual you can send it raw escape sequences it needs to accomplish specialized printing.

    Otherwise what you need is a more comprehensive Windows printer driver for this printer.


    See this thread where the advice above worked out:

    http://www.vbforums.com/showthread.p...nected-printer

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