Skip to main content
7 votes
Accepted

Overlapping data while using print functionality over VF page

I believe this is happening due to the table falling on a page-break-zone. You can add the following style style="page-break-inside: avoid;" to your div inside the apex:repeat, it will ensure no ...
Santanu Halder's user avatar
4 votes
Accepted

Hide div from page layout after print button click

I think there is a lag between updating the DOM and sending the elements to the window.print. I would suggest, using another approach where you can hide the element/div which you don't want to print ...
Naval Sharma's user avatar
  • 1,737
2 votes

Download Screenshot in PDF on button click in lightning component

You will require jspdf in the lightning component. Include it with ltng:require and then call a function on the button click. Here is the jsfiddle which you can have a look.
Naval Sharma's user avatar
  • 1,737
2 votes
Accepted

Modify output text using Standard Visualforce page

The apex:pageBlock is causing the problem. It's not meant to have anything inside of it besides apex:pageBlockSection, apex:pageBlockButtons, and apex:pageBlockTable. Also, to make sure line breaks ...
sfdcfox's user avatar
  • 502k
2 votes

Print the content of specific div using LWC

I have found a solution. We can use class="slds-no-print" to hide the sections from print. check this link Thank You.
Thirumagal 's user avatar
1 vote

Printing a PDF from formula field data

There are several parts to what you're asking. Let's unpack it. PDF generation in Salesforce has traditionally been done using Visualforce and Apex -- see the official documentation. Your LWC can call ...
Matthew Souther's user avatar
1 vote

Display multiple PDF Content Versions in a printable view in one Visualforce Page

After doing more research I found a post asking the same question and it can be viewed here. tl;dr It's not possible to render a PDF that contains another PDF inside of it. The Salesforce PDF render ...
HoldenIsCoding's user avatar
1 vote

Increase PDF height to show in one page

Try setting the page size in the <style> tag: <style> @page { size: 8.5in 11in; margin:0.0in; /* PDF width, height, margin */ } </style>
R Banks's user avatar
  • 11

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