Printer functions

P

pI

I've got simple question.
What are some functions names in C for programming printers?
Maybe some library ?
 
V

Vladimir Oka

pI said:
pI napisa³(a):
for DOS :)

There are none in Standard C. Since you mention DOS, you may strike
lucky in comp.msdos.programming or similar groups.
 
E

Eric Sosman

pI said:
I've got simple question.
What are some functions names in C for programming printers?
Maybe some library ?

C itself provides only fopen(), fprintf(), fwrite(),
and the rest of the I/O library. The job of discovering
a printer's name for fopen() and of deciding what kind of
data to send to it is up to you. Some kinds of printers
may not be usable at all given only what unextended C offers.
 
K

Kenneth Brody

pI said:
I've got simple question.
What are some functions names in C for programming printers?

You mean something other than fopen/fwrite/fprintf/fclose? There are none
in standard C.
Maybe some library ?

Perhaps. Have you looked?

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:[email protected]>
 
O

Old Wolf

Vladimir said:
There are none in Standard C. Since you mention DOS, you may strike
lucky in comp.msdos.programming or similar groups.

ITYM comp.os.msdos.programmer.

One way of "programming printers" for any platform is to just
send text directly to the port that the printer is on.

Otherwise you will need to interface to a printer driver; in which
case you will have to read the printer driver documentation, or
if your OS provides a common printer interface, then ask in that
OS's newsgroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,183
Messages
2,570,966
Members
47,514
Latest member
AdeleGelle

Latest Threads

Top