W
William LaMartin
I have a vb.net win form where I want to output some text to a printer.
Everything works fine when printing to my laser or inkjet printers. However
when I print to the Acrobat PDFWriter printer driver, I get correct
formatting but the text is gibberish.
I am using ev.Graphics.DrawString(line, printFont, Brushes.Black,
leftMargin, yPos, New StringFormat) , where line is the text that I wish to
print on each line, to print the text.
The DrawLine method, however produces true results for drawing lines. Also
printing a picture from inside the program using graphics.DrawImage prints
correctly using the Acrobat print driver.
Is there some setup of the printdocument that should be done if printing to
the Acrobat print driver? Has anyone successfully printed a printdocument
containing text to the Acrobat PDFWriter?
Everything works fine when printing to my laser or inkjet printers. However
when I print to the Acrobat PDFWriter printer driver, I get correct
formatting but the text is gibberish.
I am using ev.Graphics.DrawString(line, printFont, Brushes.Black,
leftMargin, yPos, New StringFormat) , where line is the text that I wish to
print on each line, to print the text.
The DrawLine method, however produces true results for drawing lines. Also
printing a picture from inside the program using graphics.DrawImage prints
correctly using the Acrobat print driver.
Is there some setup of the printdocument that should be done if printing to
the Acrobat print driver? Has anyone successfully printed a printdocument
containing text to the Acrobat PDFWriter?