Horos + DCMPRINT

Questions regarding the DCMPRINT library, a DCMTK add-on that implements a DICOM Print Management SCP and SCU

Moderator: Moderator Team

Post Reply
Message
Author
marcopinero
Posts: 4
Joined: Tue, 2018-10-23, 15:43

Horos + DCMPRINT

#1 Post by marcopinero » Tue, 2018-10-23, 19:31

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::
./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.

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 284
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: Horos + DCMPRINT

#2 Post by Jan Schlamelcher » Thu, 2018-10-25, 10:20

Did you try the verification SOP class; sending an echo request using echoscu?

marcopinero
Posts: 4
Joined: Tue, 2018-10-23, 15:43

Re: Horos + DCMPRINT

#3 Post by marcopinero » Thu, 2018-11-01, 18:27

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.

marcopinero
Posts: 4
Joined: Tue, 2018-10-23, 15:43

Re: Horos + DCMPRINT

#4 Post by marcopinero » Wed, 2018-11-07, 20:25

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: Select all

gdcmscu -D --echo 172.20.200.11 30001 --call DCMPRINT
Received response:

Code: Select all

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.

marcopinero
Posts: 4
Joined: Tue, 2018-10-23, 15:43

Re: Horos + DCMPRINT

#5 Post by marcopinero » Fri, 2018-11-16, 18:53

Any body has used tcpsrv successfully ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest