Problem
When printing to a Unix spooled printer from Merge Windows or DOS, if any printer type used in DOS, a DOS application, or Windows application (other than "standard/text") is chosen, the output is garbled and/or single extended ASCII characters are printed or the printer outputs many blank pages.
-- or --It isn't possible to print graphics or fonts from Merge Windows applications to a Unix spooled printer.
-- or --When printing with a Merge DOS application, such as Word Perfect 5.x (using a Word Perfect printer interface script), the output is garbled, single extended ASCII characters are printed, or the printer outputs many blank pages.
Cause
Text sent to the Unix spooled printer from a Merge DOS or Windows
application is being processed twice, first by the "Printer Type"
selected for Merge DOS or Windows and then by the printer
interface script used by the Unix spooler. This causes extra
extended ASCII characters that are normally sent as printer commands
or code, to be interpreted by the printer as printable characters. Solution
Before proceeding, ensure that printing to a Unix spooled printer
works properly. Note the Unix printer name assigned to that printer.NOTE: The steps below will only work with a Unix printer interface
script that supports passing a print job through the spooler with
the "raw" option. Most HP Unix printer interface scripts, as well
as most laser printer interface scripts, support the "raw" switch.Make sure the printer type chosen for the DOS or Windows application
has the latest DOS or Windows drivers for that printer. Contact the
printer manufacturer for that information, if necessary.To set a Unix spooled printer as DOS LPT1, either edit C:/autoexec.bat for an individual user, or edit the system wide autoexec.bat with the following new line:
printer LPT1 Unix "lp -d<Unix_spooled_printer_name> -oraw"where "<Unix_spooled_printer_name>" is the name assigned for the Unix spooled printer.
If other DOS LPT ports are to be used, modify the above example by changing "LPT1" to the appropriate entry.
Merge/Windows users can now print all fonts and graphics for the "Printer Type" supplied by the Windows Printer driver.
In a DOS application, simply choose a printer type that will work with the Unix spooled printer and use DOS LPT1 or whatever port is configured in autoexec.bat.
NOTE: If the printer type in Windows is any HP LaserJet model, choose
LPT1.DOS as the "Connect-->Port" in the Windows Control Panel
Printers Configuration icon. If that port is not chosen, attempting
to print to an HP LaserJet printer will return a printer error of
"Out of paper", "Printer Off-line" or "Cartridge not chosen".