Graphics

Loads a program into memory that allows Windows 2000 to print on a printer the displayed contents of the screen when you are using a color or graphics adapter.

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 a brief description of its meaning:

Parameter Description
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
quietjetplu 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, Windows 2000 looks for a file called Graphics.pro in the current directory and in the directory that contains the Graphics.com file.

/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 | /printbox:lcd

Selects the printbox size. You can abbreviate printbox as pb. You should check the first operand of the printbox statement in your Graphics.pro file and specify the /printbox:std switch if that operand is std or the /printbox:lcd switch if that operand is lcd.

Windows 2000 Command Reference Main Page

Print

Graphics Notes

Graphics Example