PRINT.COM Does Not Print Binary Files (60208)



The information in this article applies to:
    Microsoft MS-DOS operating system 2.11
    Microsoft MS-DOS operating system 3.1
    Microsoft MS-DOS operating system 3.2
    Microsoft MS-DOS operating system 3.21
    Microsoft MS-DOS operating system 3.3
    Microsoft MS-DOS operating system 3.3a
    Microsoft MS-DOS operating system 4.0
    Microsoft MS-DOS operating system 4.01
    Microsoft MS-DOS operating system 5.0

This article was previously published under Q60208

SUMMARY

The MS-DOS PRINT.COM utility does not print binary files properly. It expands tab characters to the appropriate number of space characters, and terminates when it encounters the EOF (CTRL+Z) character.

The PRINT utility was designed to print TEXT files. It has been suggested that we add a command-line switch to allow PRINT to print binary files untranslated. The OS/2 PRINT utility has such a switch, /B.

Modification Type: Major Last Reviewed: 11/26/2003
Keywords: KB60208