Turn PS into PDF

Made a small plugin that lets me generate PDF from PS, via the "ps2pdf" utility on Ubuntu (and probably other Linuxes and other os'es):

Aside from the NetBeans API classes relating to files, I used the following for the above integration:

  • org.netbeans.api.progress.ProgressHandle
  • org.netbeans.api.progress.ProgressHandleFactory
  • org.openide.execution.NbProcessDescriptor
  • org.openide.util.RequestProcessor
  • org.openide.windows.IOProvider
  • org.openide.windows.InputOutput
  • org.openide.windows.OutputWriter

As a result, I can write the output from the external process to the Output window in the IDE, I prevent the GUI from hanging while the processing occurs, and I integrate with the IDE's progress bar.

Comments:

Geertjan, this would be great as a tutorial for progress handling

Posted by David on September 02, 2009 at 11:46 PM PDT #

Cool! Is this Plug-in available for download? Thanks.

Posted by Marco Hunsicker on September 14, 2009 at 02:25 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today