Convert PCL files to PDF files with PJL commands

Hello,

We are evaluating solutions to automatically convert PCL output files to PDF, and I am experimenting with the trial version of the SDK. I am finding that if I use the GUI tool (VeryPDF PCL Converter v2.7) to convert a sample file we have the resultant PDF looks as expected, but the PDF generated via C# code includes the various PJL commands that exist within the PCL rendered as text within the PDF. As the same input file was used for both, is this a limitation of the trial SDK or is there a command option to exclude PJL from the output?

Sincerely,
Customer
-------------------------------------------

image
Thanks for your message, PCL Converter SDK and PCL Converter GUI and PCL Converter Command Line are using same source code, they are no difference, so if the GUI or Command Line version work fine to you, the PCL Converter SDK should be work fine to you too.

In order to use "PCL Converter SDK" product, you can run "install.vbs" to install PCLtoPDFCom.exe into your system first, then you can call "VeryPDF.PCLtoPDFCom" from your C# code to convert from PCL files to PDF files,

----------------------------
string appPath = Path.GetDirectoryName(Application.ExecutablePath);
System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.PCLtoPDFCom");
VeryPDF.PCLtoPDFCom VeryPDFCom = (VeryPDF.PCLtoPDFCom)System.Activator.CreateInstance(VeryPDFType);

string appFolder = Path.GetDirectoryName(Application.ExecutablePath);
string strFolder = Directory.GetParent(appFolder).FullName;

string strReturn = "";
int nFileIndex = 0;
VeryPDFCom.EnableDebugLog(true);

string strInFile = strFolder + "\\test\\test.pcl";
string strOutFile = strFolder + "\\bin\\_test.pdf";
string strCmd = "-$ XXXXXXXXXXXXXXXXXX \"" + strInFile + "\" \"" + strOutFile + "\"";
strReturn = strReturn + VeryPDFCom.PCLtoPDF(strCmd);
nFileIndex = nFileIndex + 1;

MessageBox.Show(strReturn);
----------------------------

If you can't get it work, please send to us your demo C# project, we will check your C# project and figure out a solution to you asap.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PCL Converter and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!