It is currently Thu Aug 17, 2017 5:20 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: GSview
PostPosted: Thu May 24, 2007 8:57 am 
Offline

Joined: Thu May 24, 2007 12:04 am
Posts: 2
GSview is a graphical interface for Ghostscript.
http://www.cs.wisc.edu/~ghost/gsview/

It asks for an installed Ghostscript,
but, in fact, I think it requires only settings of ABSOLUTE path to Ghostscript directory.

Based on the following information
http://yukongis.ca/bin/view/Main/GhostScript#Batch_Processing
I write a .bat file and a simple NSIS .exe to envoke GSview.

It dynamically sets environment variables before launching GSview, and it works.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 9:26 am 
Offline

Joined: Thu May 24, 2007 12:04 am
Posts: 2
And I would post the procedures after passing more tests.


Top
 Profile  
 
 Post subject: GSview 4.9 and Ghostscript 8.60 Portable
PostPosted: Sat Jan 12, 2008 11:55 am 
Offline
User avatar

Joined: Fri Jan 11, 2008 11:25 am
Posts: 8
FYI,

I've managed to get GSview 4.9 and Ghostscript 8.6 to run as portable apps with only a little juggling of files and haven't noticed any problems. It also works without changing any environment paths, the following should get it working:

1) Download both the apps from http://pages.cs.wisc.edu/~ghost/gsview/
- Note that I've only tried the win32 versions.

2) Both downloads are self executing zip files, rather than executing them use a program such as 7-Zip portable and extract both GSview (gsv49w32.exe) and GhostScript (gs860w32.exe) to a new directory.

Your folder layout should look like this:

New Folder
     ├───gs860w32
     │      ├───fonts
     │      └───gs8.60
     │              ├───bin
     │              ├───doc
     │              ├───examples
     │              ├───lib
     │              └───Resource
     │                      ├───CMap
     │                      ├───ColorSpace
     │                      ├───Decoding
     │                      └───Encoding
     └───gsv49w32
             ├───gsview
             └───pstotext

3) Open up the ".\gs860w32" folder and move both the "fonts" and "gs8.60" folders to the "..\gsv49w32" folder. You can then delete the "gs860w32" folder and its remaining files.

Your folder structure should now look like this:

New Folder
     └───gsv49w32
             ├───fonts
             ├───gs8.60
             │      ├───bin
             │      ├───doc
             │      ├───examples
             │      ├───lib
             │      └───Resource
             │              ├───CMap
             │              ├───ColorSpace
             │              ├───Decoding
             │              └───Encoding
             ├───gsview
             └───pstotext

4) That should be about it, to test it run the "GSviewPortable.exe" located within the "gsv49w32" folder. It should work fine and automatically locate GhostScript as it's within it's own folder.

5) The only remain steps is a little house keeping. I renamed the "gsv49w32" folder to something more appropriate like "GSview Portable". I also deleted the "setup.exe" file as it's not needed and also so my "PortableApps Menu" didn't add it to its application list. I also renamed the "GSviewPortable.exe", again so it appeared better named within the "PortableApps menu". If your tight for space deleting the doc folder within the "gs8.60" folder will reduce the app by around 8mb.

I hope helps anyone that finds PDF portability and manipulation useful. Any problems please let me know.

Kindest Regards,
Richard


Top
 Profile  
 
 Post subject: Well done!
PostPosted: Sat Jan 12, 2008 12:57 pm 
Offline
User avatar

Joined: Sat Feb 03, 2007 10:07 am
Posts: 375
Location: Palestine
@uksamo
hhmmm... I roughly know about what U 2 R talking about, but I must say that this is one very simple, and impressive scheme :)

Very well done uksamo!

(I'm definitely going to use this in the future!!)

_________________
Masked Microsoft: Where do you want to go today...
Real Micro$oft: You're NOT going anywhere today!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group