Printing Files
-
Hey I am having trouble, i have a filepath and i am trying to ad the following steps to a button click: - Select a Printer By name - Send it my file path - Print file Any help would be greatly appreciated thanks you for your time Chris
-
Hey I am having trouble, i have a filepath and i am trying to ad the following steps to a button click: - Select a Printer By name - Send it my file path - Print file Any help would be greatly appreciated thanks you for your time Chris
You can do that with Crystal Report. That´s a VB component to print. Very easy to use.
-
You can do that with Crystal Report. That´s a VB component to print. Very easy to use.
-
How to do that? Do you have any document or resource on the web to demonstrate about this technique?
A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office
You can see this page: http://www.businessobjects.com/products/reporting/crystalreports/appdev.asp . But it is really easy. In VB you have to add the Crystal Report Component; in VB.NET it is named ReportDocument. The file you want to print has to be a crystal report document (you can download the software in the site above). Then you have just to work with properties and methods. Ex in VB.NET: reportDocument1.PrintOptions.PrinterName = ""
-
Hey I am having trouble, i have a filepath and i am trying to ad the following steps to a button click: - Select a Printer By name - Send it my file path - Print file Any help would be greatly appreciated thanks you for your time Chris
File path to what kind of document? There printer object cannot interpret every kind of document. Actually, it can't interpret ANY kind of document. What you do depends entirely on what you're trying to print. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
File path to what kind of document? There printer object cannot interpret every kind of document. Actually, it can't interpret ANY kind of document. What you do depends entirely on what you're trying to print. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Hey thanks for the feedback. I have an installed PDF printer that i want to send my documents (MS Office Documents) too and also a 'print' command. The printer will do the rest. Does this make it harder or easier to print the files or is the situation still the same? Thanks Chris
-
Hey thanks for the feedback. I have an installed PDF printer that i want to send my documents (MS Office Documents) too and also a 'print' command. The printer will do the rest. Does this make it harder or easier to print the files or is the situation still the same? Thanks Chris
That's better. Word will actually have to do the printing. The PDF printer will just render into a .PDF what Word outputs when it prints. If you're just going to convert Word documents, you can use the Word (Office) automation model to load the document, select the printer, then print the document. It's been covered dozens of times in the forum, just search for Word using the "Search comments" link. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome