Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > OldBasic Object : SetPrintOptions Method
Location of outpout.
Mode of output to printer.
Naming mode for output file.
Used with PCD_AUTO mode naming scheme for output file
SetPrintOptions Method
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