Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [printpdf]

The tag has no usage guidance.

0
votes
1answer
27 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 = ...
1
vote
0answers
95 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 ...
1
vote
0answers
41 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(){ ...
1
vote
1answer
71 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 ...
0
votes
1answer
336 views

change header and footer on window.print

I have a visualforce page and also the link that run javascript command window.print(). As my task I must to change the footer link when the print page is opened and also remove date from the header ...
1
vote
0answers
90 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 ...
0
votes
1answer
303 views

What is the better approach to print preview a specific Lightning component?

Attempted below. printPreview: function(component, event, helper) { var yourDOCTYPE = "<!DOCTYPE html>"; var printPreview = window.open('about:blank', 'print_preview', "...
0
votes
1answer
71 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 ...
2
votes
1answer
202 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 ...
0
votes
1answer
29 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 ...
1
vote
1answer
471 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 ...
0
votes
1answer
465 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 ...
1
vote
1answer
392 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 ...
2
votes
1answer
55 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.
0
votes
0answers
181 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 ...
0
votes
1answer
231 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. <...
1
vote
2answers
176 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(...