Orbeon System call

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon System call

Alaoui-3
Hi,

I have an orbeon application running on a redhat server.

I'm also using ghostscript to convert various file format (pdf...jpeg...) and it's running well.
(I find lacks while using pdfbox, "pdf image not converted...")

I'd like to know if there is a way to make a call to a system routine from inside orbeon.

Ex : gs -dBATCH -dNOPAUSE -dNOPROMPT -sDEVICE=jpeg -dJPEGQ=100 -OutputFile=foo%d.jpg flee.pdf

thanks in advance.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon System call

damonrand
Hi,

In order of probable ease..

Did you have a look at the OPS pdf conversion examples? Might you be able to
use them instead of ghostscript? Or an existing java pdfbox wrapper?

Otherwise, maybe you can call System.exec() from a custom processor.

Finally, you could create your own java pdfbox daemon/service running
outside OPS and have it listen for remote requests from an OPS server.. I
would probably use Spring/Burlap for the remote communication when taking
that approach.

Damon.


----- Original Message -----
From: <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, September 13, 2005 7:26 PM
Subject: [ops-users] Orbeon System call


> Hi,
>
> I have an orbeon application running on a redhat server.
>
> I'm also using ghostscript to convert various file format (pdf...jpeg...)
> and it's running well.
> (I find lacks while using pdfbox, "pdf image not converted...")
>
> I'd like to know if there is a way to make a call to a system routine from
> inside orbeon.
>
> Ex :
> gs -dBATCH -dNOPAUSE -dNOPROMPT -sDEVICE=jpeg -dJPEGQ=100 -OutputFile=foo%d.jpg
> flee.pdf
>
> thanks in advance.
>
>

--------------------------------------------------------------------------------


>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon System call

dsmall-2
In reply to this post by Alaoui-3

On Tue, 13 Sep 2005 20:26:28 +0200, [hidden email] said:

> Hi,
>
> I have an orbeon application running on a redhat server.
>
> I'm also using ghostscript to convert various file format (pdf...jpeg...)
> and it's running well.
> (I find lacks while using pdfbox, "pdf image not converted...")
>
> I'd like to know if there is a way to make a call to a system routine
> from inside orbeon.
>
> Ex : gs -dBATCH -dNOPAUSE -dNOPROMPT -sDEVICE=jpeg -dJPEGQ=100
> -OutputFile=foo%d.jpg flee.pdf
You could use the Java processor and from there use Runtime.exec.

-- Regards, Dan S

--
http://www.fastmail.fm - A fast, anti-spam email service.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Orbeon System call

Alaoui-3
In reply to this post by Alaoui-3
This is nice.

Thanks

Youssef Medaghri-Alaoui
 
-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]]
Envoyé : mercredi 14 septembre 2005 08:09
À : [hidden email]
Objet : Re: [ops-users] Orbeon System call


On Tue, 13 Sep 2005 20:26:28 +0200, [hidden email] said:

> Hi,
>
> I have an orbeon application running on a redhat server.
>
> I'm also using ghostscript to convert various file format (pdf...jpeg...)
> and it's running well.
> (I find lacks while using pdfbox, "pdf image not converted...")
>
> I'd like to know if there is a way to make a call to a system routine
> from inside orbeon.
>
> Ex : gs -dBATCH -dNOPAUSE -dNOPROMPT -sDEVICE=jpeg -dJPEGQ=100
> -OutputFile=foo%d.jpg flee.pdf
You could use the Java processor and from there use Runtime.exec.

-- Regards, Dan S

--
http://www.fastmail.fm - A fast, anti-spam email service.





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws