Print SCU and Print SCP

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
mail2vguna
Posts: 41
Joined: Tue, 2013-07-23, 12:15
Location: Chennai, India

Print SCU and Print SCP

#1 Post by mail2vguna »

Hi

I got trial license of DCMPRINT recently.

Print SCU - sending images with proper parameters to Print SCP correct?

Print SCP - Receiveng images from Print SCU and create PostScript code PostScript code from the incoming print jobs from Print SCU that may be spooled to a PostScript printer(DICOM Printer like Agfa).

What is the default parameters for Print SCU and Print SCP ?
Does both service needed for Print DICOM images in the DICOM Printer.?

when i tried below command
>> tcpsrv_e.exe --debug --config tcpsrv.cfg
i am getting below error
I: --DCMPRINT: $dcmtk: tcpsrv_e v3.6.5 2019-10-28 $
I: --Copyright (C)1994-2011, OFFIS e.V.
I: --Licensed to: Konica Minolta Healthcare Americas,
I:
D: $dcmtk: tcpsrv_e v3.6.5 2019-10-28 $
D:
W: can't open DISPLAY file ... ignoring
E: invalid DISPLAY file ... ignoring
F: unable to load printer characteristic curve from 'printer.dat'

Kindly help me to move forward. Thnkas
Last edited by mail2vguna on Tue, 2020-08-04, 21:58, edited 1 time in total.

J. Riesmeier
DCMTK Developer
Posts: 2498
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Print SCU and Print SCP

#2 Post by J. Riesmeier »

I would try to disable the Presentation LUT SOP Class in the configuration file of the Print SCP (which requires the calibration of the output according to the GSDF).

mail2vguna
Posts: 41
Joined: Tue, 2013-07-23, 12:15
Location: Chennai, India

Re: Print SCU and Print SCP

#3 Post by mail2vguna »

Hi

Thanks for your response.

Should i change anything in the tcpsrv.cfg file?

also can you clarify below question. Thanks in Advance.

Print SCU - sending images with proper parameters to Print SCP correct?

Print SCP - Receiving images from Print SCU and create PostScript code PostScript code from the incoming print jobs from Print SCU that may be spooled to a PostScript printer(DICOM Printer like Agfa).

What is the default parameters for Print SCU and Print SCP ?
Does both service needed for Print DICOM images in the DICOM Printer.?

J. Riesmeier
DCMTK Developer
Posts: 2498
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Print SCU and Print SCP

#4 Post by J. Riesmeier »

Should i change anything in the tcpsrv.cfg file?
Sure. I would set:

Code: Select all

[[DIMSE]]
[Service Classes]
PresentationLUT = NO
For the other questions, someone from OFFIS should provide an answer (since they made this software available to you).

mail2vguna
Posts: 41
Joined: Tue, 2013-07-23, 12:15
Location: Chennai, India

Re: Print SCU and Print SCP

#5 Post by mail2vguna »

Hi

Thanks.

Still I am getting same error after change PresentationLUT = NO
in tcpsrv.cfg file.

Do the needful. Thanks.
Thanks
Guna

mail2vguna
Posts: 41
Joined: Tue, 2013-07-23, 12:15
Location: Chennai, India

Re: Print SCU and Print SCP

#6 Post by mail2vguna »

Hi

For your reference i have shared the some part of the tcpsrv.cfg file

[[DIMSE]]
; -----------------------------------------------------------------------

; -----------------------------------------------------------------------
; This section is mandatory. It defines the SOP classes and Meta SOP classes
; supported by the print server.
[Service Classes]

; Enables or disables the support for Basic Grayscale Print Management.
; Optional setting, default is NO. At least either Basic Grayscale or Basic Color
; Print Management should be enabled, otherwise the print server only serves
; as a Verification SCP.
BasicGrayscaleMetaSOPClass = YES

; Enables or disables the support for Basic Color Print Management.
; Optional setting, default is NO. At least either Basic Grayscale or Basic Color
; Print Management should be enabled, otherwise the print server only serves
; as a Verification SCP.
BasicColorMetaSOPClass = YES

; Enables or disables the support for the optional Basic Annotation Box SOP class.
; Optional setting, default is NO.
Annotation = YES

; Enables or disables the support for the optional Print Job SOP class.
; If print job is not supported, the N-ACTION command will return only
; after the print job has ended unless the AlwaysForkPrintJob option
; in section [Compatibility] is activated (see below).
; Optional setting, default is NO.
PrintJob = YES

; Enables or disables the support for the optional Presentation LUT SOP class.
; Please note that the Presentation LUT SOP class requires the print server
; to create calibrated hardcopies. DCMPRINT supports that, given that the
; characteristic curve of the printer is known. See [[PRESENTATIONLUT]]
; for details.
; Optional setting, default is NO.
PresentationLUT = NO

But still i am getting below error.

W: can't open DISPLAY file ... ignoring
E: invalid DISPLAY file ... ignoring
F: unable to load printer characteristic curve from 'printer.dat'

Kindly help me to fix this issue. Thanks in Advance.

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

Re: Print SCU and Print SCP

#7 Post by Marco Eichelberg »

The solution is much simpler: You can deactivate the loading of the calibration file "printer.dat" by removing (or commenting out) the line
Characteristics = printer.dat in the configuration file:

Code: Select all

; Characteristics = printer.dat
Alternatively, a sample printer.dat file is provided in the download package, in the /share/dcmtk/ subdirectory.

mail2vguna
Posts: 41
Joined: Tue, 2013-07-23, 12:15
Location: Chennai, India

Re: Print SCU and Print SCP

#8 Post by mail2vguna »

Hi
Thanks for your response.
You saved my time.

Can you explain more about print scp and print scu.


Print SCU - sending images with proper parameters to Print SCP correct?

Print SCP - Receiving images from Print SCU and create PostScript code PostScript code from the incoming print jobs from Print SCU that may be spooled to a PostScript printer(DICOM Printer like Agfa).

What is the default parameters for Print SCU and Print SCP ?
Does both service needed for Print DICOM images in the DICOM Printer.?
Thanks
Guna

mail2vguna
Posts: 41
Joined: Tue, 2013-07-23, 12:15
Location: Chennai, India

Re: Print SCU and Print SCP

#9 Post by mail2vguna »

Hi
Am i using correct parameters for print SCP and Print SCU, from below information, Should i get any response in the SCP side when i sent image to SCP from SCU.

1. Why pages = 0 ?

Print SCP

bin32> tcpsrv_e.exe --config tcpsrv.cfg

Print SCU

bin32>tcpprt_e.exe --config tcpprt.cfg --target localhost:3100 --aetitle DCMPRINT_SCP test.dcm
Current Object: print session
=============================
Pages : 0
Number of Copies : 1
Print Priority : MED
Medium Type : PAPER
Destination : MAGAZINE
Session Label : Remote DICOM Printserver Session #3
Defaults for new page creation:
Image Layout :
Annotation Layout : [Print Server Default]
Orientation : [Print Server Default]
Page Size : [Print Server Default]

Main Menu
=========
( ) print session (S) new session
(C) change session settings ( ) new presentation lut
(N) create new page ( ) edit presentation lut(s)
( ) edit page(s) (Q) quit

Your input [CNSQ] =>

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest