Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Thanks for your time in advance !!

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

PrintTicket provider failed to retrieve PrintCapabilities. Win32 error: -2147418113

Here is my Code to Print

printDlg.PrintDocument(idpSource.DocumentPaginator, "Hello WPF Printing.");
Posted
Updated 21-Jul-11 22:33pm
v2

 
Share this answer
 
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
5.Now its Working Fine
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900