473,491 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Printer functions

pI
I've got simple question.
What are some functions names in C for programming printers?
Maybe some library ?
May 3 '06 #1
7 2281
pI
pI napisał(a):
I've got simple question.
What are some functions names in C for programming printers?
Maybe some library ?

for DOS :-)
May 3 '06 #2

pI wrote:
pI napisał(a):
I've got simple question.
What are some functions names in C for programming printers?
Maybe some library ?

for DOS :-)


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

May 3 '06 #3
pI wrote:
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.

--
Eric Sosman
es*****@acm-dot-org.invalid
May 3 '06 #4
pI wrote:

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:Th*************@gmail.com>

May 3 '06 #5
pI
Kenneth Brody napisaƂ(a):
Maybe some library ?

Perhaps. Have you looked?

yep ... google doesn't help in this case :-)
May 3 '06 #6
Vladimir Oka wrote:
pI wrote:
I've got simple question.
What are some functions names in C for programming printers?
Maybe some library ?

for DOS :-)


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.

May 4 '06 #7
Old Wolf opined:
Vladimir Oka wrote:
pI wrote:
I've got simple question.
What are some functions names in C for programming printers?
Maybe some library ?
for DOS :-)


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.


Right. I stand corrected. Thanks.

--
Totally illogical, there was no chance.
-- Spock, "The Galileo Seven", stardate 2822.3

<http://clc-wiki.net/wiki/Introduction_to_comp.lang.c>

May 5 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2997
by: Fotis Andritsopoulos | last post by:
Hello, I tried to find out how can I print a document through php. What I want, is to add a "print button" within a web page (something like the "Print" button of the explorer, but within the...
3
1493
by: Mario | last post by:
Hello, I am a new Python entusiast, I am studing it since some weeks and I think it's a great language and I was very happy with it, but when I came to make a printer routine I really got...
1
12898
by: D Wigg | last post by:
Hello all, I'm using VB6.0 to write an application which prints a report. The problem I have occurs when I try to allow the user to select the number of copies and which pages to print. Using...
5
7085
by: Hank | last post by:
My Access 2000 code has been running for several years in our main plant. Now we need to install it, as a stand-along application, at remote sites, some of which are out of state. My problem is...
0
380
by: Jim Warner | last post by:
I am having problems using Borland 5.02 C/C++ for testing printer status repeatly. I wish to use my printer to detect off-line, removing paper, and so on with my software. I have tried using...
1
2416
by: chunming | last post by:
hi, buddy, I use winspool.drv to write printer directly, I am developing the point of sales system, and I need set up the printer device font(not true type font), so that i could control the cash...
11
9844
by: pamelafluente | last post by:
I am doing my own PrintDialog, and have placed there a combo with the printer names, as in the PrintDialog provided by VB.NET. Here is the question: how do I open the native windows printer...
4
1869
by: Paul H | last post by:
OK, I tried getting and old Newbury Data ND2500 working using the "Generic /Text only" driver in Win XP. It prints, but I could not find a way to set a custom page size that matches the paper I am...
1
1782
by: Chuck Anderson | last post by:
I have created an image using GD lib and now I would like to print it using the Printer functions (on Windows XP). Does anyone know how to write the image in memory to the printer (I assume I can...
4
2005
by: Stefano | last post by:
I've got a problem using printer functions with my network printer shared on another PC as \\192.168.1.3\HP If the printer is connected and reachable, printer_***() functions work correctly. ...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6978
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.