![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Thanks for sharing, I'm sure there are others with the same issue who
could use your code. --JP On Mar 25, 8:53*pm, "Henk Pols" wrote: JP Thanks for your input, however I have already solved the issue. For you info I use the following code: * * * * * * Case "bmp", "jpg", "tif": * * * * * * * * Dim PCmd, objShell, oExec * * * * * * * * Dim Printer As String * * * * * * * * Printer = GetDefaultPrinter * * ' Own declared Function * * * * * * * * PCmd = "rundll32 shimgvw.dll,ImageView_PrintTo /pt """ & FileName & """ """ & Printer * * * * * * * * Set objShell = CreateObject("Wscript.Shell") * * * * * * * * Set oExec = objShell.Exec(PCmd) * * * * * * * * Do While oExec.Status = 0 * * * * * * * * * * WScript.Sleep 100 * * * * * * * * Loop * * * * * * * * ' Clean up * * * * * * * * Set oExec = Nothing * * * * * * * * Set objShell = Nothing Henk. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printing Attachment Information | LarryH | Outlook - General Queries | 6 | October 28th 08 01:11 PM |
Attachment Printing | RGA[_2_] | Outlook - General Queries | 2 | August 28th 08 03:37 PM |
Right click send to mail recipient of an TIFF | Cat bite | Outlook - General Queries | 1 | May 24th 06 06:16 AM |
printing attachment name in Word | Martin | Outlook - Using Forms | 2 | April 7th 06 10:46 AM |
How do I convert an incoming TIFF fax to a Adobe PDF? | Bob | Outlook - Installation | 1 | April 4th 06 08:41 PM |