Salve,
è possibile stampare files pdf senza dover aprire acrobat reader (o un qualsiasi altro programma)?
Questo è il codice che sto utilizzando attualmente:
prc = New Process()
With prc
.StartInfo.FileName = pdfFilePath
.StartInfo.Verb = "printto"
.StartInfo.Arguments = Chr(34) + printer + Chr(34)
.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
.StartInfo.UseShellExecute = True
.StartInfo.CreateNoWindow = True
.Start()
End With
Questo codice è all'interno di un ciclo e ad ogni stampa apre una nuova istanza di acrobat reader (anche se non dovrebbe?!)...