-pdfsubject

Top  Previous  Next

-pdfsubject SubjectString

 

The -pdfsubject option sets the Subject field in a PDF file to SubjectString.  This option is only available when acquiring to PDF files.  By default, the Subject string in the PDF file is "None".

 

If SubjectString has embedded spaces, the SubjectString must be surrounded with double quotes:

 

Example:

 

DTWAIN_TwainSave("-F pdf -pdfsubject \"My Subject String\"");

 

Acquires to a PDF file and sets the PDF Subject string in the file to "My Subject String".

 

Note that in the example above, C/C++ escape sequences are used to embed double quotes in the string.  Please consult your language as to the proper way to insert double quotes within quoted strings.

 

Default Setting:

The Subject field is set to "None".