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: / 7
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 (5)add
0
...
written by gfhfgh , April 29, 2010
dfg df gsmilies/kiss.gif
report abuse
vote down
vote up
Votes: +0
0
...
written by KIT , September 17, 2008
This was very helpful. Thank you.
report abuse
vote down
vote up
Votes: +1
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 38 guests online

Training

UPK Training

UPK Developer Training Course Description  Overview Understanding Developer menu and toolbar itemsSetting Developer PreferencesManaging FoldersManaging DocumentsCreating Views
+ Full Article

More on Training

Featured

Shortcut to Shutdown and Restart Windows

Tired of using couple of steps to Shutdown or Restart Windows? You can create a shortcut to shutdown or restart Windows by the following steps. Right-click on the Desktop region and select New >...
+ Full Article

More Featured Articles

Sharepoint

Conditional Formatting using SP Designer

Sharepoint Designer facilitates applying formatting to lists based on some conditions. For example, applying colors to rows or fields or applying font style, color etc. This article outlines the...
+ Full Article

More on Sharepoint

Windows

Using the Shift Key

The most common use of the Shift key is to use Capital letters while typing. There are other uses of the Shift key, that might come in handy.
+ 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