One-Stage Dicom print with dcmpsprt

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Mokhabadi
Posts: 3
Joined: Sat, 2017-10-21, 16:58

One-Stage Dicom print with dcmpsprt

#1 Post by Mokhabadi »

hello everyone! i have a question. i can print a .dcm dicom image with two tools: dcmpsprt and dcmprscu.
however it is a bit messy! because of additional files and random name!
the question is: how can i print a .dcm dicom file in one stage?
in link below Dr. Marco Eichelberg is said that it is possible:
https://groups.google.com/forum/#!topic ... XbRvISex9A
but i encounter this error:
W: unable to start print spooler, ignoring.
W: unable to stop print spooler, ignoring.

as i said, my config file is correct and printer works well with dcmprscu.
i think i don't understand "spool" meaning! is spooling and printing have same meaning?

thanks!

J. Riesmeier
DCMTK Developer
Posts: 2496
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: One-Stage Dicom print with dcmpsprt

#2 Post by J. Riesmeier »

Did you make sure that the program "dcmprscu" is in the search path (or current directory) or whatever is configured to be the "Spooler" program in the config file. The warning message says that the spooler program (i.e. dcmprscu) could not be started.

Mokhabadi
Posts: 3
Joined: Sat, 2017-10-21, 16:58

Re: One-Stage Dicom print with dcmpsprt

#3 Post by Mokhabadi »

thank you very much J. Riesmeier for your answer. the problem was the missing "Spooler" attribute in config file. i added snippet below and now i works fine:

[[GENERAL]]
[PRINT]
Spooler = dcmprscu

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest