Hi
I am using DCMTK DICOM Print trial version. 3.6.5 version in c++.
How can i pass the below parameters from SCU(tcpprt.exe) to Print SCP(tcpsrv.exe) using command line arguments without config file?
"medium": "PAPER",
"film_size": "8INX 10IN",
"empty_density": "BLACK",
"magnification": "REPLICATE",
"border_density": "BLACK",
"film_destination": "MAGAZINE",
"film_orientation": "PORTRAIT",
"memory_allocation": "100"
Image Layout : STANDARD2,2
Looking forward your reply. Thanks
Print SCU (tcpprt) using command line arguments without config(tcpprt.cfg) file
Moderator: Moderator Team
-
- Posts: 41
- Joined: Tue, 2013-07-23, 12:15
- Location: Chennai, India
-
- OFFIS DICOM Team
- Posts: 1507
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Print SCU (tcpprt) using command line arguments without config(tcpprt.cfg) file
In brief, you cannot. While the API of the underlying library of course allows the developer to set these attributes without reading a configuration file, the command line print client is designed to read configuration data from file (that is, unless you use the text-based interactive user interface, which is mostly for testing purposes). You can define most of the settings you refer to in the configuration file, though:
The MemoryAllocation attribute is not supported by the print client (and, to be honest, I have never seen a printer that uses it either).
Code: Select all
[[[CLIENT]]]
[[AUTO-1]]
[Session]
MediumType = PAPER
Destination = MAGAZINE
[Page]
ImageDisplayFormat = STANDARD\2,2
Orientation = PORTRAIT
PageSize = 8INX10IN
Magnification = REPLICATE
BorderDensity = BLACK
Who is online
Users browsing this forum: No registered users and 1 guest