Microsoft KB Archive/47744

DOS Copy or Print Command Gives Incomplete Printout with Word

PSS ID Number: Q47744 Article last modified on 11-02-1994

4.00 5.00

MS-DOS

= SUMMARY =

When using the DOS Copy command to send a print file to a printer, the printout can occasionally be incomplete. This commonly occurs if a graphics image has been included in the file; the printout stops while printing the graphic image.

This problem occurs when an End-of-File (EOF) character (ASCII character 26) follows the graphic image in the file. Both the DOS Print command and the DOS Copy command stop sending data at the first End-of-File character. Consequently, if the graphic image contains an End-of-File character, the printout stops.

To work around this problem, use the /b switch (binary) with the DOS Copy command. For example, to copy PRINT.TXT to the first parallel printer, type the following command at the DOS prompt:

COPY PRINT.TXT /B PRN

KBCategory: kbother kbgraphic KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.