title: How to use dcmtk/dcmprscp in Windows
body: <p>How can I use dcmprscp to receive from SCU Printer a DICOM file and save it, I'm using dcmtk 3.6 &amp; I've some trouble to use it with the default help, this's what I'm doing in CMD:</p>
  
  <pre><code>dcmprscp.exe --config dcmpstat.cfg --printer PRINT2FILE
  </code></pre>
  
  <p>each time I receive this messagebut (database\index.da) don't exsist in windows</p>
  
  <pre><code>W: $dcmtk: dcmprscp v3.6.0 2011-01-06 $
  W: 2016-02-21 00:08:09
  W: started
  E: database\index.dat: No such file or directory
  F: Unable to access database 'database'
  </code></pre>
  
  <p>I try to follow some tip, but the same result : 
  <a href="http://www.programmershare.com/2468333/" rel="nofollow">http://www.programmershare.com/2468333/</a></p>
  
  <p><a href="http://www.programmershare.com/3020601/" rel="nofollow">http://www.programmershare.com/3020601/</a></p>
  
  <p>and this's my printer's PRINT2FILE config :</p>
  
  <pre><code>[PRINT2FILE]
  hostname = localhost
  type = LOCALPRINTER
  description = PRINT2FILE
  port = 20006 
  aetitle = PRINT2FILE 
  DisableNewVRs = true 
  FilmDestination = MAGAZINE\PROCESSOR\BIN_1\BIN_2 
  SupportsPresentationLUT = true 
  PresentationLUTinFilmSession = true 
  PresentationLUTMatchRequired = true 
  PresentationLUTPreferSCPRendering = false 
  SupportsImageSize = true 
  SmoothingType = 0\1\2\3\4\5\6\7\8\9\10\11\12\13\14\15 
  BorderDensity = BLACK\WHITE\150 
  EmptyImageDensity = BLACK\WHITE\150 
  MaxDensity = 320\310\300\290\280\270 
  MinDensity = 20\25\30\35\40\45\50 
  Annotation = 2\ANNOTATION 
  Configuration_1 = PERCEPTION_LUT=OEM001 
  Configuration_2 = PERCEPTION_LUT=KANAMORI 
  Configuration_3 = ANNOTATION1=FILE1 
  Configuration_4 = ANNOTATION1=PATID 
  Configuration_5 = WINDOW_WIDTH=256\WINDOW_CENTER=128 
  Supports12Bit = true 
  SupportsDecimateCrop = false 
  SupportsTrim = true 
  DisplayFormat=1,1\2,1\1,2\2,2\3,2\2,3\3,3\4,3\5,3\3,4\4,4\5,4\6,4\3,5\4,5\5,5\6,5\4,6\5,6 
  FilmSizeID = 8INX10IN\11INX14IN\14INX14IN\14INX17IN 
  MediumType = PAPER\CLEAR FILM\BLUE FILM 
  MagnificationType = REPLICATE\BILINEAR\CUBIC
  </code></pre>