A
Abraham Andres Luna
hello everyone,
how do i sent the host fonts when i programmatically print to the adobe pdf
printer.
this is my code:
Microsoft.Office.Interop.Excel.Application appExcel = new
Microsoft.Office.Interop.Excel.Application();
appExcel.Workbooks.Open(@"C:\RDK\test.xls", Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing);
Microsoft.Office.Interop.Excel.Worksheet wsFile =
(Microsoft.Office.Interop.Excel.Worksheet)appExcel.Sheets[1];
wsFile.PrintOut(1, 1, 1, false, "Adobe PDF", true, false,
@"C:\RDK\test.pdf"); //this line fails
i get a popup telling me to send the host fonts. the total error message is:
"When you create a PostScript file you have to send the host fonts. Please
go to the printer properties, 'Adobe PDF Settings' page and turn OFF the
option 'Do not send fonts to Distiller'".
thank you for your help.
how do i sent the host fonts when i programmatically print to the adobe pdf
printer.
this is my code:
Microsoft.Office.Interop.Excel.Application appExcel = new
Microsoft.Office.Interop.Excel.Application();
appExcel.Workbooks.Open(@"C:\RDK\test.xls", Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing);
Microsoft.Office.Interop.Excel.Worksheet wsFile =
(Microsoft.Office.Interop.Excel.Worksheet)appExcel.Sheets[1];
wsFile.PrintOut(1, 1, 1, false, "Adobe PDF", true, false,
@"C:\RDK\test.pdf"); //this line fails
i get a popup telling me to send the host fonts. the total error message is:
"When you create a PostScript file you have to send the host fonts. Please
go to the printer properties, 'Adobe PDF Settings' page and turn OFF the
option 'Do not send fonts to Distiller'".
thank you for your help.