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

Be the first to rate this post

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

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

January 7. 2009 12:17