Print SCU and Print SCP
Moderator: Moderator Team
-
- Posts: 41
- Joined: Tue, 2013-07-23, 12:15
- Location: Chennai, India
Print SCU and Print SCP
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
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.
-
- DCMTK Developer
- Posts: 2548
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Print SCU and Print SCP
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).
-
- Posts: 41
- Joined: Tue, 2013-07-23, 12:15
- Location: Chennai, India
Re: Print SCU and Print SCP
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.?
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.?
-
- DCMTK Developer
- Posts: 2548
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Print SCU and Print SCP
Sure. I would set:Should i change anything in the tcpsrv.cfg file?
Code: Select all
[[DIMSE]]
[Service Classes]
PresentationLUT = NO
-
- Posts: 41
- Joined: Tue, 2013-07-23, 12:15
- Location: Chennai, India
Re: Print SCU and Print SCP
Hi
Thanks.
Still I am getting same error after change PresentationLUT = NO
in tcpsrv.cfg file.
Do the needful. Thanks.
Thanks.
Still I am getting same error after change PresentationLUT = NO
in tcpsrv.cfg file.
Do the needful. Thanks.
Thanks
Guna
Guna
-
- Posts: 41
- Joined: Tue, 2013-07-23, 12:15
- Location: Chennai, India
Re: Print SCU and Print SCP
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.
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.
-
- OFFIS DICOM Team
- Posts: 1507
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Print SCU and Print SCP
The solution is much simpler: You can deactivate the loading of the calibration file "printer.dat" by removing (or commenting out) the line
Alternatively, a sample printer.dat file is provided in the download package, in the /share/dcmtk/ subdirectory.
Characteristics = printer.dat
in the configuration file:
Code: Select all
; Characteristics = printer.dat
-
- Posts: 41
- Joined: Tue, 2013-07-23, 12:15
- Location: Chennai, India
Re: Print SCU and Print SCP
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 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
Guna
-
- Posts: 41
- Joined: Tue, 2013-07-23, 12:15
- Location: Chennai, India
Re: Print SCU and Print SCP
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] =>
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] =>
Who is online
Users browsing this forum: No registered users and 1 guest