Prevent users from using File/Print menu

  • Thread starter Thread starter The Dude
  • Start date Start date
T

The Dude

Hello :)

I have a frontend from which I have removed everything, including the
toolbars, but users keep on printing the forms - which obvioulsy leeds them
to panic when they see that the printer did not stop after the 1st page.

I know that I could prevent the Ctrl+P, but unfortunately they use the
File/Print menu. Is there any way to prevent this from happening?

Thanks in advance ;)
T_D
 
Hi Dude,

In the report menubar property put =null. The menu bar will not be displayed
and so your users will not be able to use it.

HTH Paolo
 
The Dude said:
Hello :)

I have a frontend from which I have removed everything, including the
toolbars, but users keep on printing the forms - which obvioulsy leeds
them
to panic when they see that the printer did not stop after the 1st page.

I know that I could prevent the Ctrl+P, but unfortunately they use the
File/Print menu. Is there any way to prevent this from happening?

Thanks in advance ;)
T_D

I see Paolo has given you the definitive answer. However, if you want to
keep the menus visible, you can use these 2 little routines to switch the
print options on and off:

Public Sub MenuPrintOff()
With CommandBars("Menu Bar").Controls("File")
.Controls("Page Setup...").Enabled = False
.Controls("Print Preview").Enabled = False
.Controls("Print...").Enabled = False
End With
End Sub

Public Sub MenuPrintOn()
With CommandBars("Menu Bar").Controls("File")
.Controls("Page Setup...").Enabled = True
.Controls("Print Preview").Enabled = True
.Controls("Print...").Enabled = True
End With
End Sub
 
I know that I could prevent the Ctrl+P, but unfortunately they

Actually, you will find that difficult to prevent, and ALT+P as
well, unless 2007 has fixed that problem.

(david)
 
Back
Top