Hi all,
I'm trying to print to BullZip PDF printer using the System.Drawing.Printing.PrintDocument class and the file does get created, but it's not readable by neither Adobe Reader nor Firefox. The same code works fine with the XPS printer. Anything obvious that I am missing?
pd.PrinterSettings.PrinterName = printerName;
pd.PrinterSettings.PrintFileName = printFileName;
pd.PrinterSettings.PrintToFile = true;
Invalid PDF files created
Moderator: jr
Re: Invalid PDF files created
Hi,
You should not print to a file as shown in your example.
Please see this ASP.NET example.
http://www.biopdf.com/guide/examples/pr ... aspnet.php
I hope this helps you
Regards,
Jacob
You should not print to a file as shown in your example.
Please see this ASP.NET example.
http://www.biopdf.com/guide/examples/pr ... aspnet.php
I hope this helps you
Regards,
Jacob