Microsoft Visio 2000 Tips

No Tip Title!

Generating EPS from diagrams

There are two ways to generate EPS. First is to select "EPS" in "File|Save As...", and the second one is to print the file.

The first way is broken - Visio tends to lose lines, gets line widths wrong etc.

To generate a good EPS, first select "File|Print" from Visio, and select "Wine Postscript Driver" from the list of printers. Check the "print to file" checkbox and press OK. Save your file as name.ps.

To convert the PS file to EPS, use the "ps2eps" program (google for it). The command line to generate the file is "ps2eps -f name.ps".

To automate the process, I have a makefile for my Latex files. The makefile looks like this (don't forget that the lines with commands must be prefixed with a tab):

PICS = pics/file1.eps pics/file2.eps
paper.dvi: paper.tex $(PICS)
        latex paper
        bibtex paper
        latex paper
        latex paper
%.eps : %.ps
        ps2eps -f $<

by Unknown on 2009-07-17 11:30:31
Important Information Tips are provided by the CrossOver Community and Advocates. They are not intended to be used for official CodeWeavers Support. For that, please visit our official support pages.
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM5NTcwNzYwLCJjc3JmX3Rva2VuIjoiVUd2Vkp0YjNXWXZXUFo2QiIsImdkcHIiOjB9