Are you trying to print to a file? The first parameter is the output file. (I am using Visual Basic, so I'm not sure if the parameter list is the same for you.) Try dropping the C://Europe.ptm. This is the code I am using in Visual Basic, where MPC is the MapPoint control on my form:
Code:
Friend Sub PrintMap()
If SetPrinterProperties(Me.hwnd) = True Then
MPC.ActivePrinter = Printer.DeviceName
MPC.ActiveMap.PrintOut , "Test", , geoPrintMap, _
geoPrintQualityDraft, geoPrintAuto
End If
Exit_:
Exit Sub
HandleError:
GoTo Exit_
End Sub
I am setting the default printer for the application then providing a print dialog that sets the printer options. You can ignore the SetPrinterProperties function. I was using that to allow the user to select a printer.