Questions tagged [printdocument]

Defines a reusable object that sends output to a printer, when printing from a Windows Forms application.

289 questions
-1
votes
1 answer

Printing functions in different class

I need a small help. I want to make a simple class which have to be supplied only the data and the document is printed. I want to put all settings and graphics in one class and just call print function. My printdocument class looks something like…
Dester Dezzods
  • 1,417
  • 4
  • 17
  • 33
-2
votes
1 answer

PrintDocument printing blank pages?

I am trying to print a pdf document and save it to a file when I receive the prompt to save the document. The file is generated with the right number of pages but all pages are blank. What am I missing in the PrintPage handler below? Thanks for…
Jyina
  • 2,530
  • 9
  • 42
  • 80
-2
votes
3 answers

VB.NET - how to add a title on top of printed page in datagridview?

I have a windows application on VB.net 2010 and a datagridview inside, all works fine and the printing also, but I would like to add a Title on the printed page! from textbox that I have, is it possible? Please replay as soon as you can, and this is…
-2
votes
1 answer

Print to file in C# using Print Document

i am creating C# Application in which i am using external class to print dataGridView. with this class i am able to print document pdf but i am unable to save the file to disk. i know this can be achieved by…
Axad
  • 1
  • 7
1 2 3
19
20