Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Writing Graphics to a Printer using ESC/P2 with VB

Posted on 2004-04-22
3
Medium Priority
?
507 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
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 …
Loops Section Overview

885 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