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



The information in this article applies to:

  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0

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.

Modification Type:MajorLast Reviewed:9/7/2001
Keywords:kbprint KB139331