Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to flush printer buffer (VFP8) 3

Status
Not open for further replies.

rob444

Programmer
Nov 5, 2002
633
0
0
NL
I'm having a problem with printing in the VFP8 IDE.

When a program has :

set print on
? 'Print commands...'
? 'Print commands...'
set print off
return

The printer does not start printing until the VFP8 IDE shuts down.

What am I overlooking?

Rob.
 
Hi Rob,

This depends on the OS. To my understanding VFP handsover the job to the OS and the OS is manipulating thru the print spooler.

So the setting is specific of OS.

For example, in W2000/XP units.. see my FAQ
How to make XP / W2K Print Out Earlier.
faq182-4106

If you need it for WinMe or Win98, see my FAQ..
How to make Printer Outputs start quicker ?
faq182-785

Though they were written under FPD2.6, they apply here also.

:)

ramani :)
(Subramanian.G)
 
Rob444

You may also try:

set print on
? 'Print commands...'
? 'Print commands...'
set printer to
set printer to && Yes, twice
set print off
return


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
If it is a small report, less than a page, it may need a kick to get it printing.

You can try the EJECT command and see if that helps.


Jim Osieczonek
Delta Business Group, LLC
 
More than one solution for one problem.
Thanks Guys!

Rob.
 
Frankly, I have tried all of these and the 2 "SET PRINTER TO" statements seems to be the best solution (IMHO...)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top