Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
SetPrintOptions Method
See Also Send Topic Feedback | See Object Hierarchy Chart

Location
  Location of outpout.

Draft
  Mode of output to printer.

Filemode
  Naming mode for output file.

ExtNum
  Used with PCD_AUTO mode naming scheme for output file

PCDLRN ActiveX DLL > OldBasic Object : SetPrintOptions Method

Glossary Item Box

# Description

Sets application printing options

# Syntax

Visual Basic
    Public Sub SetPrintOptions( _
       ByVal Location As PCDPRINTLOC, _
       ByVal Draft As PCDONOFF, _
       ByVal Filemode As PCDPRINTFILEMODE, _
       ByVal ExtNum As Long _
    )

# Parameters

Location

  Value | Description
  --- | ---
  PCD___OFF | No destination for printed data.
  PCD_FILE | Destination for the printed data is a file.
  PCD_PRINTER | Destination for the printed data is printer.

  Location of outpout.
Draft

  Value | Description
  --- | ---
  PCD_OFF |
  PCD_ON |

  Mode of output to printer.
Filemode

  Value | Description
  --- | ---
  PCD_APPEND | Appends information to the end of the file.
  PCD_AUTO | Automatically increments a numeric extension for the output file name.
  PCD_NEWFILE | Sends information to a new file.
  PCD_OVERWRITE | Overwrites information in the current file.
  PCD_PROMPT | Prompts the user for a filename.

  Naming mode for output file.
ExtNum
  Used with PCD_AUTO mode naming scheme for output file

# See Also

OldBasic Object | OldBasic Members

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.