P Palli Olafs Aug 22, 2005 #1 Hi Is it possible to save the PrintDocument as file without using a printer?
G Guest Aug 22, 2005 #2 Is it possible to save the PrintDocument as file without using a printer? Look at: Drawing.Printing.PrintDocument.PrinterSettings.PrintToFile I have no experience with PrintToFile, but it looks promising.
Is it possible to save the PrintDocument as file without using a printer? Look at: Drawing.Printing.PrintDocument.PrinterSettings.PrintToFile I have no experience with PrintToFile, but it looks promising.
P Palli Olafs Aug 22, 2005 #3 Hi This is only a bool property? I have to print using a printer anyway but I need some way to print from PrintDocument without using a printer. I have my document in the PrintDocument Canvas and I have to access it somehow? Any ideas.
Hi This is only a bool property? I have to print using a printer anyway but I need some way to print from PrintDocument without using a printer. I have my document in the PrintDocument Canvas and I have to access it somehow? Any ideas.
W William LaMartin Aug 25, 2005 #4 Yes, use PrintDialog1.AllowPrintToFile = True instead of PrintDocument1.PrinterSettings.PrintToFile = True Then when the user checks the Print to File box in the Printer Dialog he will get the option to print to a file. This is explained in the Microsoft Knowledgebase article http://support.microsoft.com/default.aspx?scid=kb;en-us;820644
Yes, use PrintDialog1.AllowPrintToFile = True instead of PrintDocument1.PrinterSettings.PrintToFile = True Then when the user checks the Print to File box in the Printer Dialog he will get the option to print to a file. This is explained in the Microsoft Knowledgebase article http://support.microsoft.com/default.aspx?scid=kb;en-us;820644