Bonjour/soir, après plusieurs recherche sur internet j'ai trouver comme imprimer de différentes façon, moi je me sert du process:
Seul problème je voudrait que je voudrais que les PDF (car oui ce n'est toujours que des pdf) qui sont cocher et qui commence par ET4 s'imprime en paysage... comment faire ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 'Pour chaque items cocher on imprime For Each checkeditems In ClbPdf.CheckedItems Dim p As New Process p.StartInfo.UseShellExecute = True p.StartInfo.Verb = "PrintTo" p.StartInfo.FileName = CheminArchive + checkeditems p.StartInfo.Arguments = CbxImprimante.SelectedItem p.StartInfo.CreateNoWindow = True p.StartInfo.WindowStyle = ProcessWindowStyle.Minimized p.Start() Next MessageBox.Show("Fichier PDF imprimer et archiver avec sucés.")
Merci d'avance pour vos réponses.
Partager