1dcmpsprt(1)                       OFFIS DCMTK                      dcmpsprt(1)
2
3
4

NAME

6       dcmpsprt  -  Read DICOM images and presentation states and render print
7       job
8

SYNOPSIS

10       dcmpsprt [options] dcmfile-in...
11

DESCRIPTION

13       The dcmpsprt utility reads one or more DICOM  images  and  presentation
14       states  and  creates  a print job. The print job consists of one Stored
15       Print object and one or more Hardcopy Grayscale images and  is  written
16       to  the database specified in the configuration file. The print job can
17       optionally be spooled to the printer. In this case, dcmpsprt calls  the
18       dcmprscu application which performs communication with the printer.
19

PARAMETERS

21       dcmfile-in  DICOM image file(s) to be printed
22

OPTIONS

24   general options
25         -h   --help
26                print this help text and exit
27
28              --version
29                print version information and exit
30
31              --arguments
32                print expanded command line arguments
33
34         -q   --quiet
35                quiet mode, print no warnings and errors
36
37         -v   --verbose
38                verbose mode, print processing details
39
40         -d   --debug
41                debug mode, print debug information
42
43         -ll  --log-level  [l]evel: string constant
44                (fatal, error, warn, info, debug, trace)
45                use level l for the logger
46
47         -lc  --log-config  [f]ilename: string
48                use config file f for the logger
49
50   processing options
51         +p   --pstate  [p]state file: string
52                render the following image with presentation state p
53                (this option can be specified multiple times)
54
55         -c   --config  [f]ilename: string
56                process using settings from configuration file f
57
58         -p   --printer  [n]ame: string (default: 1st printer in cfg file)
59                select printer with identifier n from cfg file
60
61   spooling options
62         -s   --spool
63                spool print job to DICOM printer
64
65              --nospool
66                do not spool print job to DICOM printer (default)
67
68   film orientation options
69              --portrait
70                set portrait orientation
71
72              --landscape
73                set landscape orientation
74
75              --default-orientation
76                use printer default (default)
77
78   trim (border) options
79              --trim
80                set trim on
81
82              --no-trim
83                set trim off
84
85              --default-trim
86                use printer default (default)
87
88   requested decimate/crop behaviour options
89              --request-decimate
90                request decimate
91
92              --request-crop
93                request crop
94
95              --request-fail
96                request failure
97
98              --default-request
99                use printer default (default)
100
101   print presentation LUT options
102              --default-plut
103                do not create presentation LUT (default)
104
105              --identity
106                set IDENTITY presentation LUT shape
107
108              --plut  [l]ut identifier: string
109                add LUT l to print job
110
111              --inverse-plut
112                render the inverse presentation LUT into the
113                bitmap of the hardcopy grayscale image
114
115              --illumination  [v]alue: integer (0..65535)
116                set illumination to v (in cd/m^2)
117
118              --reflection  [v]alue: integer (0..65535)
119                set reflected ambient light to v (in cd/m^2)
120
121   basic film session options (only with --spool)
122              --copies  [v]alue: integer (1..100, default: 1)
123                set number of copies to v
124
125              --medium-type  [v]alue: string
126                set medium type to v
127
128              --destination  [v]alue: string
129                set film destination to v
130
131              --label  [v]alue: string
132                set film session label to v
133
134              --priority  [v]alue: string
135                set print priority to v
136
137              --owner  [v]alue: string
138                set film session owner ID to v
139
140   annotation options
141              --no-annotation
142                do not create annotation (default)
143
144         -a   --annotation  [t]ext: string
145                create annotation with text t
146
147         +pd  --print-date
148                prepend date/time to annotation (default)
149
150         -pd  --print-no-date
151                do not prepend date/time to annotation
152
153         +pn  --print-name
154                prepend printer name to annotation (default)
155
156         -pn  --print-no-name
157                do not prepend printer name to annotation
158
159         +pl  --print-lighting
160                prepend illumination to annotation (default)
161
162         -pl  --print-no-lighting
163                do not prepend illumination to annotation
164
165   overlay options
166         +O   --overlay  [f]ilename: string, [x] [y]: integer
167                load overlay data from PBM file f and display at position (x,y)
168
169         +Og  --ovl-graylevel  [v]alue: integer (0..4095)
170                use overlay gray level v (default: 4095 = white)
171
172   other_print_options
173         -l   --layout  [c]olumns [r]ows: integer (default: 1 1)
174                use 'STANDARD
175              --filmsize  [v]alue: string
176                set film size ID to v
177
178              --magnification  [v]alue: string
179                set magnification type to v
180
181              --smoothing  [v]alue: string
182                set smoothing type to v
183
184              --configinfo  [v]alue: string
185                set configuration information to v
186
187              --resolution  [v]alue: string
188                set requested resolution ID to v
189
190              --border  [v]alue: string
191                set border density to v
192
193              --empty-image  [v]alue: string
194                set empty image density to v
195
196              --max-density  [v]alue: string
197                set max density to v
198
199              --min-density  [v]alue: string
200                set min density to v
201
202              --img-polarity  [v]alue: string
203                set image box polarity to v (NORMAL or REVERSE)
204
205              --img-request-size  [v]alue: string
206                set requested image size to v (width in mm)
207
208              --img-magnification  [v]alue: string
209                set image box magnification type to v
210
211              --img-smoothing  [v]alue: string
212                set image box smoothing type to v
213
214              --img-configinfo  [v]alue: string
215                set image box configuration information to v
216

