
Signature
Regards,
Glen Millar
Microsoft PPT MVP
Tutorials and PowerPoint animations at
www.pptworkbench.com
glen at pptworkbench dot com
Please tell us your PowerPoint / Windows version,
whether you are using vba, or
anything else relevant
I am using vba code for this
here is the code
Sub Create_PDF_of_NotesView()
Dim filePath As String
filePath = "C:\Documents and Settings\test_pdf\"
On Error GoTo Hell
' Dim app As Object
' Dim aPresentation As Presentation
' Dim strFilePath As String
'
'p.PrintOptions.ActivePrinter = "Adobe PDF"
With p.PrintOptions
.RangeType = ppPrintAll
.NumberOfCopies = 1
Debug.Print p.PrintOptions.ActivePrinter
.Collate = msoTrue
.OutputType = ppPrintOutputNotesPages
.PrintHiddenSlides = msoTrue
.PrintColorType = ppPrintColor
.FitToPage = msoFalse
.FrameSlides = msoFalse
.ActivePrinter = "Adobe PDF"
End With
' p.PrintOut -1, -1, filePath, 1, msoCTrue
p.PrintOut PrintToFile:=filePath
Regards,
Venkat
> Hi,
>
[quoted text clipped - 32 lines]
> > Best regards,
> > Venkat
Steve Rindsberg - 25 Aug 2006 04:43 GMT
You don't mention the specific error message but it's probably because of this:
> p.PrintOut PrintToFile:=filePath
You don't want to force PPT to print to file; that will confuse things when
printing to Adobe PDF.
I'd check on the Adobe User to User forum for info on printing w/o any prompt
for filenames.
> > > I had written a macro for converting PPT files to PDF Files.
> > > I am getting Printing error while printing .ppt files to pdf files
[quoted text clipped - 8 lines]
> > > Best regards,
> > > Venkat
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================