GRAPHICS FILE GENERATION

Introduction

As well as printing directly to Windows print devices, Proteus can generate output for use by other applications. Seven formats are available and all of them are reached from the Export Graphics submenu of the File menu: Export Bitmap, Export Metafile, Export DXF File, Export Encapsulated Postscript, Export Adobe PDF File, Export SVG File and Export Vector File.

Each command opens its own dialogue form and each of those has an associated help topic, listed at the foot of this page. The forms have a good deal in common. All of them carry a Scope group, which selects the marked area, the current graph or the current sheet on the same enabling rules as the Print Design dialogue form. Every form except the SVG one adds all sheets to that list, and the PDF form additionally offers all board sheets for a multi-board project. All of them also carry a Rotation setting that places the X dimension of the drawing either horizontally or vertically on the output. The bitmap, metafile, SVG and PDF forms add an Output To File? option, and when you clear it the output is placed on the clipboard instead of being written to disk. The DXF, Postscript and vector forms write a file only, and each of those three offers a Scale and a Reflection setting instead.

Bitmap Generation

The Export Bitmap command creates a bitmap of the schematic and places it either on the clipboard or in a disk file. A bitmap is a fixed grid of pixels, so the resolution you choose determines how much detail survives. The dialogue form offers 100, 200, 300, 400 and 600 DPI, a choice of 16 colours, 256 colours, the current display colours or monochrome, and a background colour.

Metafile Generation

The Windows Metafile format records the drawing as a list of graphical operations rather than as pixels, so it can be scaled after the event without losing definition. Most Windows applications that accept vector artwork will read one.

The Export Metafile command creates a metafile of the schematic and places it either on the clipboard or in a disk file. Colour output can be turned on or off, and Erase Background? controls whether the metafile paints the background before drawing.

SVG File Generation

Scalable Vector Graphics (SVG) is an XML based vector image format maintained by the World Wide Web Consortium and read directly by all the major browsers, which makes it the natural choice for putting a schematic on a web page or into a document that will be viewed on screen.

The Export SVG File command writes the schematic to an SVG file or to the clipboard. Colour output and the background colour are both selectable. Text As Curves? converts every piece of text to outlines, so the drawing renders identically on a machine that does not have the fonts installed, at the cost of a larger file and text that can no longer be searched or edited. Launch Viewer? opens the finished file in your default viewer for that file type. Note that the SVG form is the one export that has no all sheets scope: it writes the marked area, the current graph or the current sheet, so a multi-sheet design is exported a sheet at a time.

DXF File Generation

DXF is the usual interchange format for mechanical CAD applications, and the Export DXF File command is the route to take when the schematic is to be dropped into a drawing package. The file is generated by a Labcenter output formatter rather than by Windows, so the appearance attributes that belong to the Windows drawing model are not carried across.

The Fill Mode setting controls how filled shapes are represented in the file, since DXF readers vary a great deal in what they make of a fill. Outlines Only omits the fill altogether, Solid writes a solid fill, Tiled writes a hatch pattern and Raster writes the fill as an image. If the receiving application renders your filled shapes badly, this is the setting to change first.

EPS File Generation

An EPS file is a form of Postscript file that can be embedded in another document, and it remains the format asked for by many publishers and print bureaux. The Export Encapsulated Postscript command writes one directly.

The dialogue form offers a scale of 1:1 or one of four reductions down to 1:4, together with the rotation and reflection settings common to the file only exports. Reflection prints the drawing either Normal or Mirror.

PDF File Generation

Proteus exports to the Adobe PDF format directly, so there is no need to install a PDF printer driver. The Export Adobe PDF File command offers colour output and a background colour, the Text As Curves? option described under SVG above, and Launch PDF Viewer? to open the finished file. Its Scope group additionally offers All Board Sheets for a multi-board project. Where the scope covers more than one sheet, one page is produced per sheet.

Vector File Generation

The Export Vector File command writes the schematic as a stream of plotter commands. Four devices are offered: HPGL, which assumes a top left origin, HPGL (CTO), which assumes a centre origin, HI-80, which suits most Epson plotters, and DPML, which suits the Houston plotter series.

This is the route to take for a pen plotter that you drive from a file rather than through a Windows printer driver. A plotter that does have a Windows driver is printed to from Print Design like any other device.

See Also:

Export Bitmap Dialogue Form

Export Metafile Dialogue Form

Export SVG Dialogue Form

Export DXF and Postscript Dialogue Forms

Export PDF Dialogue Form

Export Vector Dialogue Form

Printer Output

Output Job Manager (PCB Layout Reference Manual)