J'ai un script VBS sympa et bien rangé qui imprime les 5 premières pages de tous les documents qui ont été déplacés vers ce VBS.ADOBE VBS Configuration du script/paramètres
set WshShell = CreateObject ("Wscript.Shell")
set fs = CreateObject("Scripting.FileSystemObject")
Set objArgs = WScript.Arguments
if objArgs.Count < 1 then
msgbox("Please drag a file on the script")
WScript.quit
end if
'contact Acrobat
Set gApp = CreateObject("AcroExch.App")
gApp.show 'comment or take out to work in hidden mode
'open via Avdoc and print
for i=0 to objArgs.Count - 5
FileIn = ObjArgs(i)
Set AVDoc = CreateObject("AcroExch.AVDoc")
If AVDoc.Open(FileIn, "") Then
Set PDDoc = AVDoc.GetPDDoc()
Set JSO = PDDoc.GetJSObject
jso.print false, 0, 0, true
gApp.CloseAllDocs
end if
next
gApp.hide : gApp.exit : Quit()
MsgBox "Done!"
Sub Quit
Set JSO = Nothing : Set PDDoc = Nothing : Set gApp =Nothing : Wscript.quit
End Sub
Mes questions concernent les paramètres.
Je voudrais savoir comment configurer que cette VBS imprimera d'abord 6 pages en recto-verso, et ainsi de suite. Est-ce quelque part il y a une liste de paramètres disponibles?
Pourriez-vous utiliser la méthode appropriée sur l'interface AVDoc? http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat9_HTMLHelp&file=IAC_API_OLE_Objects.103.33.html –
Quelle méthode permet d'imprimer en double face? Je ne peux voir qu'une seule impression. – Denis
Que pensez-vous de cela? https://forums.adobe.com/message/6018827#6018827 –