PDFtypewriter's PDF Printer Driver can be configured through a proprietary Application Programming Interface (API).
 
This API is manipulated via the Windows Registry.

 
All printer API parameters are placed in the Windows Registry Key:
HKEY_CURRENT_USER\Software\CTdeveloping\PDFtypewriter\Printer
 
The following values can be set:
|
Name
|
Type
|
Value
|
|
AutoSave
|
REG_SZ
|
0 = The printer driver will prompt for a location to save output (default)
1 = The printer driver will automatically save output to it to a single file as specified by the SavePath value and the other API settings
2 = The printer driver will automatically save output to it to a single folder as specified by the SaveFolder value and the other API settings
|
|
AutoSaveOne
|
REG_SZ
|
0 = Typical value (default)
1 = If AutoSave > 0, AutoSave will be set to 0 upon completion of the AutoSave.
|
|
Quit
|
REG_SZ
|
0 = Typical value (default)
1 = Set to 1 if the PDFtypewriter PDF Printer Driver monitor should gracefully close itself and exit.
|
|
SavePath
|
REG_SZ
|
If AutoSave = 1, a string which is the full file path to which an output PDF will be saved
|
|
SaveFolder
|
REG_SZ
|
If AutoSave = 2, a string which is the full folder path into which an output PDF will be saved. The file name will be automatically determined by other API settings.
|
|
AutoName
|
REG_SZ
|
0 = Typical Value (default). If AutoSave = 2, the date only will be used in naming the output PDF file
1 = The date as well as the printer's printing job name will be used in naming the output PDF file
|
|
AppendFile
|
REG_SZ
|
0 = Typical Value (default). PDF file is simply the single file output
1 = If a file exists at the output PDF file path, the output will be appended to the end of the existing file
|
|
ReplaceFile
|
REG_SZ
|
0 = The output file will not overwrite any existing PDF file
1 = Typical Value (default). The output file will replace any existing file.
|
|
DoAfter
|
REG_SZ
|
0 = Typical Value (default), no action
1 = If AutoSave > 0, Execute the value of DoAfterPath upon completion of PDF creation. %1 will be replaced with the full path of the created PDF file.
2 = If AutoSave > 0, Open the recently created PDF file in PDFtypewriter
|
|
DoAfterPath
|
REG_SZ
|
If DoAfter = 1, the path which will be executed upon completion of creation of the PDF file. If this path contains %1, it will be replaced with the full path of the recently created files. This can be used to print or open the PDF file in 3rd party applications.
|
|
ShowPreview
|
REG_SZ
|
0 = No preview will be shown in the user interface
1 = Preview will be shown (default)
|
|
Signature
|
REG_SZ
|
0 = Typical Value (default)
1 = Before AutoSaving a PDF, a signature must be obtained and added to the PDF file from a Topaz Signature Device
|
|
SignatureP
|
REG_SZ
|
Page to which signature should be added. A value of 0 indicates the last page in the PDF
|
|
SignatureX
|
REG_SZ
|
X coordinate on the specified page of where the signature will be added
|
|
SignatureY
|
REG_SZ
|
Y coordinate on the specified page of where the signature will be added
|
|
SignatureW
|
REG_SZ
|
Width of the signature which will be added
|
|
SignatureH
|
REG_SZ
|
Height of the signature which will be added
|
 
The following values can be monitored:
|
Name
|
Type
|
Value
|
|
Status
|
REG_SZ
|
0 = The printer driver is is use
1 = PDFtypewriter completed successfully
-1 = PDFtypewriter completed with error
|
|
LastSavedPath
|
REG_SZ
|
The full file path of the last file saved
|
|
Path
|
REG_SZ
|
The full file path of the PDFtypewriter Printer Monitor exe
|