HELPLIB.HLB  —  RTL Routines, SMG$  SMG$SNAPSHOT_TO_PRINTER
    The Write Snapshot to Printer routine writes the current
    pasteboard buffer to the printer attached to the terminal.

    Format

      SMG$SNAPSHOT_TO_PRINTER  pasteboard-id ,device-type [,flags]

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 pasteboard-id

    OpenVMS usage:identifier
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference

    Identifier of the pasteboard whose snapshot will be sent to a
    printer. The pasteboard-id argument is the address of an unsigned
    longword that contains the pasteboard identifier.

 device-type

    OpenVMS usage:device_name
    type:         character string
    access:       read only
    mechanism:    by descriptor

    Specifies the type of printer to which the output associated with
    this pasteboard will be written. The device-type argument is the
    address of a descriptor that points to the name of the output
    device. Valid values for this argument (for example, LA50) are
    defined in SYS$SYSTEM:TERMTABLE.TXT.

 flags

    OpenVMS usage:mask_longword
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference

    Optional bit mask that specifies whether a form feed is passed.
    The flags argument is the address of an unsigned longword
    containing the flag. The valid value for the flags argument is
    as follows:

    SMG$M_FORM_FEED    Output a form feed as the first record.
Close Help