Have you guys implemented a way to transform an Aspose.Words document into PCL or is WORDSNET-6118 still open?
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan
You can convert Word documents directly to Printer Command Language (PCL) file format by using the latest versions of following APIs:
We had implemented rendering Word document into PCL (PCL 6 Enhanced or PCL XL) format back in Aspose.Words’ 17.7 release.
For example, the following C# .NET code will set whether or not to rasterize complex Word document elements before saving to PCL:
Document doc = new Document("Rendering.docx");
PclSaveOptions saveOptions = new PclSaveOptions
{
SaveFormat = SaveFormat.Pcl,
RasterizeTransformedElements = true
};
doc.Save("PclSaveOptions.RasterizeElements.pcl", saveOptions);
You can use PclSaveOptions Class to specify additional options when saving a Word document (such as DOCX, DOC, RTF, ODT etc) into the PCL (Printer Command Language) format.
A simple C# code example of how to convert Word DOCX document to PCL file format is as follows:
Document doc = new Document("Example.docx");
PclSaveOptions saveOptions = new PclSaveOptions();
doc.Save("Example.pcl", saveOptions);