Solved

Writing Graphics to a Printer using ESC/P2 with VB

Posted on 2004-04-22
3
458 Views
Last Modified: 2012-06-27
I need to draw bitmap graphics to an Epson printer over the parallel port *without* using the Printer object or the EndPage/EndDoc commands.
Right now, I can print text using:

Open "LPT1" for Output as #1

Print #1, chr(2) & chr(27) & "escape code here" & chr(3)
Print #1, "text to print"

Close #1

But what I really need to do is draw a bitmap with a similar method. Can anyone help with this issue?
0
Comment
Question by:phoensvx
3 Comments
 
LVL 22

Accepted Solution

by:
cookre earned 125 total points
ID: 10895605
For that, you'll have to start with a copy of the printers programming manual.

For example, for HP printers that use PCL5 (I couldn't find any on-line Epson programming manuals):
http://h200007.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf 

then go down to the section of raster graphics.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
nestparen challenge 4 72
VB6 Compile Compatibility Issue 4 87
Eclipse Neon start with Admin account only 6 89
Non-recursive backtracking, using a stack 1 96
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now