hexagon logo

How to set Report options from VB script

I'm working in PC-DMIS 2011 MR1 and trying to get a VB script that will set the report options as we want then dump the report to a PDF. I've gotten the printing to a PDF working but am unable to locate the switches to set in VB. Any clues as to where to look? (was easy in 3.7!)
Parents
  • SetPrintOptions(Location, Draft, Filemode, ExtNum)

    Location
    PCD___OFF No destination for printed data.
    PCD_PRINTER Destination for the printed data is printer.
    PCD_FILE Destination for the printed data is a file.
    Location of output.

    Draft
    PCD_ON
    PCD_OFF
    Mode of output to printer.

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

    ExtNum
    Used with PCD_AUTO mode naming scheme for output file
Reply
  • SetPrintOptions(Location, Draft, Filemode, ExtNum)

    Location
    PCD___OFF No destination for printed data.
    PCD_PRINTER Destination for the printed data is printer.
    PCD_FILE Destination for the printed data is a file.
    Location of output.

    Draft
    PCD_ON
    PCD_OFF
    Mode of output to printer.

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

    ExtNum
    Used with PCD_AUTO mode naming scheme for output file
Children
No Data