Article ID: 150930 - Last Review: February 21, 2007 - Revision: 3.4 LPD server adds and prints control codesThis article was previously published under Q150930 On This PageSYMPTOMS When a formatted job prints from a line printer remote
(LPR) client to a Windows NT computer that is running the Line Printing Daemon
(LPD) services, PCL or PostScript codes are printed instead of a properly
formatted document. RESOLUTION The LPD service can be reconfigured to ignore the format
control command from the LPR client and always assign the RAW data type. Use one
of the appropriate sections below to reconfigure the LPD service. Configuring SimulatePassThrough for all printers in Windows XP Professional and Windows Server 2003To assign the RAW data type regardless of the control file contents in Windows XP Professional and in Windows Server 2003, follow these steps.Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
Configuring SimulatePassThrough for all printers in Windows NT 4.0 and Windows 2000To assign the RAW data type regardless of the control file contents in Windows NT 4.0 and Windows 2000, do the following:WARNING: Using Registry Editor incorrectly can cause serious, system- wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
Configuring SimulatePassThrough in Windows NT 3.51In Windows NT 3.51 the code looks for a registry setting in the LPD key instead of the LPDSVC key. You can work around this problem by creating an LPD key at the same level as the LPDSVC key and then duplicating the information in the LPDSVC key to the LPD key.For Windows NT 3.51 to assign the RAW data type, regardless of the control file contents, do the following: WARNING: Using Registry Editor incorrectly can cause serious, system- wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
MORE INFORMATION The Windows NT LPD Service follows the RFC1179
specification. This states that the LPR client must tell the LPD server how to
handle the print job. If the client formats the job, it must send the "l"
control character to instruct the LPD server to print the job without any
alteration. Some LPR clients cannot be configured to send different control characters and always send an "f". This control character instructs Windows NT to assign a data type of TEXT and to use the printer driver to create a new print job that prints the text of the original job on the page. In the case of a postscript job, the new print job prints the original job's PostScript code on the page. For additional information, please see the following articles in the Microsoft Knowledge Base: 124735 (http://support.microsoft.com/kb/124735/EN-US/ ) How Windows NT LPD server implements LPR control characters 132460 (http://support.microsoft.com/kb/132460/EN-US/ ) Troubleshooting Windows NT print server alteration of print jobs 168457 (http://support.microsoft.com/kb/168457/EN-US/ ) Configuring individual printers to passthrough LPR print jobs APPLIES TO
| Article Translations
|

Back to the top
