title: PowerBuilder 12.5 Classic PDF SaveAs creating files of 0 size on Win7 x64
body: <h2>Platform:</h2>
  
  <p>Windows 7 <strong>x64</strong></p>
  
  <p>PB 12.5 Classic</p>
  
  <p>Ghostscript 9.07 (both x32 and x64 are installed)</p>
  
  <p>HP Laserjet PS printer installed as "Sybase DataWindow PS"</p>
  
  <hr>
  
  <p>Datawindow's Data Export tab has Format to configure: <code>PDF</code> and Method: <code>Distill</code>. Both the checkboxes "Distill custom postscript" and "Print using XSLFOP" are unchecked.</p>
  
  <p>I click <code>File | Run/Preview</code> and <code>File | Save Rows As</code> and select <code>PDF</code> as save as type and enter a pdf file name and click on Save. It says in a message box that <code>Save Rows As failed</code>. I find the file has been created on disk but with size 0 bytes. </p>
  
  <p>I have noticed that the manual states this can happen if Ghostscript is not installed. However, I have installed first x64 and then also x32 versions of Ghostscript. I installed x64 cause somewhere in the PB manual it mentioned that I need to install Ghostscript for the platform of the OS and since I am on x64 Win7 I installed x64 Ghostscript. However, it is not working on both.</p>
  
  <p>What could be wrong? Anyone any ideas? I have searched the net and stackoverflow for solutions and everyone seems to be pointing to x32 platform (it seemed to me) as also on XP. My XP installation earlier was working fine. I am now on Win7 x64 and need this to work on it.</p>
  
  <p>TIA </p>