LOGGING

218       The  level  of  logging  output  of  the various command line tools and
219       underlying libraries can be specified by the  user.  By  default,  only
220       errors  and  warnings  are  written to the standard error stream. Using
221       option --verbose also informational messages  like  processing  details
222       are  reported.  Option  --debug  can be used to get more details on the
223       internal activity, e.g. for debugging purposes.  Other  logging  levels
224       can  be  selected  using option --log-level. In --quiet mode only fatal
225       errors are reported. In such very severe error events, the  application
226       will  usually  terminate.  For  more  details  on the different logging
227       levels, see documentation of module 'oflog'.
228
229       In case the logging output should be written to file  (optionally  with
230       logfile  rotation),  to syslog (Unix) or the event log (Windows) option
231       --log-config can be used.  This  configuration  file  also  allows  for
232       directing  only  certain messages to a particular output stream and for
233       filtering certain messages based on the  module  or  application  where
234       they  are  generated.  An  example  configuration  file  is provided in
235       <etcdir>/logger.cfg).
236

COMMAND LINE

238       All command line tools  use  the  following  notation  for  parameters:
239       square  brackets  enclose  optional  values  (0-1), three trailing dots
240       indicate that multiple values are allowed (1-n), a combination of  both
241       means 0 to n values.
242
243       Command line options are distinguished from parameters by a leading '+'
244       or '-' sign, respectively. Usually, order and position of command  line
245       options  are  arbitrary  (i.e.  they  can appear anywhere). However, if
246       options are mutually exclusive the rightmost appearance is  used.  This
247       behaviour  conforms  to  the  standard  evaluation rules of common Unix
248       shells.
249
250       In addition, one or more command files can be specified  using  an  '@'
251       sign  as  a  prefix to the filename (e.g. @command.txt). Such a command
252       argument is replaced by the content  of  the  corresponding  text  file
253       (multiple  whitespaces  are  treated  as a single separator unless they
254       appear between two quotation marks) prior to  any  further  evaluation.
255       Please  note  that  a command file cannot contain another command file.
256       This  simple  but  effective  approach  allows  to   summarize   common
257       combinations  of  options/parameters  and  avoids longish and confusing
258       command lines (an example is provided in file <datadir>/dumppat.txt).
259

ENVIRONMENT

261       The dcmpsprt utility will  attempt  to  load  DICOM  data  dictionaries
262       specified  in the DCMDICTPATH environment variable. By default, i.e. if
263       the  DCMDICTPATH  environment   variable   is   not   set,   the   file
264       <datadir>/dicom.dic  will be loaded unless the dictionary is built into
265       the application (default for Windows).
266
267       The  default  behaviour  should  be  preferred  and   the   DCMDICTPATH
268       environment  variable  only used when alternative data dictionaries are
269       required. The DCMDICTPATH environment variable has the same  format  as
270       the  Unix  shell PATH variable in that a colon (':') separates entries.
271       On Windows systems, a semicolon (';') is used as a separator. The  data
272       dictionary  code  will  attempt  to  load  each  file  specified in the
273       DCMDICTPATH environment variable. It is an error if no data  dictionary
274       can be loaded.
275

FILES

277       <etcdir>/dcmpstat.cfg,  <etcdir>/printers.cfg  -  sample  configuration
278       files
279

SEE ALSO

281       dcmprscu(1)
282
284       Copyright (C) 1999-2010 by OFFIS e.V., Escherweg  2,  26121  Oldenburg,
285       Germany.
286
287
288
289Version 3.6.0                     6 Jan 2011                       dcmpsprt(1)
Impressum