DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sun, 2018-06-24, 12:13

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Print SCU
PostPosted: Mon, 2005-11-14, 10:46 
Offline

Joined: Mon, 2005-11-14, 10:29
Posts: 2
I have been trying to execute printscu.exe with the parameters given in your help file. I are not sure what parameters to pass to print scu.

Your dcmstorescu.exe has parameters for association with the server. The command line arguments are very clear.

But when I saw the Print scu command line, i could not find parameters for association with the server.

Can you please guide me how I need to create association with SCP using printscu.exe at command line.

Please provide me example of total command line to print an image to the server (Including configuration Parameters, print mode........)

Thanking You,
Kabini


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2005-11-14, 11:06 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1214
Location: Oldenburg, Germany
There is no tool called "printscu.exe", neither in DCMPRINT nor in the public DICOM toolkit (DCMTK). The public toolkit contains a print client named "dcmprscu" and the DCMPRINT module has a totally different print client named "tcpprt". Both print clients require a configuration file, which may require changes to correctly describe your print server. In the case of tcpprt, a sample named "tcpprt.cfg" is provided with the DCMPRINT toolkit, in the case of dcmprscu, a sample file named "dcmpstat.cfg" is provided with DCMTK.
  • To print an image file named image.dcm with tcpprt, the command line image.dcm
    Code:
    tcpprt -c tcpprt.cfg --auto 1 --target hostname:port
    will do.
  • To print the image with the public toolkit, more steps are necessary. You first need to prepare a print job with the tool "dcmpsprt", then use dcmprscu to "spool" the print job to the printer. The command lines may look like this:
    Code:
    dcmpsprt -v -c dcmpstat.cfg --printer MYPRINTER image.dcm
    dcmprscu -v -c dcmpstat.cfg --printer MYPRINTER
In the latter case, MYPRINTER refers to the section in the configuration file where the details of the print server are defined. Please also note that, unlinke tcpprt, the public tool will only support grayscale images and grayscale print management.


Top
 Profile  
 
PostPosted: Tue, 2006-02-21, 08:21 
Offline

Joined: Sat, 2005-12-24, 14:03
Posts: 5
After comand line dcmpsprt ,3 files are generated in the dir:database: index.dat\sg*.dcm\hp*.dcm.
But the second comand line does not work!
what 's wrong???

Quote:
C:\dcmbin>dcmpsprt -v -c dcmpstat.cfg --printer IHEFULL ct.dcm
loading image file 'ct.dcm'
writing DICOM grayscale hardcopy image to database.
writing DICOM stored print object to database.

C:\dcmbin>dcmprscu -v -c dcmpstat.cfg --printer IHEFULL
Printer parameters for 'IHEFULL':
hostname : localhost
port : 104
description : IHE Full Print SCP
aetitle : IHEFULL
max pdu : 32768
timeout : -1
options : none.
12-bit xfer : supported
present.lut : supported
annotation : not supported

Spooler parameters:
mode : printer mode
copies : 0
medium : printer default
destination : printer default
label : printer default
priority : printer default
owner ID : printer default

transport layer security parameters:
TLS : disabled

spooler: no stored print files specified - nothing to do.


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 2006-02-21, 12:51 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1214
Location: Oldenburg, Germany
Sorry, the command line in my example was incomplete. You have to add the path/filename of the Stored Print file (sp_something.dcm) generated by dcmpsprt.


Top
 Profile  
 
PostPosted: Thu, 2006-10-05, 15:16 
Offline

Joined: Thu, 2006-03-23, 13:34
Posts: 14
Hi Marco,

I was reading the example you wrote for tcpprt in this old post, and I have been trying to use tcpprt exactly in the same way you described. However, I don't see how to specify the filename "image.dcm".

What am I missing ?

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 2006-10-14, 16:18 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1214
Location: Oldenburg, Germany
The example applies to the print SCU from the base toolkit (DCMTK), not to tcpprt, where you would have to use the -a command line option instead (see tcpprt --help).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group