DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2018-11-21, 10:54

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Horos + DCMPRINT
PostPosted: Tue, 2018-10-23, 19:31 
Offline

Joined: Tue, 2018-10-23, 15:43
Posts: 4
In the hospital I work for there are iMac's used as medical station using "Horos" to view images. Our goal is to save dicom printjobs into files in order to be printed later.

We are using bin_static from evaluation, but we cannot get it work.

This is our command::

Quote:
./tcpsrv_e -dhl --verbose +s -p 30001 -c ../etc/dcmtk/tcpsrv.cfg -aet DCMPRINT


Everything has been configured, but dicom printers. However it seems this service is not receiving any request. We tested open port 30001 using telnet and service is there listening. AET is correct. We don't know how to make tcpsrv work to save printjobs received on this port.

Perhaps we are missing some previous step.

We need help with this.

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Horos + DCMPRINT
PostPosted: Thu, 2018-10-25, 10:20 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 282
Location: Oldenburg, Germany
Did you try the verification SOP class; sending an echo request using echoscu?


Top
 Profile  
 
 Post subject: Re: Horos + DCMPRINT
PostPosted: Thu, 2018-11-01, 18:27 
Offline

Joined: Tue, 2018-10-23, 15:43
Posts: 4
Jan Schlamelcher wrote:
Did you try the verification SOP class; sending an echo request using echoscu?


Yes, I did it... But it does not respond to localhost using echoscu. Port is ok... it responds to telnet.


Top
 Profile  
 
 Post subject: Re: Horos + DCMPRINT
PostPosted: Wed, 2018-11-07, 20:25 
Offline

Joined: Tue, 2018-10-23, 15:43
Posts: 4
Jan Schlamelcher wrote:
Did you try the verification SOP class; sending an echo request using echoscu?


I have used gdcmscu tool from libgdcm-tools package in ubuntu packages and it worked as shown:

Code:
gdcmscu -D --echo 172.20.200.11 30001 --call DCMPRINT


Received response:

Code:
Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 891, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Start RunEventLoop

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 903, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Before mTransitions.HandleEvent #2

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULTransitionTable.cxx, line 338, function void gdcm::network::ULTransitionTable::HandleEvent(gdcm::Subject*, gdcm::network::ULEvent&, gdcm::network::ULConnection&, bool&, gdcm::network::EEventID&) const
Last system error was: Success
Process: Event:0, State:0

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 903, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Before mTransitions.HandleEvent #2

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULTransitionTable.cxx, line 338, function void gdcm::network::ULTransitionTable::HandleEvent(gdcm::Subject*, gdcm::network::ULEvent&, gdcm::network::ULConnection&, bool&, gdcm::network::EEventID&) const
Last system error was: Success
Process: Event:1, State:3

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 929, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Waiting for ItemType


Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 931, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Received ItemType #2

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 937, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
PDU code: 2

ProtocolVersion: 1
Reserved9_10: 0
Reserved11_26: [DCMPRINT        ]
Reserved27_42: [GDCMSCU         ]
Application Context Name: 1.2.840.10008.3.1.1.1
List of PresentationContextAC:
ID: 1
Result: 0
TransferSyntax: Name: 1.2.840.10008.1.2 (Implicit VR Little Endian: Default Transfer Syntax for DICOM)

User Information: MaximumLengthSub: MaximumLength: 32768
ImplementationClassUIDSub: ImplementationClassUID: 1.2.276.0.7230010.3.0.3.6.3
ImplementationVersionNameSub: ImplementationVersionName: OFFIS_DCMTK_363

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 903, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Before mTransitions.HandleEvent #2

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULTransitionTable.cxx, line 338, function void gdcm::network::ULTransitionTable::HandleEvent(gdcm::Subject*, gdcm::network::ULEvent&, gdcm::network::ULConnection&, bool&, gdcm::network::EEventID&) const
Last system error was: Success
Process: Event:2, State:4

ProtocolVersion: 1
Reserved9_10: 0
Reserved11_26: [DCMPRINT        ]
Reserved27_42: [GDCMSCU         ]
Application Context Name: 1.2.840.10008.3.1.1.1
List of PresentationContextAC:
ID: 1
Result: 0
TransferSyntax: Name: 1.2.840.10008.1.2 (Implicit VR Little Endian: Default Transfer Syntax for DICOM)

