Re: VB6 and printers

  • From: "Bob J." <rjustice004@xxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 12 Sep 2008 14:01:11 -0700

Robert,

I believe that you need to check the docs for your printer to get the
control sequence that tells the printer what font to use.  When you get
that, you just print it to the printer prior to sending any text to the
printer.

hth

Bob


----- Original Message ----- 
From: "Robert Montowski" <r_montowski@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, September 12, 2008 8:42 AM
Subject: VB6 and printers


I am working on a visual Basic 6 project.
I wish to enter a chess move into a text box and then have the computer
check it current database of the chess board..
it will update the board and report any errors if the chess move was
illegal.
then it will dump a prinout of the chess board to my ink jet printer.
the chess board will be represented with
alphanumerics symbols.
I can visualize how this will look and I think I can do this right if I can
make th printer print in the
Courier New Font.  This font has all characters in the same exact size..  So
if I print a line of 55 letter A''s and then the next line is 55
periods..tey will line up exactly.
Can anyone point me to a snippet of Visual Basic 6 source code that will
allow me to change/use the Courier New Font with my printer.
I am still looking thru my VB6 programming books, but have not found this
sort of example yet.
thanks for any help you folks can offer.
Robert



__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: