Tag Info

Hot answers tagged

11

We usually use print style sheets (<link rel="stylesheet" href="print.css" type="text/css" media="print" />) to do this. Check this guide: http://www.webcredible.co.uk/user-friendly-resources/css/print-stylesheet.shtml I know Muhimbi has a good third party PDF generator, but I havent tried it.


4

To hide it during Print, you can use the following CSS: @media print { div#suiteBar { display: none; } }


3

It is not a good option if you require generic print functionality but SQL Reporting Services is great for building custom reports and it comes with different built in export functions. However it requires some extra work eg. you need to build your reports separately, you need to take care of integration etc. so maybe it is overkill for your requirements. ...


3

The easiest, non intrusive approach i usually recommend for printing, is having a dedicated CSS for this purpose that would hide unwanted navigation and other controls. Add a new CSS link with media="print" and the browser will take care of the rest. <link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/print.css" media="print" />


3

If you need to print documents too then there is nothing out of the box, you will probably be limited to doing something custom or getting a third party solution. I found this on codeplex but it only works for 2007. You might be able to use it as a base for a 2010 version though? If it's just list data then you can export it to Excel and print from there. ...


3

As another quick, out of the box idea for a solution, add IsDlg=1 to the URL of your desired List view. It'll use a minimalist masterpage designed for use in Dialogs, but also includes a condensed view of the ribbon.


2

We've used this in 2007, I don't see any mention of an upgrade yet. For web part pages, Christophe has a slick print option in his easy tabs script.


2

One option is to use an alternate CSS to modify the print view of SharePoint pages. By stripping out much of the SharePoint specific stuff, and using special tags in your HTML columns you may be able to load it successfully into word (or just print directly). Some custom options to get to word: ...


2

For printing Lists you can use the http://spprintlistbutton.codeplex.com/.


2

An out of the box approach is to open the document library in Windows Explorer (Actions -> Open with Windows Explorer) select the desired files and right click on them. Then select the print option from the right click menu.


2

i dont know if this will work for 2007, 2007 has no printing option! youll need to use the browser printing options that you can access! you can make a recursive method that calls a new browser to print when opend (same way the browser handles printing!) create a webpart, webpart needs a button... when clicked it needs to scan the webpage to see what is ...


1

The best you're going to be able to do is to just get the collection of URLs of the selected files and call window.open() on all of them. Due to the nature of the web, and the security involved in keeping things safe, the browser has very little control over the application once it has opened. You could use ActiveX, but you can only deal with Office ...


1

Change ExecuteOrDelayUntilScriptLoaded(start, "sp.js"); with SP.SOD.executeOrDelayUntilScriptLoaded(start, "sp.js"); Reference: http://msdn.microsoft.com/en-us/library/ff411788(v=office.14).aspx


1

Arsalan, are you sure that we can add code to a list form? The actual requirement is for a print option for a list form and where in my knowledge, we cannot have code for List form instead we can have for Library form. The other approach what i would like to suggest if code is not possible in list is : create a webpart pgae, add a infopath form webpart and ...


1

The method is quite simple. 1) Open the document in a new window 2) When the window is opened use activeX or another method to send that window to print For 1) 1) Document library. 2) Settings > Document Library settings 3) Advanced settings 4) Check "Browser-enabled Documents" 5) Click OK 6) Create a new control for the ribbon < (Start here) and ...


1

its Not Possible For sharepoint 2010 OOB Solution. you Develop the Custom code .


1

You can develop a webpart or an application page Or you can run the following in PowerShell on the server: [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") $s = [Microsoft.SharePoint.SPSite]("http://sharepoint") $w = $s.OpenWeb() $w.Lists | Where-Object {!$_.Hidden} | Select-Object @{Label="List";Expression={$_.Title}} ...


1

have you found the solution? I am also facing the same challenge. Thanks. Update: I am facing same problem but I am able to print. Please refer This Link Hope this link will help others too. Please let me know if you can explore more. Thanks.


1

There would be at least two lists - UserList and PolicyAcceptance. The UserList contains user information and the PolicyAcceptance captures the input responses. One approach (without programming) would be to link the two lists and creating views (reports) based on the responses. Here are posts that can be of help - Create Linked Lists in SharePoint 2010. ...


1

I believe you are asking about Printing the list items, from an option which could be present in the settings page of the list. There is no out of the box option from MOSS, where you could do that. But gladly, there is a codeplex tool called SPPrintlist, which can serve your purpose. It has pretty neat options of printing with pagination and sorting too. ...


1

Taking into account what Dave Wise has said, I have had pretty good luck using Silverlight to print items. You might want to consider using the Client Object Model and Silverlight to accomplish this.


1

Formatted printing from a website is notoriously unreliable and dynamic PDF generation is easily capable of crippling your server. I would recommend developing a Word Macro that pulls in the data from SharePoint and then formats it as barcodes in Word. There is also this article, though I'm not sure how relevant it is to your specific situation.


1

Check out also Smart Print Pro. It can print lists or list items according to user defined templates and export it to PDF Check it out - http://www.infowisesolutions.com/product.aspx?id=SmartPrintPro


1

The PDF Converter for SharePoint adds a lot of PDF Related functionality to SharePoint, including the PDF button you are after. It comes with both SharePoint Designer and Nintex workflow activities as well as a host of other PDF related functionality such as PDF Security, Merging and watermarking. More here. Note that I worked on this product so the usual ...


1

I did this through a httpmodule that checks for the querystring PrinterFriendly=True and when that is set on any page in SharePoint, it swaps out the masterpage for a printerfriendly one. Here's some of the code: public void Init(HttpApplication context) { context.PreRequestHandlerExecute += new ...


1

I think the issue was Silverlight. When a task was printed from a silverlight view there used to be lots of junk but if the task was open in HTML (Ctrl + Left Click), the print out was perfect.


1

Yes. You can create a print view of your form with no color in it. Then when you click a "print" button, it will switch to this view and then they can click their print button or press ctrl+p to print.


1

Below is a copy of my answer to the same question on Stack Overflow. You may want to have a look at the PDF Converter for SharePoint. It supports all the formats you are interested in and more. In addition to a SharePoint GUI it has full support for workflows and comes with watermarking, PDF Security and a friendly web services interface as well. No ...


1

Would it be an option to convert the InfoPath form to PDF and print that? See this post. I wrote that post, happy to answer any questions.


1

I am nearly positive that this cannot be done in IE without the user altering the Page Setup. You may want to consider using a "Printable Version" link that simply redirects the user to a dynamically created PDF version of the content.



Only top voted, non community-wiki answers of a minimum length are eligible