View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Abraham Andres Luna Abraham Andres Luna is offline
external usenet poster
 
Posts: 7
Default howto send host fonts to adobe pdf printer

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();
", 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.