CTRL+D EOF Character in PostScript Print Job May Cause Error

Article translations Article translations
Article ID: 81637 - View products that this article applies to.
This article was previously published under Q81637
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SUMMARY

When you use a Windows-supported driver, PostScript-generated output always starts and ends with a CTRL+D (ASCII 04) key sequence.

CTRL+D is an end-of-file (EOF) reset code used to ensure that the printer is set correctly for the next print job. However, this character can cause a job not to print through UNIX-based networks (for example, Banyan VINES, AT&T Star Group, and Sun) and other printing-control software.

MORE INFORMATION

Follow the appropriate procedure below to allow your print job to finish.

Windows 3.1 and 3.11

  1. Edit the WIN.INI file [ModelName,Port] section with an ASCII text editor, such as Windows Notepad.

    NOTE: When you install a PostScript printer for the first time, you must go into Printer Setup in Control Panel for this setting to work correctly. Simply installing the printer is not enough. The [ModelName,Port] section is not written into the WIN.INI file until you choose the Setup button in the Printers area of Control Panel.
  2. Add the following:
    CTRLD=0
    NOTE: The Options menu in the PostScript printer driver allows you to create encapsulated PostScript (EPS) files. These files do not contain CTRL+D characters. EPS files do not contain any of the printer-specific instruction codes, which are sometimes necessary, that a PostScript file does. EPS files are primarily intended to be graphics or other output that is imported into another application and not printed directly.

Windows 3.0 and 3.0a

The only way to eliminate the CTRL+D character from the PostScript file is to create a PRN file, then load it into a text editor and manually remove the character.

Properties

Article ID: 81637 - Last Review: February 27, 2014 - Revision: 2.2
APPLIES TO
  • Microsoft Windows 3.0 Standard Edition
  • Microsoft Windows 3.1 Standard Edition
  • Microsoft Windows 3.11 Standard Edition
Keywords: 
kbnosurvey kbarchive KB81637

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com