Jul 22, 2008 #1 StevenK Programmer Joined Jan 5, 2001 Messages 1,294 Location GB How do we print a graphic to a printer (namely a bitmap - '.bmp' file). Is this something that can be done simply? Thanks in advance. Steve
How do we print a graphic to a printer (namely a bitmap - '.bmp' file). Is this something that can be done simply? Thanks in advance. Steve
Jul 22, 2008 #2 ZmrAbdulla Technical User Joined Apr 22, 2003 Messages 4,364 Location AE I have a 4 line code that do the job. Before I post the code, I need you to clarify if the choice was from this thread? http://www.tek-tips.com/viewthread.cfm?qid=1488524 ________________________________________________________ Zameer Abdulla Help to find Missing people Upvote 0 Downvote
I have a 4 line code that do the job. Before I post the code, I need you to clarify if the choice was from this thread? http://www.tek-tips.com/viewthread.cfm?qid=1488524 ________________________________________________________ Zameer Abdulla Help to find Missing people
Jul 22, 2008 Thread starter #3 StevenK Programmer Joined Jan 5, 2001 Messages 1,294 Location GB Yes it is. Upvote 0 Downvote
Jul 22, 2008 #4 ZmrAbdulla Technical User Joined Apr 22, 2003 Messages 4,364 Location AE I am sorry.. this prints only documents not image files Code: Dim myprocess As New Process myprocess.StartInfo.FileName = "c:\mytext.txt" MyProcess.StartInfo.Verb = "Print" MyProcess.Start() try this with image files. ________________________________________________________ Zameer Abdulla Help to find Missing people Upvote 0 Downvote
I am sorry.. this prints only documents not image files Code: Dim myprocess As New Process myprocess.StartInfo.FileName = "c:\mytext.txt" MyProcess.StartInfo.Verb = "Print" MyProcess.Start() try this with image files. ________________________________________________________ Zameer Abdulla Help to find Missing people
Jul 22, 2008 Thread starter #5 StevenK Programmer Joined Jan 5, 2001 Messages 1,294 Location GB Is there anything similar we can do - perhaps using Windows Paint application as the channel to open / print the file. Any further suggestions would be appreciated. Thanks again. Steve Upvote 0 Downvote
Is there anything similar we can do - perhaps using Windows Paint application as the channel to open / print the file. Any further suggestions would be appreciated. Thanks again. Steve
Jul 22, 2008 #6 PRPhx MIS Joined Jul 4, 2005 Messages 747 Location US Do a google search. There are thousands of examples out there to print images. Upvote 0 Downvote