-
Oct 20th, 2017, 11:44 AM
#1
Thread Starter
Junior Member
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
-
Oct 20th, 2017, 12:08 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|