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

ID: Q139331


The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.51, 4.0
  • Microsoft Windows NT Server versions 3.51, 4.0


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 ntprint NTSrvWkst
Version : 3.51 4.0
Platform : winnt
Issue type :


Last Reviewed: January 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.