Transform Word DOCX Document into PCL (Printer Command Language) File Stream using C++ C# .NET Java or Android

Have you guys implemented a way to transform an Aspose.Words document into PCL or is WORDSNET-6118 still open?

Hi Bryan,

Thanks for requesting this feature. Unfortunately, currently we have no plans for PCL support in foreseeable future. This is a complex issue and implementation of this feature (WORDSNET-6118) has been postponed. However, the support of rendering Word document to PCL may definitely come onto the product roadmap in the future. We will inform you via this thread as soon as this is supported. We apologize for your inconvenience.

Best regards,

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

@keiop_3017,

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);