Symantec.com > Norton > Support > Solutions Library


How to print from a DOS-based program on a Windows 9x/Me host to a remote printer

Situation:
You have connected to a Windows 95, 98, 98SE or Windows Millennium (Me) host, and you need to know how to print from a DOS-based application on the host to the printer connected to the remote computer.

Solution:


Before you begin:
Unlike Windows-based applications, DOS-based programs may access the printer by whatever means the programmer chose. The majority of programs will attempt to print to either LPT1 or PRN. However, other programs may attempt to print directly to the hardware or through a printer driver that is part of the application (such as WordPerfect). These programs will not print remotely. There is no resolution to this problem. The only workaround is to print to a file--if the application will allow it. If it does, print to a file, transfer that file to the remote computer and print it there.

Due to this limitation, Symantec is unable to provide technical support related to problems printing remotely from DOS-based programs.



When you print from a DOS-based application on a Windows 9x host, Windows intercepts the print job destined for the printer port and places it into a spool file. At the same time, pcAnywhere monitors the LPT and PRN printer ports. When it detects output destined for those ports, it captures the spool file and sends the print job to the remote computer.


Note: For remote printing from DOS based applications on the host, the printer must be configured to LPT1 on the host. For remote printing from Windows based applications on the host, the printer must be configured to pcaw.prn on the host computer.



Configuration (this is done at the Host)
Because pcAnywhere is monitoring printer ports, there is no need to install a printer that is connected to pcaw.prn. Any existing printer assigned to LPT1 or PRN will do; however, you may need to reconfigure the port properties of that printer.

Troubleshooting (this is done at the Host)
Printing from DOS applications on Windows NT hosts
This capability is not supported by pcAnywhere, but the technique is documented in How to print from a DOS-based program on a Windows NT or Windows 2000 host to a remote printer.


Cautions about versions
Only pcANYWHERE32 versions 8.02 and higher will successfully remote print from a DOS application on a Windows 9x/Me host.


References:
Other remote printing documents
Remote printing from Windows applications
Remote printing from a pcANYWHERE 2.0 or pcANYWHERE 5.0 host

 

Available Translations:



Document ID: 1999111116163612
Last Modified: 03/20/2008
Date Created: 11/11/1999
Operating System(s): Windows 95, Windows 98, Windows 98SE, Windows Me
Product(s): pcAnywhere 10.0, pcAnywhere 10.5, pcAnywhere 11.0, pcAnywhere 9.0, Symantec pcAnywhere for ON iCommand