DCMPRSCP/DCMPRSCU configuration file!
Moderator: Moderator Team
-
- Posts: 28
- Joined: Mon, 2016-05-09, 08:32
DCMPRSCP/DCMPRSCU configuration file!
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!
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!
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: DCMPRSCP/DCMPRSCU configuration file!
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.
Re: DCMPRSCP/DCMPRSCU configuration file!
You can set every parameter using default value no using config file.It is a very big work~
-
- Posts: 28
- Joined: Mon, 2016-05-09, 08:32
Re: DCMPRSCP/DCMPRSCU configuration file!
Yes. It's a larger workGavinzz01 wrote:You can set every parameter using default value no using config file.It is a very big work~
-
- Posts: 28
- Joined: Mon, 2016-05-09, 08:32
Re: DCMPRSCP/DCMPRSCU configuration file!
Hi J. Riesmeier!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.
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,
-
- DCMTK Developer
- Posts: 2501
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: DCMPRSCP/DCMPRSCU configuration file!
You could also use the "spool" mode of the dcmpsprt tool in order to send the print job "directly" to the printer.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.
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.Why use dcmpsprt? If i don't want to use it, another way to print DICOM?
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).
-
- Posts: 28
- Joined: Mon, 2016-05-09, 08:32
Re: DCMPRSCP/DCMPRSCU configuration file!
Thanks for reply!J. Riesmeier wrote:You could also use the "spool" mode of the dcmpsprt tool in order to send the print job "directly" to the printer.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.
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.Why use dcmpsprt? If i don't want to use it, another way to print DICOM?
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).
I will try
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest