I am not sure where to put this -
I have a need to print a large amount of tif files using office document image
but I always get the save as and preview dialog for every file - is there a
way to script past this so I can run a contagious print job and automatically
overwrite existing file of the same name(revisions)
any ideas or help greatly appreciated

Re: large scale print to file (.tif) by noone

noone
Wed Nov 22 15:35:49 CST 2006

Il giorno Thu, 9 Nov 2006 05:59:01 -0800, =?Utf-8?B?YWxzdG9ta3A=?=
<alstomkp@discussions.microsoft.com> ha scritto:
>I am not sure where to put this -
>I have a need to print a large amount of tif files using office document image
>but I always get the save as and preview dialog for every file - is there a
>way to script past this so I can run a contagious print job and automatically
>overwrite existing file of the same name(revisions)
>any ideas or help greatly appreciated

Try C:\WINDOWS\kodakprv.exe /p "%1"

You can look for the command used by windows when you select a tif file with the right
button of the mouse.
Open Explorer, choose the tools menu, options, file types, select TIF and then click on
"advanced". See what command is used to "print".

Then you can build a script to shell n times your command.
The following uses irfanview to rotate the selected images. Then rings the bell.

'************************************************
' File: IMG Rotate Right.vbs
' Author: Giovanni Cenati
'
' Ruota una immagine a usando Irfanview
' http://digilander.libero.it/Cenati
' Codice liberamente utilizzabile citando il sito
'************************************************

Set objArgs = WScript.Arguments 'Vedo se ci sono agrogmenti passati allo script
If objargs.count=0 Then 'altrimenti mostro come si usa il programma
msgbox "Trascinare un'immagine sul programma per
ruotarla",vbInformation+vbOkonly,"Ruota immagine a destra by Cenati Giovanni"
wscript.quit
End If

Set WshShell = CreateObject("WScript.Shell")

For i=0 To objArgs.count -1
strFile = objArgs(i) 'questa variabile contiene il nome del file da leggere
WSHShell.Run "c:\programmi\IrfanView\i_view32.exe " & strFile & " /rotate_r
/convert=" & strFile,0,true
Next
wshShell.Run "%comspec% /c echo "&Chr(7), 0, False



--
Giovanni Cenati (Aosta, Italy)
Write to user "Reventlov" and domain at katamail com
http://digilander.libero.it/Cenati (Esempi e programmi in VbScript)
--