S007
S007

Reputation: 65

Error while printing in WPF

I'm Getting the following error while printing in WPF.

PrintTicket provider failed to retrieve PrintCapabilities. Win32 error.

Here is my Code to Print

printDlg.PrintDocument(idpSource.DocumentPaginator, "Hello WPF Printing.");  

Upvotes: 1

Views: 2101

Answers (1)

S007
S007

Reputation: 65

I don't know what is exactly the problem, but something related to Printer.

From Control Panel -> Printers & Fax

  1. Right Click the Printer and take Printer preferences
  2. Change the Source property to 'Manual Feed'& Apply.(Initially it was'AutoSelect')
  3. Still got some error.
  4. Again me changed the Source property back to 'Auto Select'& Apply.
  5. Changed the Quick set Property to 'Defaults'& Apply

Now its Working Fine

Upvotes: 2

Related Questions