How to pass image layout to Print SCP server

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

How to pass image layout to Print SCP server

#1 Post by mail2vguna »

Hi

I am using DCMTK DICOM Print trial version. 3.6.5 version in c++.

How can i pass the image layout like 2X2, 3X2 , 4X2 , 5X5 etc to tcpsrv(DICOM Print SCP) server from tcpprt(DICOM Print SCU Client) via command line?

tcpprt.exe --config tcpprt.cfg --target localhost:104 --aetitle DICOM_PRINT 1.dcm

What should i add the data for image layout.

Thanks. Much appreciated your quick reply.
Thanks
Guna

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

Re: How to pass image layout to Print SCP server

#2 Post by Marco Eichelberg »

In order to do this with the tcpprt command line tool, you first need to change the configuration file (tcpprt.cfg). As a starting point, you can change this line, which is below the [[AUTO-1]] headline:
ImageDisplayFormat = STANDARD\1,1
into
ImageDisplayFormat = STANDARD\2,2
and then run tcpprt with
tcpprt.exe --config tcpprt.cfg --target localhost:104 --aetitle DICOM_PRINT --auto 1 1.dcm 2.dcm 3.dcm 4.dcm (if you want to print four images on one sheet)
To make this more flexible, you should copy the whole section starting with [[AUTO-1]] to the end of the file, change the headline, e.g. into [[AUTO-1]],
and then you can use either --auto 1 or --auto 2 as parameters to select different layouts, e.g. 1/1 and 2/2.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest