You need to sign in to do that
Don't have an account?
Rahul Borgaonkar
Dot matrix out put using Visualforce
Hi,
I want to print account and its contacts on dot matrix printer. Is it possible to do it using visualforce renderas PDF option.
Please find my VF code.
Thanks,
Rahul
I want to print account and its contacts on dot matrix printer. Is it possible to do it using visualforce renderas PDF option.
Please find my VF code.
<apex:page standardController="Account" sidebar="false" id="pageid" renderAs="PDF"> <apex:outputtext value="{!account.name}" style="font-family: 'Courier New'; margin: 100;"/> <apex:form id="formid" > <apex:dataTable value="{!account.contacts}" var="contact"> <apex:column headerValue="Employee Name" value="{!contact.name}" style="font-family: 'Courier New'; margin: 0;"/> </apex:dataTable> </apex:form> </apex:page>Please help.
Thanks,
Rahul
Thanks, Sunil.
I think the below links should help you.
https://forums.adobe.com/thread/1106128?tstart=0
https://answers.acrobatusers.com/Can-t-get-PDF-to-print-clearly-with-a-Dot-MATRIX-printer-Printronix-printer-q236858.aspx
If the above suggestion worked, mark the answer as "Best Answer" so that our community users can refer to this in the future.
Thanks, Sunil