i thought by now a lot of people/programmers would have run into this same problem ??..and someone would have had a quick & easy fix already
tested on 6 different computers ( Win95, Win98,ME, XP-Pro so far) all with various models of HP printers
the only one working perfectly everytime is Win98 with HP 990 printer..will always printout .
i 1st noticed this problem years ago with Win95 HP printer
having to push the flashing red light button on the Printer to finish the print job ...prints out great after that . i use to tell the customer just press the red button it will printout OK, but now want to solve the problem.
i've since rewritten/converted code to VBDOS 1.0 but still same problem as QB4.5 or QB7.1-PDS versions
just writting and executing this simple Code in VBDOS
will cause this problem with Printer
Printer.Print ""
Printer.ENDDOC
will cause the Printer to initially and immediately start the Print job..but then pause until red light flashes..and to continue the Printing, you have to push this button..then resumes and Printed page is OK
=======================================================
That said, does the report print ok if it's one page text ?
(that is, text only).
Or, is it multiple pages causing the problem by chance ?
-----------------------------
Doesn't matter..same results
even if you try to Print simple (VBDOS1.0)
Printer.Print "Hello"
Printer.ENDDOC
or just simple
LPRINT "Hello" in QB4.5 or QB7.1-PDS
=======================================================
If all else fails, you could try creating an html file of the report, calling iexplore.exe and have the user print it
from there.
-------------------
yes i thought about that also, but probably will just RUN a Visual Basic 1.0 version EXE that will take the VBDOS generated Text file with Color and Font tags built in to change Font size and style along with Colors printing thru the VB-Win 1.0 EXE from VBDOS EXE..probably better in long run,,just thought someone would have had an answer by now ?
MaxRace Software - Larry Meaux
ET_Analyst for DragRacers
Support Israel - Genesis 12:3