🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
2 messages
2 total messages Started by Andrew Dent Tue, 25 Jun 1991 12:45
printing to Postscript
#1270
Author: Andrew Dent
Date: Tue, 25 Jun 1991 12:45
25 lines
1304 bytes
G'Day all

How do I print to a postscript printer from, say, a Turbo Pascal
program? My PC programs haven't had to do this kind of printing
and the only environment I've used which had postscript was on Mac
where you just draw your image and the driver takes care of the
rest.

In a non-Windows environment, are there drivers available off the
shelf for Postscript, or libraries I can link to my code?

C or Pascal answers gratefully received.

I would also appreciate references to good books on this subject, 
so far my PC programming has been limited to database filters and
other "computational" problems, which didn't go anywhere near the
printer.

Thanks in Advance

Andy Dent
A.D. Software
(09) 249 2719
94 Bermuda Dve, BALLAJURA  Western Australia 6066
dent@DIALix.oz.au
Re: printing to Postscript
#1271
Author: Andy Sun
Date: Tue, 25 Jun 1991 23:14
46 lines
1934 bytes
dent@DIALix.oz.au (Andrew Dent) writes:

>G'Day all

>How do I print to a postscript printer from, say, a Turbo Pascal
>program? My PC programs haven't had to do this kind of printing
>and the only environment I've used which had postscript was on Mac
>where you just draw your image and the driver takes care of the
>rest.

>In a non-Windows environment, are there drivers available off the
>shelf for Postscript, or libraries I can link to my code?

>C or Pascal answers gratefully received.

>I would also appreciate references to good books on this subject, 
>so far my PC programming has been limited to database filters and
>other "computational" problems, which didn't go anywhere near the
>printer.

>Thanks in Advance

>Andy Dent
>A.D. Software
>(09) 249 2719
>94 Bermuda Dve, BALLAJURA  Western Australia 6066
>dent@DIALix.oz.au

I'll give you a C answer then :-)

#include <stdio.h>
main ()
{
   char[80]	book_to_read, sending_to_postscript_printer, reason;

   book_to_read = "PostScript Reference from Adobe, the red book";
   sending_to_postscript_printer = "sending plain ascii to printer port";
   reason = "PostScript is itself pure ascii, no trick, not binary encoding";
}

Andy

_______________________________________________________________________________
Andy Sun                            | Internet: sun@me.utoronto.ca
University of Toronto, Canada       | UUCP    : ...!utai!me!sun
Dept. of Mechanical Engineering     | BITNET  : sun@me.toronto.BITNET
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