Questions tagged [printdialog]

In WPF PrintDialog is a class that invokes a standard Microsoft Windows print dialog box that configures a PrintTicket and PrintQueue according to user input and then prints a document.

In WPF PrintDialog is a class that invokes a standard Microsoft Windows print dialog box that configures a PrintTicket and PrintQueue according to user input and then prints a document.

More info

172 questions
-1
votes
1 answer

Can a PrintDialog be modified?

I am working at a print module and I use a PrintDialog to set the printer settings and then to print. The problem is that I have to do that before each print operation. I want to select the printer settings (all the options provided by PrintDialog)…
Cosmin Ioniță
  • 3,598
  • 4
  • 23
  • 48
-1
votes
2 answers

Object reference not set to an instance of an object while print the file c#

I want print the file from the data grid view. But, once I click the Print Preview, the error appear and says: Object reference not set to an instance of an object. Here is the error coming from: arrColumnLefts.Clear(); in: void…
Unknown User
  • 57
  • 1
  • 14
-1
votes
2 answers

PrintDialog 2013 Not Available

I am creating a web application and I want to print contents of my webpage. I have seen quite a lot of videos and support forums but I cant find what I'm looking for. Basically PrintDialog is not available in my Visual Studio 2013 toolbox, is there…
MissLadyBoo
  • 65
  • 2
  • 9
-1
votes
2 answers

C# Winforms accessing print dialog which opened with another program

Can I access to print dialog and close it programmatically from Winforms? This print dialog would be opened by another program like a web browser, notepad or paint. For example person is on internet explorer and hits ctrl+p on any website then print…
Teoman shipahi
  • 47,454
  • 15
  • 134
  • 158
-2
votes
1 answer

how to print a PDF document In Printdialog Control using c# winforms

I use this code to print pdf to default printer. public static void PrintPDFByProcess() { try { using (Process p = new Process()) { p.StartInfo = new ProcessStartInfo() { …
bigtheo
  • 624
  • 9
  • 16
-2
votes
2 answers

how to print multiple copies in c#

I am currently using the below code for printing a pdf file from database. I am using pdfium for viewing the pdf file and for printing I use PrintDialog box. I can print the pdf file in a single copy only but in a multiple copies I didn't get…
Aopgatimam
  • 9
  • 1
  • 8
-2
votes
1 answer

Wireless Printing in PrintDialog C#

I was curious if you could print wirelessley using printDialog? I did a bit of research but could not find any articles relating to this issue. I am rolling with a windows 7. Here is my code is it helps: public void…
MSD
  • 87
  • 2
  • 5
  • 14
1 2 3
11
12