Can anyone tell me how to add link or button to the pdf that when user press it it will open a print window?
Asked
Active
Viewed 489 times
1 Answers
7
Based on Tobi's comment, you can use hyperref's \AcrobatMenu macro:
\documentclass{scrbook}
\usepackage{hyperref}
\usepackage{lipsum}
\begin{document}
\Acrobatmenu{Print}{Print doc}
\lipsum
\end{document}
It even works with other readers such as evince.
raphink
- 31,894
-
1It works with Skim (Mac) and Mac OS X Preview too but not if PDF is opened in Safari (without Adobe Reader plugin). – Tobi Oct 05 '11 at 09:19
-
-
1@joanna: The
\AcrobatMenumacro only launches the menu, it doesn't allow to manipulate what's inside the printing box (which might be different between viewers, even). – raphink Oct 05 '11 at 09:44
hyperrefpackage. I can access the Adobe Acrobat Menus. – Tobi Oct 05 '11 at 09:01