graphics(CMD) 19 June 1992 graphics(CMD) Name graphics - load a program into memory to print using a color or graphics adapter Syntax graphics [type] [[drive:]path] [filename] [/r] [/b] [/lcd] [/printbox:std|/printbox:lcd] Description The graphics command supports the CGA, EGA, and VGA graphics display modes. Parameters type Specifies the type of printer. The following list shows each valid value for this parameter and 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 con- tains information about all supported printers. If this parame- ter 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/printbox:lcd Selects the print-box 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. Notes Printing the contents of the screen To print the contents of the screen, press the ShiftPrint Screen key com- bination. If the computer is in 320 x 200 color graphics mode and if the printer type is color1 or graphics, the graphics command prints the screen contents with as many as four shades of gray. If the computer is in 640 x 200 color graphics mode, graphics prints the screen contents sideways on the paper (landscape orientation). You cannot use the Shift- Print Screen key combination to print the contents of a screen to a PostScript printer. Effect on memory The graphics command decreases the amount of available conventional mem- ory. Loading a new profile If you have already loaded a printer profile and you want to load another one by using the graphics command, the new profile must be smaller than the one already loaded. To load a new profile that is larger than the one currently loaded, you must restart your system and then use the graphics command to load the new profile. If you try to use only the graphics command to load a new profile that is larger than the currently loaded profile, MS-DOS displays the following message: Unable to reload with profile supplied Example To prepare to print a graphics screen on your printer, type the following command: graphics After you display the information you want to print, press ShiftPrint Screen. MS-DOS scans the information displayed on the screen and sends it to the printer. Related command For information about printing text files, see the print(CMD) command.