The button "Print" in the main toolbar immediately starts the printer to print. With this button there's no possibility to adjust printing settings (B/W or Color, Nbr of copies, print-quality etc..) in advance. This is only possible via the menu "File" > "Page Setup...". I did not find this entry in the customization pane > available toolbar buttons. Is there a possibility to create a button in the main toolbar for the function "Page Setup" and if so, how to do ?
Thanks and regards
Sabine
Sabine, there is no such ready-made button that I koow of, and no command tag. For fun, I offer an outre solution, which you may take or leave as you wish.
This assumes a fairly recent Windows OS. Create a custom toolbar button that launches the following PocoScript, called PageSetup.
- Code: Select all
{ Sends the keystrokes Alt+fu to the current window.
Embed $code "EndEmbed"
' Automatically generated, disposable VBScript
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "%(fu)"
Set WshShell = Nothing
EndEmbed
AppendToFile False
AddStrings $vbsfilename $scriptpath "PageSetup.vbs"
SaveBody $code $vbsfilename
{ Do not use ExecuteAndWait with a VBScript.
Execute $vbsfilename
Tested with PocoMail 4.8 and Windows 7 Home Premium SP1 64-bit.
Edit 2012-03-12: Removed the stray slash from
AddStrings $vbsfilename $scriptpath "/PageSetup.vbs"