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

PRINTFILE

Name:
    PRINTFILE
Type:
    Support Command
Purpose:
    Print an ASCII file.
Description:
    This is an operating system dependent command.

    On Windows 7/8/10 platforms, the printing is invoked with the command

      write.exe -p <filename>

    This command uses WordPad to print the file. Note that Wordpad can print RTF formatted files and some Microsoft Word formatted files (this can depend on what versions of Word and WorPad you have installed). Currently, no provision is made for a non-default printer.

    On Linux/Unix and MacOS platforms, the printing is invoked with the command

      lpr <filename>

    If you have specified the printer name with the SET PRINTER command, then the following command is used

      lpr -P
Syntax:
    PRINTFILE <file1>
    where <file1> is the name of the file to print.

    In order to avoid conflict with the PRINT command, PRINTFILE cannot be abbreviated. Only the first 8 characters are evaluated, so a match up to PRINTFIL is succifient.

Examples:
    PRINTFILE BERGER1.DAT
Note:
    This command requires that the SYSTEM capability is supported. This should be the case for all currently supported platforms.
Default:
    None
Synonyms:
    None
Related Commands:
    PP = Print the current plot to a Postscript printer.
    COPY = Copy a file to another file.
    LIST = Print the contents of the file.
    SEARCH = Search a file for a given string.
    EDIT = Edit a file.
    SYSTEM = Perform an operating system command.
Applications:
    Interactive Usage
Implementation Date:
    2019/03:
Program:
     
    SKIP 25
    READ BERGER1.DAT Y X
    SET WRITE DECIMALS 4
    CPATURE BERGER1.OUT
    FIT Y X
    END OF CAPTURE
    PRINTFILE BERGER1.OUT
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 03/15/2019
Last updated: 03/15/2019

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