Re: VB6 and printers

  • From: "inthane2" <inthaneelf@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 12 Sep 2008 12:33:48 -0700

I'm not positive on this, but I believe that if you lock all the font settings  
in your project, especially the text box your reading the information from, it 
will print in that font if its available on the computer in question.  

so go through all your forms and objects and set the font to what you want, and 
it should work just fine. 

HTH,
inthane
  ----- Original Message ----- 
  From: Robert Montowski 
  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



Other related posts: