Featured

Identity Theft

Identity theft means someone else assuming your identity and using it for personal gains. It occurs when your personal information is stolen and used by someone else in applying for credit or use...
+ Full Article

More Featured Articles

Most Read

Most Read

Setting up Team Discussion Board

SharePoint 2007 has a Team Discussion Board that is used to initiate discussion and get replies on topics of interest. This article outlines the steps required to setup a discussion board, managing...
+ Full Article

More Popular Articles

Recent Articles

Recent Articles

Repeating Excel Header Rows

If your worksheet has several pages, it will be useful to have the header row repeat in all the pages. This will improve productivity as the user need not flip to the first page to view the header...
+ Full Article

More Recent Articles
Print Feature in SharePoint Discussion Board and Lists PDF Print
User Rating: / 5
PoorBest 
Web - Sharepoint 2007

SharePoint Discussion Board as well as the other Lists such as Contacts, Calendar etc. do not have 'Print' functionality and you have to use the browser's 'Print Preview' function and then print. This article examines the options available to use custom 'Print' features.

 

Using Javascript Print Window Function

 

As mentioned in the earlier paragraph, one can use the browser's print function. Why not make it intuitive by adding a single line of code to invoke the print function?

 

Add the following code to the list - <a href="javascript:window.print()">Print This List</A> Where to add this? One can add this to the 'Content Editor Web Part' directly without using Sharepoint Designer.


  • Ensure that you are in the 'List' page to which print functionality is required
  • Select Site Actions > Edit Page
  • Click 'Add a Web Part
  • Select 'Content Editor Web Part' and click the 'Add' button. Note that the Web Part is added
  • Click 'edit' pop-list in the content editor web part added and select 'Modify Shared Web part'
  • Click 'Source Editor' button. This displays a window to which code can be inserted
  • Add the code given above to this page. One can add also use the img src attribute to add a print icon, example: <img src="/reference/../../Shared Documents/print1.jpg"> <a href="javascript:window.print()">Print This List</A>
  • Click 'Save'

Print this list

When 'Print This List' is clicked, it opend the 'Print Windoow' - change to Landscape mode if required and print.

 

Print from Excel Spreadsheet

 

The list items can be exported to 'Excel' and then printed. This gives an option to customize the list to one's needs as well. However, the disadvantage of this method is the 'Excel' output cannot be printed directly without additional formatting. Hence, any time an export is made, additional formatting may be required before you print. The following are the steps:


  • Select Actions > Export to Spreadsheet
  • Format the list in Excel
  • Print

 

Custom Print Feature - Some Elegant Solutions

 

There are couple of solutions to have custom print feature in SharePoint. Refer to the following sources for details:

 

  1. CodePlex - List Print Templates
  2. Easily Print SharePoint Lists
  3. Using Print List Feature

 

Know of an additional resource? Use the 'Comments' form to share your thoughts.

Trackback(0)
Comments (4)add
0
...
written by KIT , September 17, 2008
This was very helpful. Thank you.
report abuse
vote down
vote up
Votes: +0
0
...
written by Amy , June 26, 2008
Printing services for SharePoint has that.
www.sharepointprinting.com
report abuse
vote down
vote up
Votes: -3
0
...
written by Sam , May 17, 2008
Also look at Printing Services for SharePoint:
www.sharepointprinting.com
report abuse
vote down
vote up
Votes: -1
66
...
written by tsc , February 19, 2008
Also refer to Printing web parts
http://www.referpages.com/refe...parts.html
report abuse
vote down
vote up
Votes: +0
Write comment

security image
Write the displayed characters


busy
Last Updated on Sunday, 17 February 2008 20:02
 

now browsing!

We have 22 guests online

Sharepoint

Using Excel (Excel 2003) Data Source to Retrieve Data from Sharepoint List

Using Excel 2003, one can create a data source to retrieve data from a sharepoint list. This method has also the added benefit of displaying columns that are not generally displayed in a traditional...
+ Full Article

More on Sharepoint

Windows

Add Maps to Outlook Appointment

Windows Live Add-in for Outlook allows you to add Mapping capabilities to Microsoft Outlook. Using this Add-in, one can schedule an Appointment or Meeting in Outlook, get travel maps and directions,...
+ Full Article

More on Windows
 

Sedo - Buy and Sell Domain Names and Websites project info: referpages.com Statistics for project referpages.com etracker® web controlling instead of log file analysis