Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!cy03+ From: cy03+@andrew.cmu.edu (Chao-Ping Yang) Newsgroups: comp.windows.ms Subject: Print to EPS file, source?? Message-ID: Date: 16 Dec 90 21:06:52 GMT Organization: Physics, Carnegie Mellon, Pittsburgh, PA Lines: 10 I need to create EPS file from my graphic program in Win3. Going through the PS driver setup to set printing to EPS file will do the job, but how do I do this in my program? If I use a file name in CreateDC's lpOutput, a cntrl-D is added at the beginning and the end of the file, which make it unreadable for other programs that import EPS files. Anybody know how to get rid of the cntrl-D's? Thanks in advance. ==Chaoping