The example below demonstrates using client-side in DominoPDF.
Declare Function DoPDF Lib "DOMINOPDF.DLL" (Byval szInput As String, Byval szOutput As String, Byval szOptions As String) As Long
Sub Initialize
Dim oSession As New NotesSession
Dim oDB As NotesDatabase
Dim sOptions As String
Set oDB = oSession.CurrentDatabase
sOptions = "Database=" & oDB.FileName & ";"
sOptions = sOptions & "LeftMargin=10;"
sOptions = sOptions & "TopMargin=10;"
sOptions = sOptions & "AutoLaunch=True;"
Call DoPDF(|Select Form = "Memo"|, "memo.pdf", sOptions)
End Sub