Printer Driver does not generate any output when the filename exceeds the 260 character limit

 

In some cases the name of the output filename might exceed the 260 character limit that is allowed by Windows. Generally the filename is checked by the user interface and the user is warned if the filename or output directory is not valid or too long, but in some cases, the Printer Driver has to append a suffix to the filename at the last stages of printing (e.g: document name received from the application, page numbering, date and time of printing, etc.) when this happens, the Printer Driver cannot interact with the user because of the limitations of the Windows Printing Architecture. The Printer Driver cannot indicate the error in the Group File either, because the name of the Group File is generated from Output File name so the Group File name is just as long as the Output File name. In these cases the error is indicated in two places:

 

1.    In the Windows Event Viewer

Open the Event Viewer application and navigate to Windows Logs / Application. An error is generated by the driver, the “Source” field of the error entry is set to the name of the Printer that generated the error, and the following message is included with the event:

 

Filename is longer than 260 characters: C:\1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901245678\File_with_long_file_name.TIF

 

2.    In the bi_group.ini file

The default location of this file is: c:\Windows\Temp\bi_group.ini.

 

[Black Ice ColorPlus]

Print status=Filename is longer than 260 characters: C:\1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901245678\File_with_long_file_name.TIF