about dcmprscp.exe

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
luyuxibaby
Posts: 6
Joined: Mon, 2011-04-18, 04:27

about dcmprscp.exe

#1 Post by luyuxibaby »

hello everyone

i wanna use dcmprscp.exe to print image in command line ,but it 's show me the error message :

Code: Select all

E: database\index.dat: No such file or directory
F: Unable to access database 'database'
please tell me why ,and how to correct use it .

i input this command :

Code: Select all

C:\DCMTK>dcmprscp.exe -c dcmpstat.cfg -p IHEFULL

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: about dcmprscp.exe

#2 Post by Michael Onken »

Hi,

look into the config file and edit the configuration so it matches your requirements and system (directories, etc.).

Best,
Michael

luyuxibaby
Posts: 6
Joined: Mon, 2011-04-18, 04:27

Re: about dcmprscp.exe

#3 Post by luyuxibaby »

Michael Onken wrote:Hi,

look into the config file and edit the configuration so it matches your requirements and system (directories, etc.).

Best,
Michael
hi Michael,

i 've other question ,when i use dcmpsprt.exe to create print job. dcmpsprt.exe show me some errors .please look at it ;

C:\Documents and Settings\Administrator>D:\EvertopPrinter\Debug\dcmpsprt.exe -s
-c D:\EvertopPrinter\Debug\dcmpstat.cfg -p IHEFULL D:\EvertopPrinter\Debug\dcm1.
dcm --filmsize 8INX10IN -v -d
D: $dcmtk: dcmpsprt v3.6.0 2011-01-06 $
D:
D: ---------------------------
D: --- Application started ---
D: ---------------------------
D: Starting print spooler process ...
I: loading image file 'D:\EvertopPrinter\Debug\dcm1.dcm'
D: DcmItem::checkTransferSyntax() TransferSyntax="Little Endian Explicit"
D: transfer syntax of DICOM dataset: Little Endian Explicit (1.2.840.10008.1.2.1
)
D: reading uncompressed pixel data completely into memory
D: convert input pixel data: case 1a (single copy)
D: determining minimum and maximum pixel values for input data
D: using optimized routine with additional LUT
I: configuration flag set ... ignoring possible modality transform
D: re-using input buffer, do not copy pixel data
D: using scaling algorithm with interpolation from pbmplus toolkit
D: determining global minimum and maximum pixel values for monochrome image
D: using replicate pixel scaling algorithm without interpolation
D: determining global minimum and maximum pixel values for monochrome image
D: applying linear VOI transformation with window center = 116, width = 256
D: using optimized routine with additional LUT (256 entries)
I: writing DICOM grayscale hardcopy image to database.
E: database\index.dat: No such file or directory
D: Save hardcopy grayscale image to database failed: could not lock index file
F: error during creation of DICOM grayscale hardcopy image file
I: Application terminated

C:\Documents and Settings\Administrator>


thinks !

danilosanchesibm
Posts: 2
Joined: Mon, 2016-05-09, 08:26

Re: about dcmprscp.exe

#4 Post by danilosanchesibm »

4 year later, I have the same problem!
Did you solve it??

luyuxibaby wrote:
Michael Onken wrote:Hi,

look into the config file and edit the configuration so it matches your requirements and system (directories, etc.).

Best,
Michael
hi Michael,

i 've other question ,when i use dcmpsprt.exe to create print job. dcmpsprt.exe show me some errors .please look at it ;

C:\Documents and Settings\Administrator>D:\EvertopPrinter\Debug\dcmpsprt.exe -s
-c D:\EvertopPrinter\Debug\dcmpstat.cfg -p IHEFULL D:\EvertopPrinter\Debug\dcm1.
dcm --filmsize 8INX10IN -v -d
D: $dcmtk: dcmpsprt v3.6.0 2011-01-06 $
D:
D: ---------------------------
D: --- Application started ---
D: ---------------------------
D: Starting print spooler process ...
I: loading image file 'D:\EvertopPrinter\Debug\dcm1.dcm'
D: DcmItem::checkTransferSyntax() TransferSyntax="Little Endian Explicit"
D: transfer syntax of DICOM dataset: Little Endian Explicit (1.2.840.10008.1.2.1
)
D: reading uncompressed pixel data completely into memory
D: convert input pixel data: case 1a (single copy)
D: determining minimum and maximum pixel values for input data
D: using optimized routine with additional LUT
I: configuration flag set ... ignoring possible modality transform
D: re-using input buffer, do not copy pixel data
D: using scaling algorithm with interpolation from pbmplus toolkit
D: determining global minimum and maximum pixel values for monochrome image
D: using replicate pixel scaling algorithm without interpolation
D: determining global minimum and maximum pixel values for monochrome image
D: applying linear VOI transformation with window center = 116, width = 256
D: using optimized routine with additional LUT (256 entries)
I: writing DICOM grayscale hardcopy image to database.
E: database\index.dat: No such file or directory
D: Save hardcopy grayscale image to database failed: could not lock index file
F: error during creation of DICOM grayscale hardcopy image file
I: Application terminated

C:\Documents and Settings\Administrator>


thinks !

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: about dcmprscp.exe

#5 Post by Michael Onken »

Hi,

well, obviously some file/directory setting is wrong as the log states:
E: database\index.dat: No such file or directory
Michael

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest