GRAPHICS
Loads a program into memory that allows MS-DOS to print the information
displayed on your screen. Use the GRAPHICS command only if you are using a
color or graphics adapter.
The GRAPHICS command supports the CGA, EGA, and VGA graphics display modes.
Syntax
GRAPHICS [type] [[drive:][path]filename] [/R] [/B] [/LCD]
[/PRINTBOX:STD|/PRINTBOX:LCD]
Parameters
type
Specifies the type of printer. The following list shows each valid value
for this parameter and gives a brief description of its meaning:
COLOR1
An IBM Personal Computer Color Printer with black ribbon
COLOR4
An IBM Personal Computer Color Printer with RGB (red, green, blue,
and black) ribbon
COLOR8
An IBM Personal Computer Color Printer with CMY (cyan, magenta,
yellow, and black) ribbon
HPDEFAULT
Any Hewlett-Packard PCL printer
DESKJET
A Hewlett-Packard DeskJet printer
GRAPHICS
An IBM Personal Graphics Printer, IBM Proprinter, or IBM Quietwriter
printer
GRAPHICSWIDE
An IBM Personal Graphics Printer with an 11-inch-wide carriage
LASERJET
A Hewlett-Packard LaserJet printer
LASERJETII
A Hewlett-Packard LaserJet II printer
PAINTJET
A Hewlett-Packard PaintJet printer
QUIETJET
A Hewlett-Packard QuietJet printer
QUIETJETPLUS
A Hewlett-Packard QuietJet Plus printer
RUGGEDWRITER
A Hewlett-Packard RuggedWriter printer
RUGGEDWRITERWIDE
A Hewlett-Packard RuggedWriterwide printer
THERMAL
An IBM PC-convertible Thermal Printer
THINKJET
A Hewlett-Packard ThinkJet printer
[drive:][path]filename
Specifies the location and name of the printer profile that contains
information about all supported printers. If this parameter is omitted,
MS-DOS looks for a file called GRAPHICS.PRO in the current directory and
in the directory that contains the GRAPHICS.COM file.
Switches
/R
Prints the image as it appears on the screen (white characters on a
black background) rather than reversed (black characters on a white
background). The latter occurs by default.
/B
Prints the background in color. This switch is valid for COLOR4 and
COLOR8 printers.
/LCD
Prints an image by using the liquid crystal display (LCD) aspect ratio
instead of the CGA aspect ratio. The effect of this switch is the same
as that of /PRINTBOX:LCD.
/PRINTBOX:STD or /PRINTBOX:LCD
Selects the print-box size. Check the first operand of the PRINTBOX
statement in your GRAPHICS.PRO file. If that operand is STD, specify the
/PRINTBOX:STD switch. If that operand is LCD, specify the /PRINTBOX:LCD
switch. You can abbreviate PRINTBOX as PB.
Related Command
For information about printing text files, see the <PRINT> command.
|