FreeDOS help system (hhstndrd 1.0.8 en)[printer]

Command: printer.sys

PRINTER.SYS provides codepage management capabilities for a printer driver. PRINTER.SYS has to be loaded in CONFIG.SYS / FDCONFIG.SYS. When FreeDOS is already running, you can load PRINTER.SYS later with DEVLOAD.

Syntax:

printer [devname][:]=([hardwaretype],[{n|(n1,[n2,]...)}],[m])

Options:

devname Name of the printer port device which is going to be expanded, such as PRN or LPTx. The colon is optional. hardwaretype The identifier of the hardware display adapter type. It may also determine the number of subfonts to use. There are not supported types yet. n, n1, n2,.. Numbers for the codepage numbers of the hardware codepages. m Number of buffers that you want to specify to prepare codepages (default is 1)

Comments:

This driver has not yet a binary form, because no specific printer hardware management has been yet added (you can compile both PRINTER.SYS or DISPLAY.SYS from the sources of DISPLAY).

Examples:

When PRINTER.SYS has some hardware support, you'll be able to do: PRINTER PRN=(IBMPro,437,1) You specify that you have an IBM Proprinter compatible printer, with hardware codepage 437, and request only 1 buffer, in order to minimise resident memory footprint.

See also:

chcp devload display print printq ------------------------------------------------------------------------------ Copyright (C) Aitor SANTAMARIA MERINO, updated 2008 by W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.