Please enable JavaScript to view this site.

Navigation: Using Win2PDF and Win2Image > Document Settings > Auto-name Files and Configure File Save Naming > Content Based File Naming

Search Word

Scroll Prev Top Next More

To enable the first method, the content search word is specified using the Win2PDF Admin Utility using the "Content Based Naming Search Word" field of the "File Name" tab:

 

Content Based Naming Search Word

Content Based Naming Search Word

 

After setting the search word in the Win2PDF Admin Utility, you can enable the auto-name feature and specify the content based name using the "User Defined" field and manually typing in the variable name %PDFAutoNameContentSearch%:

Auto-name Content Based Naming

Auto-name Content Based Naming

 

To enable the second method, the row, column, and field length are specified in any of the standard registry locations using the DWORD registry settings PDFAutoNameContentRow, PDFAutoNameContentCol, and PDFAutoNameContentLength.  The resulting text field from the document is copied to a variable named %PDFAutoNameContentPosition% that can be specified in the "User Defined" field.

 

The %PDFAutoNameContentSearch% and %PDFAutoNameContentPosition% variables can be combined with any of the other user defined variables to add a date and/or time stamp.

 

As an example, consider a document that contains the following text:

 

 DATE 09 - 05 - 19          SOME COUNTY SHERIFF'S DEPARTMENT

                                     123 Main Street

                                     Anytown, MN 55555

 Doc #: 398277

                                       Affidavit Of Return

 

 Paper #: 194094                To: STATE OF MINNESOTA

 

If we want to name the PDF based on the "Paper #:" field in the PDF, we would use the Win2PDF Admin Utility to set the "Content Based Naming Search Word" to "Paper #:".  After that, we would enable the Auto-name feature, check the "User Defined" option, and set it to %PDFAutoNameContentSearch%.pdf. When the document is printed to the Win2PDF printer, the content based naming feature automatically names the PDF "194094.pdf" based on the contents of the document.

 

If you print a document that does not contain the search word when the content based naming is enabled, the PDF file is named with "%PDFAutoNameContentSearch%" in the file name.

 

See also:

Auto-name Files: Content Based File Naming: Content Field