VMS Help  —  SET  PRINTER
    Establishes the characteristics of a specific line printer. The
    default values listed for qualifiers to the SET PRINTER command
    are the defaults for an initially bootstrapped system.

    Requires OPER (operator) privilege. If the printer is a spooled
    device, LOG_IO (logical I/O) privilege is required to modify its
    characteristics.

    Format

      SET PRINTER  printer-name[:]

1  –  Parameter

 printer-name[:]

    Specifies the name of a line printer to set or modify its
    characteristics.

2  –  Qualifiers

2.1    /CR

       /CR
       /NOCR (default)

    Controls whether the printer driver outputs a carriage return
    character. Use this qualifier for printers on which line feeds do
    not imply carriage returns.

    Specify the /NOCR qualifier for printers where the line feed,
    form feed, vertical feed, and carriage return characters empty
    the printer buffer. The /NOCR qualifier causes carriage return
    characters to be held back and output only if the next character
    is not a form feed or vertical tab. Carriage return characters
    are always output on devices that have the carriage return
    function characteristic set.

2.2    /FALLBACK

       /FALLBACK
       /NOFALLBACK (default)

    Determines whether the printer attempts to translate characters
    belonging to the DEC Multinational character set into 7-bit
    equivalent representations. If a character cannot be translated,
    an underscore (_)  character is substituted.

    If the /PASSALL qualifier is in effect, it has precedence over
    the /FALLBACK qualifier.

2.3    /FF

       /FF (default)
       /NOFF

    Indicates whether the printer performs a mechanical form feed.
    Use the /NOFF qualifier when the printer does not automatically
    perform mechanical form feeds. This qualifier allows the driver
    to convert form feeds into multiple line feeds and to output
    them.

2.4    /LA11

    Specifies the printer as an LA11. This qualifier provides
    information for the SHOW PRINTER command, which, in turn,
    provides the user with information about specific printers. If
    no printer type is specified, LP11 is assumed.

2.5    /LA180

    Specifies the printer as an LA180. This qualifier provides
    information for the SHOW PRINTER command, which, in turn,
    provides the user with information about specific printers. If
    no printer type is specified, LP11 is assumed.

2.6    /LOG

       /LOG
       /NOLOG (default)

    Determines whether information confirming the printer setting is
    displayed at the terminal from which the SET PRINTER command was
    entered.

2.7    /LOWERCASE

       /LOWERCASE
       /NOLOWERCASE

    Indicates whether the printer prints both uppercase and lowercase
    letters or only uppercase. When the operator specifies the
    /NOLOWERCASE qualifier, all letters are translated to uppercase.

    The /[NO]LOWERCASE and /[NO]UPPERCASE qualifiers are
    complementary; that is, the /LOWERCASE qualifier is equivalent
    to the /NOUPPERCASE qualifier, and the /NOLOWERCASE qualifier is
    equivalent to the /UPPERCASE qualifier.

2.8    /LP11

       /LP11 (default)

    Specifies the printer as an LP11. This qualifier provides
    information for the SHOW PRINTER command, which, in turn,
    provides the user with information about specific printers. LP11
    is the default printer type.

2.9    /PAGE

       /PAGE=lines-per-page

    Establishes the number of lines per page on the currently
    installed form; the number of lines can range from 1 to 255 and
    defaults to 64. The printer driver uses this value to determine
    the number of line feeds that must be entered to simulate a form
    feed.

2.10    /PASSALL

       /PASSALL
       /NOPASSALL (default)

    Controls whether the system interprets special characters or
    passes them as 8-bit binary data.

    If you specify the /PASSALL qualifier, the printer driver does
    not expand tab characters to spaces, fill carriage return or line
    feed characters, or recognize control characters.

2.11    /POLLED

       /POLLED
       /NOPOLLED (default)

    Instructs the LRDRIVER to run in polled mode instead of interrupt
    mode.

    In polled mode, the printer is checked on a regular basis to
    determine if it is ready to receive additional data. The polling
    timer runs only while there is more data to be sent to the
    printer.

2.12    /PRINTALL

       /PRINTALL
       /NOPRINTALL (default)

    Controls whether the line printer driver outputs printable 8-bit
    multinational characters.

2.13    /RESET

    Resets the USB pipe associated with the USB printer, thereby
    canceling all print jobs.

2.14    /TAB

       /TAB
       /NOTAB (default)

    Controls how the printer handles TAB characters. The /NOTAB
    qualifier expands all tab characters to spaces and assumes tab
    stops at 8-character intervals.

    Use the /TAB qualifier when you do not want the system to
    convert tabs to spaces, but want the printer to process the tab
    characters. The OpenVMS system requires that printers expand tabs
    at 8-character intervals.

2.15    /TRUNCATE

       /TRUNCATE (default)
       /NOTRUNCATE

    Controls whether the printer truncates data exceeding the value
    specified by the /WIDTH qualifier. Note that the /TRUNCATE and
    /WRAP qualifiers are incompatible.

2.16    /UNKNOWN

    Specifies the printer as nonstandard. This qualifier provides
    information for the SHOW PRINTER command, which, in turn,
    provides the user with information about specific printers. If
    no printer type qualifier is specified, LP11 is assumed.

2.17    /UPPERCASE

       /UPPERCASE
       /NOUPPERCASE

    Indicates whether the printer prints both uppercase and lowercase
    letters or only uppercase ones. When you specify the /UPPERCASE
    qualifier, all letters are translated to uppercase.

    The /[NO]UPPERCASE and /[NO]LOWERCASE qualifiers are
    complementary; that is, the /UPPERCASE qualifier is equivalent
    to the /NOLOWERCASE qualifier, and the /NOUPPERCASE qualifier is
    equivalent to the /LOWERCASE qualifier.

2.18    /WIDTH

       /WIDTH=n

    Establishes the number of characters per output line on currently
    installed forms. The width, n, can range from 0 to 65535 for LP11
    controllers, and from 0 to 255 for DMF32 controllers. The default
    value is 132 characters per line.

2.19    /WRAP

       /WRAP
       /NOWRAP (default)

    Controls whether the printer generates a carriage return and a
    line feed when it reaches the end of a line.

    If the /NOWRAP qualifier is specified, the printer writes
    characters out in the last position on the line.

    If the /WRAP qualifier is specified, the terminal generates a
    carriage return and a line feed whenever the end of a line is
    reached.

    Note that the /TRUNCATE and /WRAP qualifiers are incompatible.

3  –  Examples

    1.$ SET PRINTER/PAGE=60/WIDTH=80  LPA0:

      The SET PRINTER command in this example establishes the size
      of an output page as 60 lines and the width of a line as 80
      characters for printer LPA0.

    2.$ SET PRINTER/LA11  LPB0:

      The SET PRINTER command in this example establishes the line
      printer LPB0 as an LA11 printer.

    3.$ SET PRINTER/LOWERCASE LPA0:

      The SET PRINTER command in this example requests that lowercase
      printing be enabled on line printer LPA0.
Close Help