home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!galen!leue
- From: leue@crd.ge.com (Bill Leue)
- Newsgroups: comp.windows.open-look
- Subject: Printing X Graphics
- Keywords: Open Windows, graphics, PostScript, printing
- Message-ID: <1992Sep3.181230.27605@crd.ge.com>
- Date: 3 Sep 92 18:12:30 GMT
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: leue@crd.ge.com
- Organization: General Electric Research & Development
- Lines: 18
- Nntp-Posting-Host: galen.crd.ge.com
-
- Does anyone know of a filter or other mechanism that will allow you to
- convert X-based graphics calls into something you can send to a PostScript
- printer?
-
- I'm thinking of something like the capability that is built into the
- Mac environment: to print some graphics, you just set the output port to
- the printer and issue the same QuickDraw calls that you would normally
- used to draw on the screen, and the printer driver takes care of translating
- the calls to PostScript. I'm looking for the equivalent capability to
- add to one of my programs running under Open Windows 3.0, where I am drawing
- the graphics using the standard X primitives, e.g, XDrawRectangle(), etc.
-
- These drawing primitives are so similar to the Mac versions (no coincidence,
- I suspect) that it seems strange that some provision wasn't made for printing,
- but I can't find anything documented in O'Reilly Volumes 1 or 2.
-
- Thanks!
- -Bill Leue
-