Search found 1297 matches

by Marco Eichelberg
Fri, 2021-07-23, 16:34
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 154

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

If you want your class PSVBasicFilmBox1 to be usable in place of PSVBasicFilmBox, then it must be derived from that class PSVBasicFilmBox1: public PSVBasicFilmBox { ... }; That would allow you to overload the n_create() method, which is virtual and thus permits overloading. However, that will not be...
by Marco Eichelberg
Tue, 2021-07-20, 10:57
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 154

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

This is the code in PSVBasicFilmBox::n_create() where the value of Film Size is finally set. If you simply set filmSize to some other value, that other value will be used: if (config.section_valid(1)) { filmSize = TMPfilmSize; // <--- HERE filmSize.writeto(outobject, DCM_FilmSizeID); } else { status...
by Marco Eichelberg
Tue, 2021-07-20, 10:07
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 154

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

I think the most appropriate place to check this would be the method PSVBasicFilmBox::n_create() , implemented in psvbfb.cc. This is the method that examines the incoming N-CREATE-RQ message for a new basic film box (i.e., page) and reads the Film Size attribute that determines the page size: else i...
by Marco Eichelberg
Thu, 2021-07-08, 10:56
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 154

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

The print client selects the page size by sending the attribute (2010,0050) Film Size ID in the Basic Film Box N-CREATE-RQ message (i.e. the message that creates a new page of hardcopy). If the print client does not send the attribute, the print server will select its own default. In the DCMPRINT SC...
by Marco Eichelberg
Wed, 2021-06-23, 08:22
Forum: DCMTK - General
Topic: Adding new Tags
Replies: 3
Views: 91

Re: Adding new Tags

Have you created the "reservation" element (000b,00f0) (VR=LO, value="Manfredi_LS") in the dataset? This is required per DICOM rules, and this is how DCMTK would recognize the private tag as "belonging" to the creator "Manfredi_LS".
by Marco Eichelberg
Fri, 2021-05-28, 07:57
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 445

Re: Secure Connection issue

I will commit this patch to DCMTK today, so it will appear in the next release. Of course it is your decision which modifications you want to deliver to your customers, but I would recommend that you include this modification.
by Marco Eichelberg
Mon, 2021-05-24, 17:42
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 445

Re: Secure Connection issue

Yes, please. And please let me know if everything still works as expected after that change.
by Marco Eichelberg
Sun, 2021-05-23, 17:11
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 445

Re: Secure Connection issue

You might want to try this patch. Note that this is a patch for DCMTK testing (i.e. the current git repository), not for DCMTK 3.6.6 release. diff --git a/dcmtls/libsrc/tlslayer.cc b/dcmtls/libsrc/tlslayer.cc index e2131c6c5..eff23f9c9 100644 --- a/dcmtls/libsrc/tlslayer.cc +++ b/dcmtls/libsrc/tlsla...
by Marco Eichelberg
Fri, 2021-05-21, 12:19
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 445

Re: Secure Connection issue

Then I will probably have to reproduce and debug the issue here. Can you provide me with further details on what exactly you do on the SCU side (which DVT tool, which version, which settings, how are certificates configured) ?
by Marco Eichelberg
Thu, 2021-05-20, 17:16
Forum: DCMTK - General
Topic: Store SCU TCP I/O Error - An existing connection was forcibly closed by the remote host.) occurred in routine: writeData
Replies: 1
Views: 89

Re: Store SCU TCP I/O Error - An existing connection was forcibly closed by the remote host.) occurred in routine: write

You might have to check log files on the Q/R SCU side. The error message simply indicates that the network connection was "suddenly" and unexpectedly lost, which could be caused by some network issue, but often simply means that the process receiving the image has crashed, which should leave a trace...
by Marco Eichelberg
Wed, 2021-05-19, 16:54
Forum: DCMTK - General
Topic: MacOS with M1 processor
Replies: 2
Views: 215

Re: MacOS with M1 processor

Our team currently has no access to a Mac with M1 processor, so we cannot reproduce the issue. The error report seems to indicate that the dcmdata library (which is a part of DCMTK) was either not correctly compiled or not correctly installed.
by Marco Eichelberg
Wed, 2021-05-19, 16:51
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 445

Re: Secure Connection issue

Can you please let us know what "arr" is and how this structure is created? In general, the problem seems to be caused by an attempted TLS session reuse. Apparently DVT tries to re-use to already negotiated TLS session, which is somewhat dangerous and not supported by DCMTK. However, apparently, DCM...
by Marco Eichelberg
Wed, 2021-05-19, 16:34
Forum: DCMTK - General
Topic: Proper way to add private sop class uid
Replies: 3
Views: 132

Re: Proper way to add private sop class uid

That depends on what you want to do. If you only want to send and receive such objects, you could even use a configuration file (see --config-file option in storescu and storescp), class DcmAssociationConfigurationFile, without the need to change anything in DCMTK. The code for creating or parsing s...
by Marco Eichelberg
Wed, 2021-05-19, 16:02
Forum: DCMPRINT
Topic: DCMTK + DCMPRINT : LNK2019 errors
Replies: 12
Views: 679

Re: DCMTK + DCMPRINT : LNK2019 errors

The print server uses two TCP ports, one for DICOM communication and one for inter-process communication (although the latter one is not really needed in the Windows version). The error message indicates that "somebody" has connected to the IPC port instead of the DICOM port.