DicomObjects Reference
DicomObjects Reference / DicomPrint Object / Open Method
Open Method
Description
Open connection to a printer
Syntax
Visual Basic
Public Sub Open() 
Example
The destination should already have been set before this method is called using the NodePortCallingAE and CalledAE properties.
Although no result is returned, success at subsequent statements can always be assumed, as failure will produce a (trappable) error.
As part of this method the well-known printer object is retrieved, so after this call, the Printer property becomes valid.
See Also