Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #766
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Mon, 12 Jan 2015 08:34:09 -0600 |
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: Printing from a C program in linux |
| References | <B79FD1EF.4922%jenco@wol.be> <fab8e3f2-b94b-484b-8d42-303c6ef86b23@googlegroups.com> |
| From | floyd@apaflo.com (Floyd L. Davidson) |
| Organization | __________ |
| Date | Mon, 12 Jan 2015 05:34:04 -0900 |
| Message-ID | <87fvbgax0j.fld@barrow.com> (permalink) |
| User-Agent | gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.19 |
| Cancel-Lock | sha1:ORHRDtngYHC+/2HJpbqfGUoVFao= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Lines | 36 |
| X-Trace | sv3-qCHMveuDJjyHNjjB1UD+v3k+CFT6s5DBfHs3PH7SZye22y//a+NHz9n/ICE6OwqY6lY3mxLRvHTM7mR!fAeZj8nT6WwldtZfH5/EHWjxyz4pEcz++co5qSWsZ83DItZ+Ly1UtL+iX7FWPA== |
| X-Complaints-To | www.supernews.com/docs/abuse.html |
| X-DMCA-Complaints-To | www.supernews.com/docs/dmca.html |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 1960 |
| Xref | csiph.com comp.os.linux.development.apps:766 |
Show key headers only | View raw
mtkhusro92@gmail.com wrote:
>On Tuesday, 14 August 2001 22:14:45 UTC-7, Jenco wrote:
>> Hi,
>>
>> I'm making a program in C for linux but an important thing i can't find in
>> my books is how to print from your C program
>>
>>
>> any hint,link or tutorial is welcome
>>
>>
>>
>> thaaaaaaaaaaaaaaaaanx Marco
>
>any help?
What do you mean by "print from your C program"? Send
output to the screen?
printf("Hello world!\n");
Or do you mean how to print an image by sending it to
the printer?
system("lpr foo.jpg");
or
popen("lpr foo.jpg", "r");
All of the above are "crude", and depending on what you
are actually doing will need a great deal of refinement.
--
Floyd L. Davidson http://www.apaflo.com/
Ukpeagvik (Barrow, Alaska) floyd@apaflo.com
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Printing from a C program in linux mtkhusro92@gmail.com - 2015-01-12 05:48 -0800
Re: Printing from a C program in linux Jan Panteltje <panteltje@yahoo.com> - 2015-01-12 14:33 +0000
Re: Printing from a C program in linux floyd@apaflo.com (Floyd L. Davidson) - 2015-01-12 05:34 -0900
Re: Printing from a C program in linux Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-01-12 10:56 -0500
Re: Printing from a C program in linux Jasen Betts <jasen@xnet.co.nz> - 2015-01-13 06:38 +0000
Re: Printing from a C program in linux Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-01-13 17:28 +0200
csiph-web