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
3 votes
Accepted

Detect Quote PDF generation at the Quote level

Here's one possibility that comes to mind if you were to write a trigger on Quote. There's no Quote History object, but there is the Quote PDF's related list that may have some kind of impact on the ...
crmprogdev's user avatar
  • 40.9k
3 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,677
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,677
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
  • 487k
2 votes
Accepted

Need to remove unnecessary Space from PDF (Using VF page)

Wrap the last table in an outputPanel and use the rendered attribute there instead of the outputText that is in the TD. Also move the last <br/> inside the new output panel as well as the last ...
Eric's user avatar
  • 54.1k
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

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

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