I have the following code which worked fine until a change of printer drivers. The PDF still opens however will not print (as it used to). Any ideas please ?
Dim prog As String, fn As String
‘find Acrobat
prog = Chr(34) & “C:Program FilesAdobeAcrobat 7.0ReaderAcroRd32.exe” & Chr(34)
‘find the pdf to print
fn = “test.pdf”
‘add quotes
fn = Chr(34) & fn & Chr(34)
‘fire up Acrobat and print
Shell prog & “/p/h ” & fn, vbNormalFocus