Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc01!hpbbn!hpwad!ffritze From: ffritze@hpwad.HP.COM (#Fromut Fritze) Newsgroups: comp.lang.c Subject: Re: Turbo C 2.0 to plotter Message-ID: <2170003@hpwad.HP.COM> Date: 4 Sep 90 06:28:01 GMT References: <6445@wolfen.cc.uow.oz> Organization: Hewlett-Packard Waldbronn, Germany Lines: 22 > I want to know how to plot my graphics which created by Turbo C 2.0 > in Graphics MODE onto HP 7475 plotter. This is probably a nontrivial task, at least once you have filled areas, shadows, many colors etc, due to the sreen beeing a raster device versus the plotter being a vector oriented device. It's much easier once you used only the handfull colors available on the plotter (thus avoiding the problem to automatically map colors and/or generating seperation lines between two different original colors mapping into the same plotter color) and retained from using odd shapes, that couldn't easily be represented by arc's or poly- gons available at HPGL. Take a closer look to the Reference Manual of your printer and start replacing moves by PU and draws by PD instructions. Alternatively you could try to find / write a BGI-driver for that plotter, that sends appropriate instructions to the plotter. ------------------------------------------------------------------------------ internet: ffritze@hpwadrd.hp.com hpdesk: Fromut FRITZE / HPB400 / R1 phone: Germany 7243 602296 address: Fromut FRITZE, Waldbronn Analytic Division R&D, Hewlett Packard Str, D 7517 Waldbronn 2, Germany ------------------------------------------------------------------------------