Why the negotiateAssociation can not successful in dcmprscu?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Dragonfly
Posts: 4
Joined: Fri, 2006-10-27, 16:45

Why the negotiateAssociation can not successful in dcmprscu?

#1 Post by Dragonfly »

In my application, I want to print a image on a AGFA printer from a PC.
Firstly, I create a Stored Print object by the tookit of dcmpsprt. And then I want to print the image by AGFA printer. But the negotiateAssociation can not be successful. Could you help me? thanks!

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1446
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

A bit more detail would be helpful. "Something did not work, what's wrong" is not really sufficient information to help you in any way. Run dcmprscu with the --dump mode and check the output which will provide a detailed log of the A-ASSOCIATE-RSP message returned by the AGFA printer.

Dragonfly
Posts: 4
Joined: Fri, 2006-10-27, 16:45

Thanks!

#3 Post by Dragonfly »

I debug the codes of dcmtk-3.5.3. The association can not be created between the PC and the AGFA printer. When dcmprscu send the requestion of association to the printer, there is no response from the printer. I guess there are some error configrations in the file of dcmpstat.cfg. But I do not know how to modify it?

the parts of configuration in dcmpstat.cfg is following

[IHEFULL]
Aetitle = IHEFULL
Description = IHE Full Print SCP
Hostname = 222.194.174.10 //the IP address of the AGFA printer
Port = 104 // The port of the AGFA printer
Type = LOCALPRINTER

BorderDensity = 150\20\BLACK\WHITE
DisableNewVRs = false
DisplayFormat=1,1\1,2\2,2\2,3\3,3\3,4\3,5\4,4\4,5
EmptyImageDensity = 20\BLACK\WHITE
FilmDestination = MAGAZINE\PROCESSOR\BIN_1\BIN_2
FilmSizeID = 8INX10IN\10INX12IN\10INX14IN\11INX14IN\14INX14IN\14INX17IN\24CMX24CM\24CMX30CM
ImplicitOnly = false
MagnificationType = REPLICATE\BILINEAR\CUBIC\NONE
MaxDensity = 320
MaxPDU = 32768
MediumType = PAPER\CLEAR FILM\BLUE FILM
MinDensity = 20
OmitSOPClassUIDFromCreateResponse = false
PresentationLUTMatchRequired = false
PresentationLUTinFilmSession = false
ResolutionID = STANDARD\HIGH
SmoothingType = NONE
Supports12Bit = true
SupportsDecimateCrop = true
SupportsImageSize = true
SupportsPresentationLUT = true
SupportsTrim = true

nicolasdicom
Posts: 26
Joined: Thu, 2010-07-01, 19:47
Location: Argentina

#4 Post by nicolasdicom »

Hi !

1 -Did you add [[COMMUNICATION]] at the top of your file ?
2- Are you sure that the printer is configured to receive connections from ANY AET ?

Lol ..These were my first troubles.

Regards

Nicolas

Post Reply

Who is online

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