How to print in C

S

Sanchit

I want to print a specific portion of output screen using a printer.
How can i do this using C commands???????

Thanks in advance
 
I

Ian Collins

Sanchit said:
I want to print a specific portion of output screen using a printer.
How can i do this using C commands???????
By asking on a group dedicated to your platform.
 
C

Clever Monkey

Richard said:
Technically, peanuts aren't nuts. They're a kind of fish.
But not a true fish, since they don't have bones except for their teeth
and jaws.
 
K

Kenneth Brody

Clever said:
But not a true fish, since they don't have bones except for their teeth
and jaws.

And don't forget -- you can't tuna fish.

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

Keith Thompson

Richard Heathfield said:
CBFalconer said:

That's like writing "may contain traces of nut" on a packet of peanuts.

At least one person complained bitterly that he hadn't been told in
advance how to unpack the file. (Haven't seen him lately.)
 
R

Richard Heathfield

Keith Thompson said:
At least one person complained bitterly that he hadn't been told in
advance how to unpack the file.

Yes, I know. Or, to paraphrase, he complained bitterly that the packet
of peanuts didn't say "may contain traces of nut". That's my point -
i.e. I am not convinced that pandering to such people is wise.
(Haven't seen him lately.)

Shhh... :)
 
K

Keith Thompson

CBFalconer said:
You don't know the number of messages I have seen in the past, of
roughly the form "I can't read that". Anticipation is normally
golden.

To be fair, bzip2 is primarily a Unixish tool; someone with little or
no exposure to Unixish systems might not be familiar with it.

On the other hand, any reasonably competent person should know enough
to do a web search for "bz2"; the first hit provides more than enough
information.

On the other other hand, the reminder to use bzip2 is perfectly
sensible IMHO; the relationship between ".bz2" and "bzip2" is not as
well known as the relationship between "peanuts" and "nuts".
 
R

Richard

Keith Thompson said:
To be fair, bzip2 is primarily a Unixish tool; someone with little or
no exposure to Unixish systems might not be familiar with it.

On the other hand, any reasonably competent person should know enough
to do a web search for "bz2"; the first hit provides more than enough
information.

On the other other hand, the reminder to use bzip2 is perfectly
sensible IMHO; the relationship between ".bz2" and "bzip2" is not as
well known as the relationship between "peanuts" and "nuts".

If you follow that rational then anytime you mention anything that *even
one person* does not understand then you should provide a caveat.

It is anal in the extreme to tell people how to open a bz2 file with
each reference to that file.
 
O

osmium

Keith Thompson said:
On the other other hand, the reminder to use bzip2 is perfectly
sensible IMHO; the relationship between ".bz2" and "bzip2" is not as
well known as the relationship between "peanuts" and "nuts".

And it's only a question of time until somealert reader points out that a
peanut is not a nut. :-(
 
K

Kenneth Brody

Keith said:
At least one person complained bitterly that he hadn't been told in
advance how to unpack the file. (Haven't seen him lately.)

And then there are those who "know better", and refuse to use the
flags you tell them to use, and then complain that there's something
wrong with your install image.

BTDTGTTS

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

osmium

Richard Heathfield said:
osmium said:

You're too late. See upthread...

What I saw said that it was a fish - which made no sense to me at all. It
still doesn't. What I was referring to was that the peanut is a legume.
Which is not very esoteric but in fact true.
 
T

Tor Rustad

I want to print a specific portion of output screen using a printer.
How can i do this using C commands???????

Commands are part of your OS, not part of the C language.

C FAQ: Question 19.8 and Question 19.25


Furthermore, to interface external devices, check your platform doc.
 
S

shadowman

osmium said:
What I saw said that it was a fish - which made no sense to me at all. It
still doesn't. What I was referring to was that the peanut is a legume.
Which is not very esoteric but in fact true.

Is that you're way of saying he's not funny? Or do you really not get it?
 
R

Richard Heathfield

Richard said:
"anal" is not rude in the context.

From where I'm standing, it's rude and crude, unless the context is
strictly medical or biological - and comp.lang.c is neither of those.

You might not think it so, but it's a very subjective matter. I'm not
telling you what you can and can't say - I'm just telling you my own
perception of the word. Naturally, your opinion might vary - but
normally we don't use words that we know will offend people (no matter
how inoffensive those words seem to us), unless we are deliberately
setting out to offend them.

It seems quite appropriate for a serial nagger

Why don't you find something useful to do instead of complaining all the
time about people complaining all the time? Why not start off by
helping out with some of these people asking C questions?

You're clearly of the opinion that you are some sort of NG moderator

In an unmoderated group, *everybody* is a moderator.
so I'll save you from my scorn by dumping you in my killfile.

That's one moderation technique, yes. See? You're a clc moderator too.

Besides
your signatures wont snip for some reason and they are driving me
crazy.

My newsreader recognises and snips them just fine. Get a better
newsreader.
 
M

Mark McIntyre

And don't forget -- you can't tuna fish.

No need, they're already in a C....

(say it out loud, it'll make sense...)

Hey, and its almost topical.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
 
M

Mark McIntyre

Or do you really not get it?

Someone better explain why "peanut" and "fish" are synonyms. It makes
no sense to me either (though I simply ignored the apparent joke).

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
 

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

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,098
Members
48,773
Latest member
Kaybee

Latest Threads

Top