Configuring the Auto-print C++ Sample

 

The Auto-print sample can be configured through the Auto Print C++ Sample.ini file.

 

After the Auto-print sample started at first time, the sample creates the INI file in the c:\Users\<User>\AppData\Roaming\Auto-print SDK directory. All users who start the Auto-print sample will have their own INI files in c:\Users\<User>\AppData\Roaming\Auto-print SDK directory. If the INI file in the \AppData\Roaming\Auto-print SDK is damaged or deleted, the sample uses the INI file in the <Auto-print SDK installation folder>\Samples directory which created during the installation.

 

The INI file structure and the available options are the followings:

 

[Printer Settings]

Printer Name=

Printer Profile Name=

[Folder Settings]

Input Folder=

Converted Folder=

Processed Folder=

Failed Folder=

[Log Settings]

Log File=

 

The available options are the same as on the Auto-print sample user interface described above. For example, to configure the Auto-print sample through the INI file as on the screencapture above, the INI file should be the following:

 

[Printer Settings]

Printer Name=Black Ice ColorPlus X1

Printer Profile Name=Display TIFF

[Folder Settings]

Input Folder=C:\Docs_to_convert

Converted Folder=<<USERPROFILE>>\Documents

Processed Folder=C:\Docs_to_convert\Processed

Failed Folder=C:\Docs_to_convert\Failed

[Log Settings]

Log File=C:\Docs_to_convert\Auto-print C++ Sample logfile.txt

 

Fine tuning Auto-print Samples

The Auto-print C#, C++, VB.NET and Service samples timeout interval, printing delay interval and password protection checking can be configured through the BiAutoPrint.ini file for the better document conversion. For more information please refer to Fine tuning Auto-print Samples section.