[Printing-user-general] Sending postscript to a printer

[email protected] (Alastair Growcott) Wed, 30 Aug 2006 13:47:53 +0000 (UTC)
Newsgroups gmane.linux.printing.general
Organization http://www.linuxprinting.org/
Message-ID <[email protected]>
Hi,

I want to write an app that prints by sending postscript (or something similar)
to a printer. To be more precise my app is sent data for printing and simply
selects a printer and forwards the data onwards in as raw and original a form
(as compared to what it was sent in the first place) as possible.

Is postscript the best choice for this data?
Do I simply open a printer driver fd and write the postscript data to it or is
it more complicated?

As you can probably tell from my questions I really don't have a clue in this
area. I have looked all over the web but I guess I don't really know what
questions (search terms) I should be using. If someone could just point me in
the direction of a reference that describes how to make a program print by
talking directly to a printer driver without using any third party library APIs
or anything, that would be fantastic.

Can anyone help?