Skip to main content

Questions tagged [printpdf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
2k views

LWC save or print as pdf

I have built out an LWC to that I'm displaying externally in a community (public). I trying to put a print/save button on the LWC to print/save the LWC as a PDF. I've looked into jspdf and some others,...
mackmama's user avatar
  • 741
-1 votes
1 answer
181 views

Printing a PDF from formula field data

I am pretty new to salesforce. We are storing Barcode information in a formula field, and I need a lwc to print a pdf of the barcode from the formula field. I'd appreciate any help, thank you in ...
t__H's user avatar
  • 7
1 vote
0 answers
52 views

selectRadio, inputTextArea not rendering in Visualforce Page as PDF

thanks for reading! I'm trying to render some fields as PDF in my Visualforce Page and I can't understand why the data is being rendered fine but not the fields itself. <div class="content&...
Nacho Zve De La Torre's user avatar
1 vote
1 answer
962 views

Modify output text using Standard Visualforce page

I have a requirement to print email tasks as PDF. As standard printable view option will support on Task records, I have created a custom visualforce page with render as "PDF" as below: <...
SFDCUser's user avatar
4 votes
0 answers
2k views

Lightning record page printable view or PDF

I need to create a printable view (or PDF) of a record's Lightning Page (think "tear sheet") that includes a compact "details" section, compact related list tables, and a custom ...
Brent Bowers's user avatar
  • 3,192
1 vote
1 answer
1k views

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

I'm running into an issue that I've been unable to solve surfing the web. I am storing USPS shipping labels I am receiving from an HTTP request using ContentVersion. I would like for the user to be ...
HoldenIsCoding's user avatar
0 votes
2 answers
5k views

Print the content of specific div using LWC

I want to print a specific dive content using LWC. I have tried this using javascript: let divContents = this.template.querySelector('.voucherContainer').innerHTML; let a = window.open('', '', '...
Thirumagal 's user avatar
0 votes
0 answers
435 views

View Quick Action Lightning Component as pdf

I have this below lightning component from where I am calling a lightning web component. This lightning component is called from quick action. I need to print this content as pdf. When I click the ...
learningmode's user avatar
0 votes
1 answer
1k views

Hide div from page layout after print button click

In my lightning component, I have a div with aura:id = "hidefromPDF". On Print button click I want to hide the div from page print. I tried the following code on button click { var hidefromPDF = ...
VDahiya's user avatar
  • 116
2 votes
0 answers
568 views

Print all iframes in Lightning Component

We display vf pages rendered as pdfs in a lightning component which generates these documents. We would like to implement a print all button that would print the contents of all the iframes. I have ...
Zack Walton's user avatar
  • 1,646
1 vote
0 answers
84 views

PDF not generated in printable view

Below is my controller public class MyController { public Letter__C letter{get;set;} public String isPDF { get; set; } public Boolean bolPrintableView {get;set;} public MyController(){ ...
sf123's user avatar
  • 37
2 votes
1 answer
791 views

Download Screenshot in PDF on button click in lightning component

I have a lightning component which displays list of accounts in table. And I need to create a button. On clicking , screenshot of the screen should be downloaded as PDF/excel file. I am not sure how ...
devforce's user avatar
  • 1,585
1 vote
0 answers
252 views

How to print Lightning icon?

We're having below markup in Lightning component. <lightning:icon aura:id="statusIcon" iconName="action:check" size="xx-small"/> When java-script is controller prints the page with this ...
Pasan Eeriyagama's user avatar
0 votes
1 answer
471 views

Same image displayed in footer and body of PDF,but with different size in footer and body

Same image want to display with different size in PDF. image size 20px in footer and 200px in page . In normal visualforce page it works fine but when rendered as PDF. it's not working, its overriding ...
Jayanth B's user avatar
2 votes
1 answer
879 views

Overlapping data while using print functionality over VF page

I have a table on VF Page and it is working perfectly. when I use print functionality and print this table the data overlap at some points. Like in Q 4. I got overlapped structure but in Q 5. it's ...
Lavika Vaishnav's user avatar
0 votes
1 answer
180 views

How to print record(s) and update fields at the same time?

I have a requirement that involves Printing a "document(s)" and then updating it to mark it as printed (custom "isPrinted" field). I am really struggling to find the best way to do this. I've ...
n34_panda's user avatar
  • 629
2 votes
1 answer
2k views

Detect Quote PDF generation at the Quote level

I am trying to detect Quote PDF generation at the Quote level so that I can trigger update on a Quote related object. I know you cannot create triggers on the QuoteDocument object so is there any way ...
Mayank Srivastava's user avatar
0 votes
1 answer
2k views

Increase PDF height to show in one page

I have an HTML used Apex page which has renderas PDF tag for PDF conversion. But the content is too long and coming in two pages. I need to keep it in one Page. Can someone suggest a solution? Apex ...
Testing_SFDC's user avatar
  • 2,968
1 vote
1 answer
1k views

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

I need to remove unnecessary Space from PDF (PDF is generated by VF page), I don't know why and from where it should be displayed, Help me out from this issue. please have a look into the screenshot ...
Nihar's user avatar
  • 1,182
2 votes
1 answer
711 views

Dotted line do not display when print

My visual page render as pdf, at prepare print screen my dotted line can display but when I printed the dotted line disappear on my paper . Can any body help me.
minhnv's user avatar
  • 65
0 votes
0 answers
205 views

Attach a dynamic PDF page

I have a requirement to create a pdf page in a new window based on dynamicly created records of custom object Incident__c when an User clicks a custom button. Then mail the PDF to the User. Please ...
Testing_SFDC's user avatar
  • 2,968
0 votes
1 answer
325 views

Rendered in Tabpanel

I am getting an error like PDF generation failed for render in a tab panel. I need to do conditionally show the tab panel. Can some suggest a way out. Please find the snippet from my page here. <...
Testing_SFDC's user avatar
  • 2,968
1 vote
2 answers
249 views

Do not Show Image while Printing?

I have a Visualforce Page( Header with Logo-Image + Content) which is rendered as Pdf. This Vf page will be Emailed via Custom Controller Scenerio : When Email is Forwarded I want to Have Header(...
user40138's user avatar
  • 948