Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to an HP Deskjet from VB6

Status
Not open for further replies.

dosun

Programmer
Oct 15, 2003
11
US
I have problems with print alignment, printing from VB6 to an HP Deskjet. (I have problems with any deskjet.)
I use a Courier (fixed-length) font and print a fixed-length string using the command:
Printer.Print strText
(strText is a fixed-length string)
I have no problems printing to a laser jet, but when I print to a deskjet, the aligment is different depending on the number of spaces between fields.
Is there a simple solution for the above ?
 
You could use absolute positioning in your VB code....

The VisualBasic forum would probably be a better place to ask, however.



Just my 2¢
-Cole's Law: Shredded cabbage

--Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top