[comp.windows.ms] Print to EPS file, source??

cy03+@andrew.cmu.edu (Chao-Ping Yang) (12/17/90)

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