Knowledge Base

Errors when Using LPR.EXE Command to Print a Zero Byte File

Article ID: 139331

Article Last Modified on 10/31/2006


APPLIES TO


This article was previously published under Q139331

SYMPTOMS

When you use the LPR command from a computer running Windows NT you may receive one of the following errors:

Windows NT 4.0

Error: print server did not accept request. Job aborted.

Windows NT 3.51

Error: data may have been lost. Could not abort job.

CAUSE

These errors occur if you try to send a file to the printer with the LPR command even though the file is empty (is zero bytes in size).

RESOLUTION

To avoid these errors, only use the LPR command on files that contain data.

Additional query words: prodnt

Keywords: kbprint KB139331