🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.msdos.programmer
2 messages
2 total messages Started by Tony Butler Wed, 04 Nov 1992 13:12
C Questions
#39
Author: Tony Butler
Date: Wed, 04 Nov 1992 13:12
28 lines
1327 bytes
Hi,

 Does anyone have any ideas on how to write a Postscript printer driver
 in C, or are there any PD/Shareware ones I could get hold of??

 Also, I'm writitng a database application and want to be able to
 display a standard form on screen and allow movement between the fields
 and input from them in a similar manner to the DBASE GET/READ
 combination.

 I'm using Borland C V2.0.

 Any help would be much appreciated, please email your replies.


      ---  _   _
       |  (_) ( ) (_|.
      --------------|-
                   -


     +---+        Internet: abutler@ariel.demon.co.uk         +---+
    /   /|                                                    |\   \
   +---+ |        Fido net: Anthony Butler @ 2:250/408        | +---+
   |   | +                                                    + |   |
   |   |/      CompuServe : 100041,2055                        \|   |
   +---+                                                        +---+
Re: C Questions
#42
Author: Ping Huang
Date: Wed, 04 Nov 1992 16:49
27 lines
2024 bytes
In article <720882725snx@ariel.demon.co.uk> abutler@ariel.demon.co.uk (Tony Butler) writes:

 >  Does anyone have any ideas on how to write a Postscript printer driver
 >  in C, or are there any PD/Shareware ones I could get hold of??

It depends on exactly what do you mean by a "printer driver". For
example, there are commercial packages (one called SLATE) which allow
you to use a reasonably easy-to-use set of their library calls that
implement a page description language, and then will print on any of a
large number of printers. I think there might be one which allows you to
"pretend" the printer is a very large, high-resolution monitor and use
the same calls as Borland BGI graphics (e.g. the company provides .BGI
drivers for various kinds of printers).

But it sounds like what you want to know is how to generate specifically
Postscript code to get the layout you want, and for that you might
contact Adobe and ask if they have any application programmer
information packs. They publish a number of books about the Postscript
language (the Red Book, the Blue Book), but if I remember correctly,
these manuals are more oriented at people interested in writing
Postscript programs by hand rather than writing C programs which will
take application data and print it out.

--
| Ping Huang (INTERNET: pshuang@martigny.ai.mit.edu) speaking for himself.
| "One Thing to name them all, One Thing to define them,
|  One Thing to place them in environments and bind them..."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads