Solved

Writing Graphics to a Printer using ESC/P2 with VB

Posted on 2004-04-22
3
446 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 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

23 Experts available now in Live!

Get 1:1 Help Now