To call up the Print dialogue box directly (bypass
File > Print menu) embed
javascript:print() in a topic; perhaps in the 'print' skin, to make it easy for users to print the topic with a single click.
<a href="javascript:print()">print this page</a>
produces:
print this page
Known to work for (if it works for other browsers too, please add them to the list):
Another method is to reference a stylesheet which is only used for printing. A
CSS aware browser automatically uses the print stylesheet when the user prints the page using the standard mechanism (file > Print)-- which means a trip to the special print skin is no longer needed.
<link rel="stylesheet" type="text/css" media="print" href="/print.css" />
RichardDonkin,
MattWilkie,