home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
windows
/
printeps
/
readme
< prev
Wrap
Text File
|
1994-06-06
|
2KB
|
42 lines
EPSPRINT is a BP 7.0 unit which can be used to send encapsulated PostScript
(EPS) files to a printer as part of a regular Windows 3.1 print job. The EPS
images may be translated, scaled or rotated before sending them to the
printer. Comments in the source files (EPSPRINT.PAS and EPSDEMO.PAS) explain
the design and usage of the EPSPRINT unit. I strongly recommend that anyone
wanting to send EPS files to a PostScript printer also obtain a copy of the
"Red Book," Adobe's PostScript Language Reference Manual, second edition, ISBN
0-201-18127-4. Encapsulated PostScript files are covered in Appendix H.
Requirements to use EPSPRINT are Borland Pascal 7.0 (the code should compile
under TPW 1.5 with minor changes), Windows 3.1, and, of course, a PostScript
printer driver (the driver must be set up as the default printer using Windows
Control Panel). I have tested this code with the Apple LaserWriter NT and
Hewlett-Packard LaserJet 4M flavors of the Windows PostScript driver (version
3.53), and the Hewlett-Packard LaserJet 4M flavor of the Adobe PostScript
Level 2 driver (version 2.1.1).
EPSPRINT isn't very picky about the structure of an EPS file. If the file
contains a preview header, the header must conform to the layout specified in
Appendix H of the Red Book, and the body of the PostScript code must contain a
valid %%BoundingBox comment (the "%%BoundingBox: (atend)" construct is
supported).
Files:
README this file
EPSPRINT.PAS EPS-support printing unit
EPSDEMO.PAS demo program which uses EPSPRINT
EPSDEMO.RES resource file for EPSDEMO.PAS
EPSDEMO.RC resource file in source form
EPSDEMO.INC include file for EPSDEMO.PAS
EPSDEMO.EPS encapsulated PostScript file used by EPSDEMO.PAS
EPSDEMOX.EPS same as EPSDEMO.EPS, but with the preview header removed
EPSDEMO.CDR CorelDRAW 3.0 file from which EPSDEMO.EPS was generated
If you have any questions or comments about the EPSPRINT unit or any of the
other files contained in this package, please post a message to my CompuServe
ID in section 8 (OWL/BWCC) of Borland's BPASCAL forum.
Steve Schafer
76711,522