The filename, directory name, or volume label syntax is incorrect

Question:

Occationally a warning occurs in my RPM log that states: "Unable to spool file 'C:\Path\To\Filename' 0x7b : The filename, directory name, or volume label syntax is incorrect" and the queue is suspended automatically. What is causing this? And, can I change the behavior of suspending the queue on errors?

Answer:

The usual cause of this error is when RPM running on Windows NT with a "raw" type queue receives a job and tries printing it to a Windows Shared printer, and the PC hosting the printer is turned off, then RPM will hang for a period of time and wait for the printer. Eventually the connection to the printer "times out" and then the warning is logged in RPM. This is because Windows NT spools everything to the remote spooler and if it is unavailable, then it cannot spool it at all.

You can configure RPM to hold the incoming job rather than suspending the queue. In this case, when the host PC for the shared printer comes back up, subsequent jobs coming in will be printed. The existing jobs that were held will need to be unheld manually. To configure RPM for this behavior, here are the instructions:

  1. From the RPM "Queues" menu, choose "Edit Queues..."
  2. Press the "Print Data Options" button.
  3. In the "Other" tab of the "Print Data Options" dialog, uncheck "Suspend queue on printer error".
  4. Press "Apply" and then "OK" and "OK" again to save all changes.

RPM should now hold jobs rather than suspending queues. You will also have the same problem with a "text" queue type, but the message will state: "Can't start document printing 0x7b : The filename, directory name, or volume label syntax is incorrect"

 

Article 514-07

Issue: Error messages
Topic: RPM 2000/NT All

Did this information answer your question?

Your email address (optional):

Please provide additional comments. We welcome your feedback.

Case Studies
Satisfied customers using Brooks' software in their print environments to simplify document workflows.
 
 
IPDS Printing
Print IPDS files to any of your PCL-supported printers for ONLY $495!
 
 
Host to Windows
White Paper  Simple tools for connecting IBM-based data with the Windows® world
 
 
Print to File
RPM writes to disk incoming data from ANY host system, checks for duplicates...
 
 
AS400 Printing
RPM applies all the features of Windows printing to your AS/400 (iSeries / zSeries) spool files
 
 
UNIX to Windows
RPM enhances UNIX print services' ability to customize and control processing