Custom Print Command

G

Guest

I created a global report custom menu bar on which I have the Print icon
being displayed. When the user clicks on the print icon, it sends the report
directly to the printer without allowing any modifications (i.e., quality,
number of copies, which page).

I try to teach the users to use CTRL + P in order for the printer dialog box
to pop-up. I was then thinking that may be I can place a custom menu on the
menu bar that would recognize the keystroke of CTRL + P. I cannot find a
field where I can put the shortcut.

Any assistance would be appreciated. Thank you in advance.

Rick
 
G

Guest

Mybe there is a better way, but if not I'll try to put it in clear stages how
to create a macro to open the dialog box

1. Create a macro
2. In the action select SendKeys
3. On the Buttom you have type - write in it ^p (stend for Ctrl+p)
4. Save the macro and close it
5. Right click on the top section to select a menu or create a new menu, and
then select customise
6. From the Tab select "Commands" > choose "All macro's" > find the macro
you created and drag and drop it to the menu bar
7. Close the dialog box and try this button when the report in preview.

****Note ***
I had to trnslate few of the words from another language to English in my
stages.
But I hope I was close enough that you'll understand it
 
G

Guest

Thank you Ofer...

It worked nicely.

Rick



Ofer Cohen said:
Mybe there is a better way, but if not I'll try to put it in clear stages how
to create a macro to open the dialog box

1. Create a macro
2. In the action select SendKeys
3. On the Buttom you have type - write in it ^p (stend for Ctrl+p)
4. Save the macro and close it
5. Right click on the top section to select a menu or create a new menu, and
then select customise
6. From the Tab select "Commands" > choose "All macro's" > find the macro
you created and drag and drop it to the menu bar
7. Close the dialog box and try this button when the report in preview.

****Note ***
I had to trnslate few of the words from another language to English in my
stages.
But I hope I was close enough that you'll understand it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top