DCMPRSCP/DCMPRSCU configuration file!

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
kstn_hut_hat
Posts: 28
Joined: Mon, 2016-05-09, 08:32

DCMPRSCP/DCMPRSCU configuration file!

#1 Post by kstn_hut_hat »

Hi,
To run dcmprscp/dcmprscu, we need to pass the configuration file path agurment. If i don't want to do it, how to set default value for DVInterface's variable?

Can you help me?
Thank you so much!

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: DCMPRSCP/DCMPRSCU configuration file!

#2 Post by J. Riesmeier »

As far I can can see, you have to pass the filename of the config file as the first parameter of the DVInterface constructor. Please note that this class is derived from class DVConfiguration.

Gavinzz01
Posts: 3
Joined: Mon, 2016-07-18, 11:24

Re: DCMPRSCP/DCMPRSCU configuration file!

#3 Post by Gavinzz01 »

You can set every parameter using default value no using config file.It is a very big work~

kstn_hut_hat
Posts: 28
Joined: Mon, 2016-05-09, 08:32

Re: DCMPRSCP/DCMPRSCU configuration file!

#4 Post by kstn_hut_hat »

Gavinzz01 wrote:You can set every parameter using default value no using config file.It is a very big work~
Yes. It's a larger work :(

kstn_hut_hat
Posts: 28
Joined: Mon, 2016-05-09, 08:32

Re: DCMPRSCP/DCMPRSCU configuration file!

#5 Post by kstn_hut_hat »

J. Riesmeier wrote:As far I can can see, you have to pass the filename of the config file as the first parameter of the DVInterface constructor. Please note that this class is derived from class DVConfiguration.
Hi J. Riesmeier!
After read scp/scu examples, the DICOM Print follow from SCU to SCP is:
(Print 2 DICOM file - A and B)
Step1: Use dcmpsprt to create a print job consisting of stored print and hardcopy grayscale images. It's mean create 3 files.
Step2:Then, Send stored print file from scu to scp.

Why use dcmpsprt? If i don't want to use it, another way to print DICOM?

Expecting early reply,

Many thanks,

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: DCMPRSCP/DCMPRSCU configuration file!

#6 Post by J. Riesmeier »

Step1: Use dcmpsprt to create a print job consisting of stored print and hardcopy grayscale images. It's mean create 3 files.
Step2:Then, Send stored print file from scu to scp.
You could also use the "spool" mode of the dcmpsprt tool in order to send the print job "directly" to the printer.
Why use dcmpsprt? If i don't want to use it, another way to print DICOM?
This is how the print SCU in the "dcmpstat" module works. You have to understand that it has been developed in response to an official RFP (as an extension of the DICOMscope software). The main purpose was/is testing of the print communication, so storing the "print job" as files make the network communication persistent and allows for analyzing it in detail before actually sending the job to a printer.

Of course, you could develop your own print SCU based on the DCMTK or check the DCMPRNT software (which has to be licensed separately from OFFIS).

kstn_hut_hat
Posts: 28
Joined: Mon, 2016-05-09, 08:32

Re: DCMPRSCP/DCMPRSCU configuration file!

#7 Post by kstn_hut_hat »

J. Riesmeier wrote:
Step1: Use dcmpsprt to create a print job consisting of stored print and hardcopy grayscale images. It's mean create 3 files.
Step2:Then, Send stored print file from scu to scp.
You could also use the "spool" mode of the dcmpsprt tool in order to send the print job "directly" to the printer.
Why use dcmpsprt? If i don't want to use it, another way to print DICOM?
This is how the print SCU in the "dcmpstat" module works. You have to understand that it has been developed in response to an official RFP (as an extension of the DICOMscope software). The main purpose was/is testing of the print communication, so storing the "print job" as files make the network communication persistent and allows for analyzing it in detail before actually sending the job to a printer.

Of course, you could develop your own print SCU based on the DCMTK or check the DCMPRNT software (which has to be licensed separately from OFFIS).
Thanks for reply!
I will try

Post Reply

Who is online

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