Creating a StoredPrint Object in memory

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
martinrame
Posts: 347
Joined: Mon, 2009-02-23, 19:57

Creating a StoredPrint Object in memory

#1 Post by martinrame »

Hi, usually work with dcmpsprt to create stored print files to send to printer.

Now I would like to create stored print objects in memory, without using the filesystem.

Reading the source code of dcmpsprt, I found that Dcmpsprt uses DVInterface::saveStoredPrint method to create stored print files, then I can dcmdump those files, so, I asume these are DcmDatasets.

The question is, how can I get the StoredPrint dataset from DVInterface?. If not, should I create the dataset following the steps described in the second example of http://support.dcmtk.org/docs/mod_dcmdata.html#Examples ?.

Thanks in advance.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

The main purpose of the DVInterface class is to provide an interface for the DICOMscope application (using JNI).

To answer your question, you could either enhance this class by also implementing a method that stores the Stored Print object to a DcmDataset or you could start from scratch using dcmdata methods only.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest