function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rahul BorgaonkarRahul Borgaonkar 

Dot matrix out put using Visualforce


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="{!}" style="font-family: 'Courier New'; margin: 100;"/>
    <apex:form id="formid" >
    <apex:dataTable value="{!account.contacts}" var="contact">
        <apex:column headerValue="Employee Name" value="{!}" style="font-family: 'Courier New'; margin: 0;"/>
Please help.


Sunil MadanaSunil Madana
Hi Rahul, PDF files do not print properly on Dot Matrix printer. You have to save the file as "RTF" format in order to print using Dot matrix printer. Click this Link (" target="asdasd) to see the comments.

Thanks, Sunil.
Rahul BorgaonkarRahul Borgaonkar
Hi Sunil, The solution link is paid service. Is it possible to paste actual solution on community. Best Regards, Rahul Rahul Suresh Borgaonkar
Sunil MadanaSunil Madana
Hi Rahul, Sorry for the late reply.
I think the below links should help you.

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