Featured

Using Sharepoint List Default Preview Style

Sharepoint by default displays the list items in a tabular format. The 'title' of the list item is hyperlinked and the user has to click the link to get further details on the item. This method...
+ 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
Printing Sharepoint Webparts PDF Print
User Rating: / 0
PoorBest 
Web - Sharepoint 2007
One of the limitations of Sharepoint is the absence of print feature for the web parts and one has to rely on the browser's print functionality. How to print a web part in an elegant way?

 

Workplace Monthly has an interesting and well written article for printing web part lists. Only one part of the process is expanded for the benefit of users' new to Sharepoint. The other steps are well expanded in 'Workplace Monthly'. It is quite easy to do without the need for Sharepoint Designer. The following are the steps:

 

(1) Create a Sharepoint List
(2) Copy and paste the code referred in 'Workplace Monthly' article. The code will be added to 'Custom Editor Web part', How?

Adding Code to Custom Editor Web Part

 

  • 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 to this page (The code is the one referred to in 'Workplace Monthly' article
  • Click 'Save'

     

 

Find the Web Part ID

 

(3) The last step in the process is the find the Web Part ID of the list and linking to the 'Print' button. As it is well explained in the source article, kindly refer to Workplace Monthly article. This displays a neat 'Print' button in the web part. As the web part Id is passed as a parameter, one can have any number of 'Print' buttons or links, each referencing a different list. Quite handy!

Trackback(0)
Comments (5)add
0
...
written by Greg , January 29, 2010
The URL to the Workplace Monthly Article is broken. Does anyone know another location for it?
report abuse
vote down
vote up
Votes: +0
0
...
written by kaps , September 03, 2009
Not sure if this will help for excel web access reporting:

http://office.microsoft.com/en-us/sharepointserver/HA101054761033.aspx
report abuse
vote down
vote up
Votes: +0
0
...
written by ian , August 30, 2009
I'v tried this with a Excel Web Access
web part and it doesn't work. Can something like this be used to print
excel web access reports
report abuse
vote down
vote up
Votes: +0
0
...
written by sc , June 22, 2009
I know that there are some commercial solutions for pdf conversion. http://www.muhimbi.com/Product...Point.aspx is one of them. I have never tried it. Google to check if there are open source solutions available.

With Office 2007 functionality, I feel it should be possible
report abuse
vote down
vote up
Votes: +0
0
...
written by C. Rush , June 22, 2009
Hi, great article. Was wondering, what would be the next step to getting the popup window to offer a PDF download of the content for download?
report abuse
vote down
vote up
Votes: +0
Write comment

security image
Write the displayed characters


busy
Last Updated on Saturday, 16 February 2008 08:28
 

now browsing!

We have 29 guests online

Sharepoint

Sharepoint Row Highlight using Behaviors

If you have a long list of items in a Sharepoint list, you may find it convenient to highlight the current row the cursor is on. While there are couple of ways of accomplishing this, this article...
+ Full Article

More on Sharepoint

Windows

Windows XP Command Line FTP

Also applies to Windows Vista Home Basic Windows XP has a command line FTP client that is easy and fun to use.FTP client is used to transfer files between your PC and a Serveror vice versa.
+ 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