SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

POSTSCRIPT DEFAULT COLOR (SET)

Name:
    POSTSCRIPT DEFAULT COLOR (SET)
Type:
    Set Subcommand
Purpose:
    Specify whether Postscript devices default to black and white or to color.
Description:
    Postscript devices can be either black and white or color. Since many Postscript printers are black and white, Dataplot initializes Postscript devices as black and white when the

      DEVICE <1/2/3> POSTSCRIPT

    command is entered. After entering this command, you can then specify that the Postscript device command is color by entering the command

      DEVICE <1/2/3> COLOR ON

    Although this works well enough for DEVICE 2 output, it is problematic for DEVICE 3 output. The DEVICE 3 output contains the most recent graph only (by default, in Postscript format). The PP command is used within Dataplot to print this DEVICE 3 output on the default printer. Dataplot automatically opens and closes DEVICE 3 as needed without any explicit commands entered by the user. This makes it difficult to know the appropriate time to enter the DEVICE 3 COLOR ON command and cumbersome even if you can figure out when to enter the command.

    For this reason, we have added the SET POSTSCRIPT DEFAULT COLOR command to specify whether the default for Postscript devices should be black and white or color. Although this command was motivated by the DEVICE 3 command, it applies to DEVICE 1 POSTSCRIPT and DEVICE 2 POSTSCRIPT commands as well.

Syntax:
    SET POSTSCRIPT DEFAULT COLOR <ON/OFF>
    where <ON> specifies that Postscript devices will default to color and <OFF> specifies that they will default to black and white.
Examples:
    SET POSTRSCRIPT DEFAULT COLOR ON
    SET POSTRSCRIPT DEFAULT COLOR OFF
Default:
    The default is OFF (i.e., Postscript devices default to black and white).
Synonyms:
    None
Related Commands: Applications:
    Graphics Output
Implementation Date:
    2004/6
Program:
     
    SET POSTSCRIPT DEFAULT COLOR ON
    DEVICE 2 POSTSCRIPT
    LINE COLOR BLUE
    PLOT SIN(X) FOR X = -6  0.1  6
    PP
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 07/14/2004
Last updated: 11/04/2015

Please email comments on this WWW page to alan.heckert@nist.gov.