Re: VB6 printing problems on Vista

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Larry Serflaten" <serflaten@xxxxxxxxxxxxxx> wrote in message
news:u0axb4iYJHA.1328@xxxxxxxxxxxxxxxxxxxxxxx

"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


For anyone interested in seeing the actual screen, before and after
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


.



Relevant Pages

  • Re: VB6 printing problems on Vista
    ... when I found "PrintPictureToFitPage" and life became easier. ... http://home.surewest.net/galen/galen.html under Downloads. ... The first three projects shown on the main page utilize the printing ...
    (microsoft.public.vb.general.discussion)
  • Re: Report wont open
    ... that it will only open the report when my old ... >> with printing on the default printer in order to go on with my life and ... >> designing this DB. ...
    (microsoft.public.access.reports)
  • "Parts need replacing message" on an Epson D68
    ... It suggests I visit a service centre as "parts are approaching the end of ... their useful life." ... However, it appears to be printing as well as the day I bought it, ie, very ... "Fight like the Devil, die like a gentleman." ...
    (comp.periphs.printers)
  • Re: Samsung ML-1710 Drivers for X64 DONT WORK
    ... Cari Windows Client - Printing & Imaging ... downloads it then gives me an error saying that new hardware was not ...
    (microsoft.public.windowsxp.print_fax)
  • Re: printing
    ... or a complete format and reinstall of the ... >> sits in the queue showing it is printing but it does not. ... >>> completely uninstall it first. ... >>> rest of your life. ...
    (microsoft.public.windowsxp.print_fax)