Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Writing Graphics to a Printer using ESC/P2 with VB

Posted on 2004-04-22
3
Medium Priority
?
500 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

A short article about problems I had with the new location API and permissions in Marshmallow
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Six Sigma Control Plans

730 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