Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do you use GhostScript to display PostScript files to the screen from DOS?

0
Posted

How do you use GhostScript to display PostScript files to the screen from DOS?

0

There are three ways: Quickest way: Create a directory called C:\GS Copy all files in the directory $MATLAB\GHOSTSCR\BIN , $MATLAB\GHOSTSCR\PS_FILES, and $MATLAB\GHOSTSCR\FONTS to C:\GS (where $MATLAB represents the MATLAB root directory) Copy the PostScript file to C:\GS CD to C:\GS Execute the command GS386 where is the whole name, including the .ps extension. If for some reason this doesn’t work, try DOS4GW GS386 . Clean but somewhat cumbersome: CD to the $MATLAB\GHOSTSCR\BIN directory Execute the command GS386 -I..\PS_FILES -I..\FONTS where here represents the full path name to the postscript file. Clean and easy but more permanent: Add $MATLAB\GHOSTSCR\BIN to your DOS path. In the AUTOEXEC.BAT file, set an environment variable called GS_LIB as follows: set GS_LIB = $MATLAB\GHOSTSCR\PS_FILES;$MATLAB\GHOSTSCR\FONTS (where $MATLAB is replaced by the MATLAB root directory.) Now to

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123