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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppress Print Spooler Dialog?? 1

Status
Not open for further replies.
Sep 13, 2002
28
US
Does anyone know of a way of suppressing the Print Spooler Dialog output? (It's the dialog that comes up when you send a report to the printer that indicates the current page printing...)

I've tried directing output to a window defined off the screen, Set Console Off, etc with no success....

Thanks,

bill
 
BillGravell

In the first band of your report (The header band). Double click on it, and open up "On entry" and in that put:
Code:
IF WEXIST("Printing...")
  MOVE WINDOW ("PRINTING...") TO -1000,-1000
ENDIF

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first or check this link
 
Mike's trick will indeed make it unseen, but to totally eliminate it, you'll need to wait for VFP 8.0's NODIALOG option in the REPORT command.

Rick
 
Thanks Mike....however....

It didn't work. Realized that the "On Entry" only accepts a logical expression.

So, I created a udf in my program and put your code there. Then in the on entry, I put SUPPPRINT() and that does work...

Thanks for the direction....

Bill
 
Mike's trick will indeed make it unseen, but to totally eliminate it, you'll need to wait for VFP 8.0's NODIALOG option in the REPORT command.

It seems to me I also saw Ed Rauh had a API trick for that also.
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first or check this link
 
Thanks also, Rick. I saw that and am looking forward to the day that 8 is reality.

BTW, the new backcolor property in a command button was requested at last year's DevCon by a programmer in our office...and they actually did it...

Bill
 
It didn't work. Realized that the "On Entry" only accepts a logical expression.

So, I created a udf in my program and put your code there. Then in the on entry, I put SUPPPRINT() and that does work...


Sorry about that, my actual code is a call to an external function as well, and I could think how to explain creating a global function.


BTW, the new backcolor property in a command button was requested at last year's DevCon by a programmer in our office...and they actually did it...

Him and a thousand other programmers.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first or check this link
 
Bill,
While this "feature" may have been brought up last year, people have been asking for it since 1995 and VFP 3.0! It's just that it kind of flew in the face of the official MS interface specifications, and so it wasn't even considered. Now because of XP's themes and "skins" in general, user expectations (and MS UI specs) have been altered to allowed this to be acceptable!

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top