Visit Our UNIX and Linux User Community


Need help on ps2pdf


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need help on ps2pdf
# 1  
Old 11-02-2009
Need help on ps2pdf

Hi,

Iam trying to convert a .ps file to pdf in unix.

iam using the command like

ps2pdf my_file.ps my_file.pdf

it is working in server1. if i execute the same in another (server2), its not working..
So i have downloaded the ps files
(ps2pdf,ps2pdfwr,ps2pdf14,ps2pdf13,ps2pdf12,gs ) into my local dir and running the ps2pdf command.. even its not working in server2

it gives me the below error
------------------------------------------------
(191)==> ps2pdf my_file.ps my_file.pdf
ps2pdfwr: gs: Execute permission denied.
------------------------------------------------

I have even given 777 permissions to all the files i have downloaded into my local dir..

Can some one tell if iam doing any wrong.....

Regards,
Pradeep G
# 2  
Old 11-02-2009
the commands
Code:
ps2pdfwr or gs

has no Execute permission denied.

Find them out, and check the files permission.
# 3  
Old 11-03-2009
Hi,

I have copied the below files from Server1 to a local folder in server2 and then trying to execute it.

rwxrwxrwx 1 sat0157 arsys 156 Nov 3 07:54 gsbj
-rwxrwxrwx 1 sat0157 arsys 158 Nov 3 07:55 gsdj
-rwxrwxrwx 1 sat0157 arsys 161 Nov 3 07:55 gsdj500
-rwxrwxrwx 1 sat0157 arsys 159 Nov 3 07:55 gslj
-rwxrwxrwx 1 sat0157 arsys 156 Nov 3 07:55 gslp
-rwxrwxrwx 1 sat0157 arsys 83 Nov 3 07:55 gsnd
-rwxrwxrwx 1 sat0157 arsys 640 Nov 3 07:55 ps2ascii
-rwxrwxrwx 1 sat0157 arsys 1740 Nov 3 07:55 ps2epsi
-rwxrwxrwx 1 sat0157 arsys 899 Nov 3 07:55 ps2pdfwr
-rwxrwxrwx 1 sat0157 arsys 211 Nov 3 07:55 ps2pdf
-rwxrwxrwx 1 sat0157 arsys 173 Nov 3 07:55 ps2pdf12
-rwxrwxrwx 1 sat0157 arsys 173 Nov 3 07:55 ps2pdf13
-rwxrwxrwx 1 sat0157 arsys 173 Nov 3 07:55 ps2pdf14
rwxrwxrwx 1 sat0157 arsys 373 Nov 3 07:55 ps2ps
rwxrwxrwx 1 sat0157 arsys 28668 Nov 3 07:55 pspp
rwxrwxrwx 1 sat0157 arsys 3246136 Nov 3 08:00 gs
rwxrwxrwx 1 sat0157 arsys 132140 Nov 3 08:00 pstree

But iam not able to run it successfully.

Below is the error..

ps2pdfwr: gs: Execute permission denied.

Regards,
Pradeep G

Previous Thread | Next Thread
Test Your Knowledge in Computers #772
Difficulty: Medium
An arcade system board is a dedicated computer system created for the purpose of running video arcade games.
True or False?

4 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ps2pdf: Unrecoverable error

Good Day all, I'm new to ghostscript and have installed it in my unix system two days back. But while using ps2pdf, I get the error pasted at the bottom. I was able to convert my PS file via PDF Creator manually. But this error seems to be coming while using ps2pdf. My PS File is... (8 Replies)
Discussion started by: ADHVADARZIN
8 Replies

2. UNIX and Linux Applications

Creating pdf with bookmarks using ps2pdf ??

Hello to all, I have a *.ps file, which needs to be converted to a pdf file. The file is huge & i would like it to have bookmarked according to main titles (already provided). What is the option used in ps2pdf command, that will generate bookmarks from a *.ps file ? Kindly help. Thanks. ... (0 Replies)
Discussion started by: frozensmilz
0 Replies

3. Solaris

Print to ps2pdf print queue

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies

4. UNIX for Dummies Questions & Answers

Print to a ps2pdf print queue.

I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies

Featured Tech Videos