DicomObjects Reference
DicomObjects Reference / DicomPrint Object
Members
In This Topic
    DicomPrint Object
    In This Topic
    Description
    Object to simplify printing to DICOM printers
    Remarks

    An object which supports simplified DICOM printing.

    By using this object it is possible to print to most DICOM printers without detailed knowledge of the underlying messages used.  At its simplest, it is used (in VB) as follows:

    Set Print=new DicomPrint

    Print.Node=address

    Print.Port=104

    Print.CallingAE=”MY AET”

    Print.CalledAE=”PRINTER AET”

    Print.Open

    Print.FilmSize=”STANDARD\3,4”

    For each image in images
     Print.PrintImage image
    Next
    Print.PrintFilm
    Print.Close


    The above is a very simple example, and much more flexibility is possible.  In particular, you can:

    • Alter how images are laid out using NextPosition and PrintFilm
    • Access printer properties (after Open) using the Printer object
    • Change the Orientation, FilmSizeCopies or BitDepth
    • Use the Colour property to select Colour or monochrome printing (where supported by the printer!)
    • Even more properties of the session, filmbox or image box can be over-ridden using the SessionFilmBox and ImageBox properties.
    See Also