#include "ltdic.h"
L_LTDIC_API L_INT L_DicomPrintSCUCreateFilmSession(hPrintSCU, pParameters, bColorPrintManagement)
A handle to Dicom Print SCU.
Film Session parameters.
Grayscale or Color Print Management.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Once a Film Session is created, the function L_DicomPrintSCUCreateFilmBox can then be used to create one or more Film Boxes in the new Film Session. Notice that only one Film Session can be handled on the Association at any time.
The function will not return until it receives the response of the Print SCP, or an error occurs. The function L_DicomPrintSCUGetLastOperationStatus can be used to obtain the status code specified in the response of the Print SCP. When the return value of the function CreateFilmSession is 0, then the Film Session was created successfully, with either a Success or Warning status code in the response of the Print SCP.
Having the Film Session created, the function L_DicomPrintSCUGetFilmSessionInstanceUID can be used to obtain its SOP Instance UID. Also, the functions L_DicomPrintSCUUpdateFilmSession, L_DicomPrintSCUPrintFilmSession, and L_DicomPrintSCUDeleteFilmSession can be used to update, print, and delete the Film Session, respectively.
The parameter pParameters points to a pFILMSESSIONPARAMETERS structure that specifies the parameters to be used when creating the Film Session. In this structure, if a string member is NULL, then the corresponding Attribute will not be included in the request to the Print SCP. Similarly, if a numeric member (that specifies an Attribute) is negative, the corresponding Attribute will not be included in the request. If pParameters is set to NULL, then the request will be sent without specifying any parameters.
All the rest of the basic Print Management functions will adopt the Meta SOP Class of the created Basic Film Session SOP Instance.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_DicomPrintSCUUpdateImageBox.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document