Print without dialogue box (1 Viewer)

p0welly

Registered User.
Local time
Today, 11:54
Joined
Aug 26, 2004
Messages
38
I have a point of save database, that as part of the sale process prints receipts (a report). Is it possible to print a report without the windows "Now Printing" dilogue box poping up, or to hide it in some way?
 

RuralGuy

AWF VIP
Local time
Today, 04:54
Joined
Jul 2, 2005
Messages
13,825
What code are you using to print the receipt?
 

p0welly

Registered User.
Local time
Today, 11:54
Joined
Aug 26, 2004
Messages
38
Something along the lines of...

Code:
DoCmd.OpenReport "rptMiniReceipt", A_NORMAL, , "[TransactionNumber]=" & VarTransactionNumber
 

RuralGuy

AWF VIP
Local time
Today, 04:54
Joined
Jul 2, 2005
Messages
13,825
Have you tried using a WindowMode of acHidden?
 

p0welly

Registered User.
Local time
Today, 11:54
Joined
Aug 26, 2004
Messages
38
Yep just tried that but didnt seem to have any effect, its actually the windows printer driver box im trying to hide, so to be fair im not even sure if this is going to be possible.

Your help is apreciated though...
 

RuralGuy

AWF VIP
Local time
Today, 04:54
Joined
Jul 2, 2005
Messages
13,825
Sorry but that exhausts my pool of ideas. Good luck with the issue.
 

workmad3

***** Slob
Local time
Today, 11:54
Joined
Jul 15, 2005
Messages
375
I don't think its possible to hide that window, but the next questiuon is why do you need to? It is slightly comforting to the users to see it flash up quickly and know that they did click print. If something goes wrong and they can't remember that window, they may click print about 20 times and fill up the print queue which you will then need to flush before fixing the printer.

Just a thought :)
 

Users who are viewing this thread

Top Bottom