Starting mgs.exe at the DOS-Prompt

Thursday, 7 April 2005 00:00 by CSchenk

Every once in a while I receive the following request: "Please, make mgs.exe runnable at the DOS-prompt". You should know that mgs.exe is a special version of Ghostscript, meant to be called internally by MiKTeX applications (such as Yap). If you start mgs.exe at the DOS-prompt, the following will happen:

> mgs
MiKTeX GPL Ghostscript 8.15: Can't find initialization file gs_init.ps.

That's because mgs.exe doesn't use the original registry keys and environment variables. For example, mgs.exe queries MIKTEX_GS_LIB instead of GS_LIB. You can start mgs.exe at the DOS-prompt if you set MIKTEX_GS_LIB as follows:

MIKTEX_GS_LIB=C:\texmf\ghostscript\base;C:\texmf\fonts

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

July 14. 2009 04:27

pingback

Pingback from answerspluto.com

list of urls - 5 « Answers Pluto

answerspluto.com

Comments are closed