Re: VB6 printing problems on Vista
- From: "Galen Somerville" <galen@xxxxxxxxxxxxxxxx>
- Date: Fri, 19 Dec 2008 18:48:31 -0800
"Larry Serflaten" <serflaten@xxxxxxxxxxxxxx> wrote in message
news:u0axb4iYJHA.1328@xxxxxxxxxxxxxxxxxxxxxxx
For anyone interested in seeing the actual screen, before and after
"Galen Somerville" <galen@xxxxxxxxxxxxxxxx> wrote
Oh, and all the code is under my control. I originally was drawing direct
to
the printer. It became a hassle as changes were made to the programs.
That's
when I found "PrintPictureToFitPage" and life became easier.
I wonder why? You can set the scale mode of the printer to make iterating
over your data nearly painless. Add to that the text gets rendered
significantly
better than copying text images from the screen.
Its (seems to be) common practice for applications that offer printouts
of their display to use a draw routine that accepts a parameter to
indicate
the receiving object. Then passing in a Form, Picturebox, or Printer
object
results in the output being directed to the appropreate object with
minimal
effect on any other code.
LFS
printing, go to my web site
http://home.surewest.net/galen/galen.html under Downloads.
The first three projects shown on the main page utilize the printing
technique in question.
On the Download page it is the first item. A little slow loading as I used
BMP files to try to retain resolution.
Galen
.
- Follow-Ups:
- Re: VB6 printing problems on Vista
- From: Galen Somerville
- Re: VB6 printing problems on Vista
- References:
- VB6 printing problems on Vista
- From: Galen Somerville
- Re: VB6 printing problems on Vista
- From: Mike Williams
- Re: VB6 printing problems on Vista
- From: Mike Williams
- Re: VB6 printing problems on Vista
- From: Galen Somerville
- Re: VB6 printing problems on Vista
- From: Larry Serflaten
- VB6 printing problems on Vista
- Prev by Date: Re: OT--- Data recovery?
- Next by Date: Re: OT--- Data recovery?
- Previous by thread: Re: VB6 printing problems on Vista
- Next by thread: Re: VB6 printing problems on Vista
- Index(es):
Relevant Pages
|