Home > Domino Tips > Administrator > Create print preview button, save paper when printing in iNotes
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

QUICKTIPS

Create print preview button, save paper when printing in iNotes


Ignace Quaghebeur
10.07.2005
Rating: -4.78- (out of 5) Hall of fame tip of the month winner


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Most users still print lots of e-mails. If your users are working in iNotes, they have no clue how many pages will come out. The solution: Change the Print button to a Print Preview button. Here's the code:

adapt the Forms6.nsf, subform s_printUI_IE :
change win.print() into :
var OLECMDID = 7;
var PROMPT = 1;
var WebBrowser = '<OBJECT ID=
"WebBrowser1" WIDTH=0 HEIGHT=0 
CLASSID="CLSID:8856F961-340A-
11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(OLECMDID, PROMPT);
WebBrowser1.outerHTML = "";
//oWin.print();

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip exchange by member Ignace Quaghebeur. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our bimonthly tip contest and you could win a prize and a spot in our Hall of Fame.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
E-mail
Using Formula language code to sort Lotus Notes messages by subject
LotusScript action button manages Lotus Notes mail files
Exploring Lotus Notes Domino 8.0.1 and beyond
LotusScript agent moves tagged spam email to junk mail folder
Send SMS text messages between Lotus Notes 7 and mobile devices
Update to Exchange Server 2003 Connector for Lotus Notes
Two fast and easy Domino Web Access performance tips
Can I encrypt an email sender's name?
How to modify a Lotus Notes signature file using LotusScript
Putting a stop to incoming spam on Lotus Notes 6.5

QuickTips
Workaround formats bulleted/numbered lists in Lotus Notes documents
Resource reservations don't work after R7 upgrade
Notes/Domino 6 version of 'Discover Folder'
A five-point strategy for secure remote access
Five popular administrator tips
Resource reservations cleanup
Pre-recertify ID's
Controlling user recertification requests
Increase Fault Recovery Notification capabilities
Keep posted on your environment

Mobile Devices
Collaboration on the run with Lotus Notes and Domino
Solving your Lotus Notes Domino and BlackBerry problems
Install Lotus Traveler for Windows Mobile device synchronization
Exploring Lotus Notes Domino 8.0.1 and beyond
Configuring Lotus Sametime on a Blackberry mobile device
Managing and maintaining mobile devices on Lotus Notes Domino
Considerations for deploying mobile devices on Lotus Notes Domino
Conference speakers offer a sneak peek of Lotusphere 2008
How many BlackBerry clients can connect to a Domino server at once?
Determining whether a BlackBerry or desktop is accessing a Web site

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts