PC-DMIS 2022.1 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
ValueDescription
PCD___OFFNo destination for printed data.
PCD_FILEDestination for the printed data is a file.
PCD_PRINTERDestination for the printed data is printer.
Location of outpout.
Draft
ValueDescription
PCD_OFF 
PCD_ON 
Mode of output to printer.
Filemode
ValueDescription
PCD_APPENDAppends information to the end of the file.
PCD_AUTOAutomatically increments a numeric extension for the output file name.
PCD_NEWFILESends information to a new file.
PCD_OVERWRITEOverwrites information in the current file.
PCD_PROMPTPrompts the user for a filename.
Naming mode for output file.
ExtNum
Used with PCD_AUTO mode naming scheme for output file

See Also

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