Transform EML to PCL in Andorid Apps
Desing Andorid applications to export EML to PCL by using Andorid via Java API
How to Render EML to PCL in Andorid Applications
Andorid Apps are easy to use for end users on daily bases. Day by day numbers of Andorid phones users are increasing. Using the powerful Aspose.Total for Android via Java File Format Automation libraries you can develope Email manipulation and convertion applications. You can convert EML to PCL by the combination of Aspose.Email for Android Java & Aspose.Words for Andorid Java . Using the first API you can convert EML file format to HTML and by using second API, you can render HTML as PCL.Convert EML to PCL in Andorid
- Open EML file using MailMessage class
- Convert EML to HTML by using save method
- Load HTML by using Document class
- Save the document to PCL format using save method and set PCL as SaveFormat
Get Started with Andorid via Java APIs
You can easily use Aspose.Total for Android via Java directly from Maven and install Aspose.Email for Android via Java and Aspose.Words for Andorid via Java in your applications.
Alternatively, you can get a ZIP file from downloads .
Code for EML to PCL Conversion in Andorid Apps
// load the EML file to be converted
MailMessage message = MailMessage.load("sourceFile.eml");
// save EML as a HTML
message.save("HtmlOutput.html", SaveOptions.getDefaultHtml());
// load HTML with an instance of Document
Document document = new Document("HtmlOutput.html");
// call save method while passing SaveFormat.PCL
document.save("output.pcl", SaveFormat.PCL);
EML What is EML File Format?
EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Microsoft Outlook is the default software for opening EML message types. EML files can be used for saving to disc as well as sending out to recipients using communication protocols.
Read MorePCL What is PCL File Format?
PCL stands for Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP). HP created PCL to provide an efficient way for controlling printer features across many different printing devices. The format was originally developed for HP’s dot matrix and Inkjet printers, but has been part of various thermal, matrix and page printers with the passage of time. The format underwent several different revisions, resulting in different versions where each version was enhanced to meet the demands of time with respect to the printer control features. Today, PCL is the most widely spread printer language in the laster printer market.
Read More