Windows 7 及 Visio 2010 下验证可行:

  • 添加本地打印机,类型选择 Generic -> MS Publisher Color Printer
  • 在 Visio 中打印,选择新添加的打印机,选中 Print to file,点 Properties -> Advanced
  • Document Options -> PostScript Options -> PostScript Output Option 中,选择 Encapsulated PostScript (EPS)
  • 保存时别忘了加后缀名 .eps

这样输出的 EPS 文件的边框是整个 A4 页面,需要用 epstool 把它们周围的白边框去掉:

epstool --copy --bbox figure.eps figure-fixed.eps

epstool 在常见的几个软件源中应该都能找到。