User Information: MaximumLengthSub: MaximumLength: 32768
ImplementationClassUIDSub: ImplementationClassUID: 1.2.276.0.7230010.3.0.3.6.3
ImplementationVersionNameSub: ImplementationVersionName: OFFIS_DCMTK_363

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 891, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Start RunEventLoop

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 903, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Before mTransitions.HandleEvent #2

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULTransitionTable.cxx, line 338, function void gdcm::network::ULTransitionTable::HandleEvent(gdcm::Subject*, gdcm::network::ULEvent&, gdcm::network::ULConnection&, bool&, gdcm::network::EEventID&) const
Last system error was: Success
Process: Event:8, State:5

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 929, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Waiting for ItemType

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 931, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Received ItemType #4

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 937, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
PDU code: 4

ItemLength: 84
PresentationDataValue:
ItemLength: 80
PresentationContextID: 1
MessageHeader: 3
(0000,0000) ?? (UL) 66                                            # 4,1 Command Group Length
(0000,0002) ?? (UI) [1.2.840.10008.1.1]                           # 18,1 Affected SOP Class UID
(0000,0100) ?? (US) 32816                                         # 2,1 Command Field
(0000,0120) ?? (US) 1                                             # 2,1 Message ID Being Responded To
(0000,0800) ?? (US) 257                                           # 2,1 Command Data Set Type
(0000,0900) ?? (US) 0                                             # 2,1 Status

(0000,0000) ?? (UL) 66                                            # 4,1 Command Group Length
(0000,0002) ?? (UI) [1.2.840.10008.1.1]                           # 18,1 Affected SOP Class UID
(0000,0100) ?? (US) 32816                                         # 2,1 Command Field
(0000,0120) ?? (US) 1                                             # 2,1 Message ID Being Responded To
(0000,0800) ?? (US) 257                                           # 2,1 Command Data Set Type
(0000,0900) ?? (US) 0                                             # 2,1 Status
(0000,0000) ?? (UL) 66                                            # 4,1 Command Group Length
(0000,0002) ?? (UI) [1.2.840.10008.1.1]                           # 18,1 Affected SOP Class UID
(0000,0100) ?? (US) 32816                                         # 2,1 Command Field
(0000,0120) ?? (US) 1                                             # 2,1 Message ID Being Responded To
(0000,0800) ?? (US) 257                                           # 2,1 Command Data Set Type
(0000,0900) ?? (US) 0                                             # 2,1 Status

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 891, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Start RunEventLoop

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 903, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Before mTransitions.HandleEvent #2

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULTransitionTable.cxx, line 338, function void gdcm::network::ULTransitionTable::HandleEvent(gdcm::Subject*, gdcm::network::ULEvent&, gdcm::network::ULConnection&, bool&, gdcm::network::EEventID&) const
Last system error was: Success
Process: Event:10, State:5

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 929, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Waiting for ItemType

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 931, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Received ItemType #6

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 937, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
PDU code: 6

PDULength: 4
Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx, line 903, function gdcm::network::EStateID gdcm::network::ULConnectionManager::RunEventLoop(gdcm::network::ULEvent&, gdcm::network::ULConnection*, gdcm::network::ULConnectionCallback*, const bool&)
Last system error was: Success
Before mTransitions.HandleEvent #2

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Source/MessageExchangeDefinition/gdcmULTransitionTable.cxx, line 338, function void gdcm::network::ULTransitionTable::HandleEvent(gdcm::Subject*, gdcm::network::ULEvent&, gdcm::network::ULConnection&, bool&, gdcm::network::EEventID&) const
Last system error was: Success
Process: Event:12, State:6

Debug: In /build/gdcm-uIgnvq/gdcm-2.6.3/Applications/Cxx/gdcmscu.cxx, line 565, function int main(int, char**)
Last system error was: Success
Echo succeeded.


PD: at point "Waiting for ItemType", it delays too much time.


Top
 Profile  
 
 Post subject: Re: Horos + DCMPRINT
PostPosted: Fri, 2018-11-16, 18:53 
Offline

Joined: Tue, 2018-10-23, 15:43
Posts: 4
Any body has used tcpsrv successfully ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group