MODALIZER SDK  3.2.2.2
DICOM Print Service SCU

Classes

interface  IDCXPrintPage
 This interface is used for printing a film (page) using a DICOM printer. More...
 
interface  IDCXPrintSession
 This interface is used for managing print sessions. More...
 

Enumerations

enum  PRINT_COLOR_SPACE { PCS_GRAY , PCS_COLOR }
 
enum  PRINT_JOB_STATUS { PJS_PENDING , PJS_PRINTING , PJS_DONE , PJS_FAILURE }
 
enum  PRINT_PAGE_ORIENTATION { PPO_PORTRAIT , PPO_LANDSACPE }
 

Functions

HRESULT IDCXREQ::StartGrayscalePrintSession ([in] BSTR callingTitle, [in] BSTR calledTitle, [in] BSTR host, [in] unsigned short port, [out, retval] IDCXPrintSession **session)
 Start a DICOM Print Session for Grayscale images printing. More...
 
HRESULT IDCXREQ::StartColorPrintSession ([in] BSTR callingTitle, [in] BSTR calledTitle, [in] BSTR host, [in] unsigned short port, [out, retval] IDCXPrintSession **session)
 Start a DICOM Print Session for Color images printing. More...
 
HRESULT IDCXREQ::EndPrintSession ()
 End the print session.
 
HRESULT IDCXREQ::StartGrayscalePrintSessionEx ([in] BSTR callingTitle, [in] BSTR calledTitle, [in] BSTR host, [in] unsigned short port, [in] IDCXOBJ *obj, [out, retval] IDCXPrintSession **session)
 Same as StartGrayscalePrintSession but with extra parameters for the N-CREATE. More...
 
HRESULT IDCXREQ::StartColorPrintSessionEx ([in] BSTR callingTitle, [in] BSTR calledTitle, [in] BSTR host, [in] unsigned short port, [in] IDCXOBJ *obj, [out, retval] IDCXPrintSession **session)
 Same as StartColorPrintSession but with extra parameters for the N-CREATE. More...
 

Detailed Description

The DICOM Print Service is used to print DICOM Images

Enumeration Type Documentation

◆ PRINT_COLOR_SPACE

Image Color Spaces.

Enumerator
PCS_GRAY 

Grayscale.

PCS_COLOR 

Color.

◆ PRINT_JOB_STATUS

Print Job Status Codes

Enumerator
PJS_PENDING 

Pending - the job is queued but did not start yet.

PJS_PRINTING 

Printing - the job is now being printed.

PJS_DONE 

Done - the job was printed successfuly.

PJS_FAILURE 

Failure - the job failed to print.

◆ PRINT_PAGE_ORIENTATION

Print Page Orientation

Enumerator
PPO_PORTRAIT 

Portrait Page Orientation.

PPO_LANDSACPE 

Landscape Page Orientation.

Function Documentation

◆ StartColorPrintSession()

HRESULT IDCXREQ::StartColorPrintSession ( [in] BSTR  callingTitle,
[in] BSTR  calledTitle,
[in] BSTR  host,
[in] unsigned short  port,
[out, retval] IDCXPrintSession **  session 
)

Start a DICOM Print Session for Color images printing.

See also
StartColorPrintSessionEx

◆ StartColorPrintSessionEx()

HRESULT IDCXREQ::StartColorPrintSessionEx ( [in] BSTR  callingTitle,
[in] BSTR  calledTitle,
[in] BSTR  host,
[in] unsigned short  port,
[in] IDCXOBJ obj,
[out, retval] IDCXPrintSession **  session 
)

Same as StartColorPrintSession but with extra parameters for the N-CREATE.

See also
StartGrayscalePrintSessionEx
DICOM Conformance:
  • Requested Presentation Contexts:
    • Verification SOP Class - 1.2.840.10008.1.1
    • Basic Color Print Management Meta SOP Class - 1.2.840.10008.5.1.1.18
    • Basic Annotation Box SOP Class - 1.2.840.10008.5.1.1.15
  • Proposed Transfer Syntaxes (for all SOP Classes):
    • Little Endian Implicit - 1.2.840.10008.1.2
    • Little Endian Explicit - 1.2.840.10008.1.2.1
    • Big Endian Explicit - 1.2.840.10008.1.2.2
Parameters
callingTitleCalling AE Title (us)
calledTitleCalled AE Title (them)
hostHost name or IP address (their)
portThe port number they are listening to
objObject with additional parameters for the session create call
sessionThe created session object

◆ StartGrayscalePrintSession()

HRESULT IDCXREQ::StartGrayscalePrintSession ( [in] BSTR  callingTitle,
[in] BSTR  calledTitle,
[in] BSTR  host,
[in] unsigned short  port,
[out, retval] IDCXPrintSession **  session 
)

Start a DICOM Print Session for Grayscale images printing.

See also
StartGrayscalePrintSessionEx

◆ StartGrayscalePrintSessionEx()

HRESULT IDCXREQ::StartGrayscalePrintSessionEx ( [in] BSTR  callingTitle,
[in] BSTR  calledTitle,
[in] BSTR  host,
[in] unsigned short  port,
[in] IDCXOBJ obj,
[out, retval] IDCXPrintSession **  session 
)

Same as StartGrayscalePrintSession but with extra parameters for the N-CREATE.

Start a Grayscale Print Session: Send a N-CREATE command to create the print session.

Note
This method starts an association and leaves it open until the session object is disposed.
DICOM Conformance:
  • Requested Presentation Contexts:
    • Verification SOP Class - 1.2.840.10008.1.1
    • Basic Grayscale Print Management Meta SOP Class - 1.2.840.10008.5.1.1.9
    • Basic Annotation Box SOP Class - 1.2.840.10008.5.1.1.15
  • Proposed Transfer Syntaxes (for all SOP Classes):
    • Little Endian Implicit - 1.2.840.10008.1.2
    • Little Endian Explicit - 1.2.840.10008.1.2.1
    • Big Endian Explicit - 1.2.840.10008.1.2.2
Parameters
callingTitleCalling AE Title (us)
calledTitleCalled AE Title (them)
hostHost name or IP address (their)
portThe port number they are listening to
objObject with additional parameters for the session create call
sessionThe created session object