hi,
i'm converting pcl files into pdf file format using Aspose.pdf dll in C#.net
source code:
using Aspose.Pdf;
using System.IO;
namespace pcltopdf
{
class Program
{
static void Main(string[] args)
{
try
{
string dataDir = Path.GetFullPath("D:\\Printer files\\Printer files\\");
Aspose.Pdf.LoadOptions loadopt = new Aspose.Pdf.PclLoadOptions();
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(dataDir + "HP_PCL5_WORD.prn", loadopt);
doc.Save(dataDir + "tt-converted.pdf");
Console.WriteLine("success");
}
catch (Exception)
{
Console.WriteLine("error");
}
}
}
}
result:
when i execute the program, the conversion is successful. but if any images or links related data available in pcl file then those won't be converted into pdf format.
could you please provide me the solution for my issue as mentioned above if anyone knows?
thank you,
sai k.