OrCAD® PCX Drivers

 


At one point in my engineering career, I needed to create graphic versions of OrCAD SDT schematics in some sort of 'standard' format.  OrCAD SDT produces output in a number of formats, but not in any of the standard graphics file types (BMP, GIF, JPEG, etc.)  I decided to create a printer driver that outputs pages of schematics as PCX-format files.

Why PCX?  Three reasons:  1) the PC fax package that I was using (in 1991-1992) accepted very few formats, but PCX was one of them; 2) I had the specification for PCX format at my disposal; and 3) at the time I wrote the drivers, PCX was one of the more common graphics formats.  (The briefly popular GEM operating system used PCX, and Windows 2.x and 3.x supported the format in their Paint program -- they might still support it, who knows?)  Based on the example code provided on the OrCAD website, it looked like creating a printer driver for PCX in OrCAD SDT was straightforward.

The need I had for PCX format has long since disappeared, thanks to the improvements in graphics applications, but I still found the drivers to be useful to create OrCAD SDT schematic diagrams to add to specifications, white papers, etc.  Once the schematic has been created as a PCX file, it can be imported into Adobe® PhotoShop, Corel Paint Shop Pro, Microsoft® Word, Lotus® Word Pro, etc. and cropped as necessary, or converted to another format.  These programs can also be used to print on modern printers which do not have OrCAD SDT printer drivers, without the bother of writing a printer driver for the specific printer (see below).  Simply fit the PCX file to the maximum size allowed on the printed page, then print the file the same way that photos and other graphics are printed.

While OrCAD has replaced SDT with other versions, including the latest version, OrCAD Capture™, there are still copies of the earlier SDT programs in use in some places.  (I've been amazed at the resiliency of this long-obsolete tool!)  If you are a user of one of the earlier versions, you might find these drivers useful.

Additional drivers and information used to be available at OrCAD's website.  How much of it is still there is anyone's guess, as OrCAD SDT has been out of production for almost 20 years.  The information was always limited -- there was never a "how-to" guide for writing drivers.  I can only provide the very tiniest bit of support in their operation, as I have not even used these drivers since around 1997!  At this point, I don't even have a PC running SDT to test them on.  Consider them worth at least the price you paid (nothing), and take it from there.

 

Download the drivers.

 

After several requests, I decided to hunt down and post the source code for the drivers, to allow users to modify the operation if necessary for their work.  This code is now released to the public domain, with the following limitations:

  • The source code must be used for individual personal needs only.  If you are a teacher, student, engineer, or designer, feel free to use and modify this source code for your requirements, including your normal work tasks, and to pass along copies of this code along with any modifications to others.

  • HOWEVER, YOU MAY NOT SELL, LEASE, OR IN ANY MANNER CHARGE FOR THE DISTRIBUTION OR INCLUSION OF THIS CODE, OR ANY NEW DRIVER VERSIONS DEVELOPED THROUGH THE USE OF THIS CODE, WITHOUT EXPRESSED WRITTEN PERMISSION FROM THIS AUTHOR.  This code was given freely to the public domain, and was not intended to be sold.  In addition, this code was developed from example code provided free of charge by OrCAD L.P., and any commercial limitations imposed by OrCAD or its current owner, Mentor Graphics®, are also in effect.

  • If you make modifications and then re-distribute the source code, you must include this list of limitations, as well as the the name and address of this author (Bruce Wahler, Ashby Solutions, Ashby, MA USA, bruce@ashbysolutions.com).

  • No support will be provided for the source code, under any circumstances.  Using this code requires at least a limited understanding of the 80x86 assembly language, as well as an assembler and linker.  There are commercial manuals available to teach this skill, and tools to build the drivers; please do not request instruction or help from this author.  The last updates to the drivers were made in March, 1992; I have not touched the code since.  (It sort of worked after a couple of tweaks, and while there were improvements that I could have made, there were more important uses for my time.)  Even if there were build files for these drivers at one point, they no longer exist.  If you want to make changes, you are completely on your own.

 

I agree to the above terms and wish to download the source code for the drivers.

 

Copyright © 1997-2010 by Bruce A. Wahler. If you have suggestions or comments, please send them to webmaster@ashbysolutions.com.

Ashby Solutions, AshbySolutions.com, and the Ashby Solutions logo are trademarks of Ashby Solutions.  OrCAD is a registered trademark of Mentor Graphics.  All other trademarks and registered trademarks are the property of their respective owners.