For Programmers: Free Programming Magazines  


Home > Archive > PostScript > November 2005 > How to visualize the Graphic Windows with Mandriva Linux









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to visualize the Graphic Windows with Mandriva Linux
Roberto

2005-11-15, 7:01 pm

Hi everybody,
I'm a new user of this group, and a new Post Script student, too.
I'm learning how to program with PS, especially how to draw graphics
and functions.
For this reason I use Ghost Script everyday, but I use both Windows and
Linux and, with the last one and GS I have some problems. Actually, in
MS Windows everytime I start GS I see a terminal window and a graphic
window, where I can see how the graphic commands act, although in
Mandriva Linux, if I run gs from the linux prompt in a kde terminal, I
only see the GS prompt but the graphic window is Not displayed!! I
really need this last one but how can I make it appear in Linux?!
(Note: using SuSe Linux the 2 windows both appear!!!!)
Hoping somebody will reply me as soon as possible, I wanna thank you
all for the time you have given me.
See you,
Roberto (Italy)
robgenna@tiscali.it

Lars Kellogg-Stedman

2005-11-16, 7:58 am

> Mandriva Linux, if I run gs from the linux prompt in a kde terminal, I
> only see the GS prompt but the graphic window is Not displayed!! I
> really need this last one but how can I make it appear in Linux?!


Roberto,

It's possible that the version of gs you've got has been compiled
without GUI support -- this is common in cases where gs is being used
primarily as part of the printing subsystem (to render Postscript
documents into something suitable for printing on, e.g., an inkjet
printer).

I'm not familiar with Mandriva -- perhaps there is an alternate
ghostscript package you can install?

-- Lars

--
Lars Kellogg-Stedman <1o4ibj70m3vooae@jetable.org>
This email address will expire on 2005-11-22.

Roberto

2005-11-16, 7:02 pm

There are no others Ghost Script packages in Mandriva.... and even if I
install GS from the sorgents (compiling them) I cannot get that
window!!

Thank you again

Roberto

Russell Lang

2005-11-19, 3:57 am


"Roberto" <robgenna@tiscali.it> wrote in message
news:1132157385.727582.153520@g47g2000cwa.googlegroups.com...
> There are no others Ghost Script packages in Mandriva.... and even if I
> install GS from the sorgents (compiling them) I cannot get that
> window!!


Try using "gs -sDEVICE=x11 ..."
If ghostscript is built as a shared library (for use by GSview),
then the first device is "display", not "x11". To use the display
device you need a gtk+ program (gsx) to provide the image
window. If you have got gsx, you may find it better than the
x11 device because you get scroll bars.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com