Thursday, 7 March 2013

Print calendar form using standard browser printing function

In master page, add:
@media print {
.cssPrintButton {
 DISPLAY: none
}   
.no-print { display:none; }
    .marginleftzero {
 margin-left:0px !important;
}
}

<div class="TopArea s4-notdlg no-print" style="height: 138px">
<div class="s4-ca s4-ca-dlgNoRibbon marginleftzero" id="MSO_ContentTable">

add one content webpart to disp page
<div class="cssPrintButton"><input onclick="window.print();return false;" type="button" value=" Print this page "/> </div>

Speed up your SharePoint 2013 server

Reduce the CPU impact the search service:

PowerShell: Set-SPEnterpriseSearchService -PerformanceLevel Reduced

Reduce the memory usage by noderunner.exe processes:

1.       Open file in notepad:  C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config

2.       Change the value at <nodeRunnerSettings memoryLimitMegabytes="0" /> to 100 (Megabytes) for example.