Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #14376
| 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 | Tue, 07 Apr 2015 06:11:44 -0500 |
| Newsgroups | comp.os.linux.misc |
| Subject | Re: How do you access the printer in Linux/C? |
| References | <e26c3cbd-0f45-4069-b449-423c5759573c@googlegroups.com> <b6vbvb-itu.ln1@squidward.dionic.net> <87lhi4b5uv.fld@barrow.com> <b6ocvb-gg5.ln1@squidward.dionic.net> <mg0cro$iu6$1@news.albasani.net> |
| From | floyd@apaflo.com (Floyd L. Davidson) |
| Organization | __________ |
| Date | Tue, 07 Apr 2015 03:11:44 -0800 |
| Message-ID | <87d23gb3bj.fld@barrow.com> (permalink) |
| User-Agent | gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.19 |
| Cancel-Lock | sha1:nOd9t8C2DGq9g6n/F1bnfwpsUNU= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Lines | 25 |
| X-Trace | sv3-7jZTHOb9J09lltFeGGMDQV2NhYkzv+ftcgXitIdbs8GWTei/zBFAcUhNe0jPFmCPtdyU7mb0raf9quD!IiiSCgreexPQkGJKJ3SyX+vXrs8g/8BA0h4w23W/9Ql6g3FwZa2egBSkhFp/cA== |
| 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 | 2065 |
| Xref | csiph.com comp.os.linux.misc:14376 |
Show key headers only | View raw
The Natural Philosopher <tnp@invalid.invalid> wrote: >The quickest and simplest is to write the file to stdout >or a tmp location and invoke a system() type call to >handle it as a separate process. > >Next up from that is to write the file and use the cups >API to print it with no system call needed. That is over complicating it by quite a bit. The next step up from system() is using popen(), which does not require that a file be written to disk, but otherwise is essentially the exact same interface. >Finally you can hack the CUPS source to write to a >socket connected CUPSD directly without needing an >intermediate file. That's getting rediculous. Same with using the API. -- Floyd L. Davidson http://www.apaflo.com/ Ukpeagvik (Barrow, Alaska) floyd@apaflo.com
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How do you access the printer in Linux/C? pureheart@pacbell.net - 2015-04-06 17:07 -0700
Re: How do you access the printer in Linux/C? Tim Watts <tw_usenet@dionic.net> - 2015-04-07 04:23 +0100
Re: How do you access the printer in Linux/C? The Natural Philosopher <tnp@invalid.invalid> - 2015-04-07 05:46 +0100
Re: How do you access the printer in Linux/C? floyd@apaflo.com (Floyd L. Davidson) - 2015-04-07 02:16 -0800
Re: How do you access the printer in Linux/C? Tim Watts <tw_usenet@dionic.net> - 2015-04-07 11:30 +0100
Re: How do you access the printer in Linux/C? The Natural Philosopher <tnp@invalid.invalid> - 2015-04-07 11:51 +0100
Re: How do you access the printer in Linux/C? floyd@apaflo.com (Floyd L. Davidson) - 2015-04-07 03:11 -0800
Re: How do you access the printer in Linux/C? The Natural Philosopher <tnp@invalid.invalid> - 2015-04-07 12:37 +0100
Re: How do you access the printer in Linux/C? pureheart@pacbell.net - 2015-04-07 08:31 -0700
Re: How do you access the printer in Linux/C? Tim Watts <tw_usenet@dionic.net> - 2015-04-07 12:24 +0100
Re: How do you access the printer in Linux/C? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-04-07 16:26 +0000
Re: How do you access the printer in Linux/C? The Natural Philosopher <tnp@invalid.invalid> - 2015-04-07 11:46 +0100
Re: How do you access the printer in Linux/C? Unknown <dog@gmail.com> - 2015-05-06 08:50 +0000
Re: How do you access the printer in Linux/C? Joe Beanfish <joebeanfish@nospam.duh> - 2015-05-06 13:36 +0000
Re: How do you access the printer in Linux/C? Unknown <dog@gmail.com> - 2015-05-08 10:44 +0000
Re: How do you access the printer in Linux/C? Joe Beanfish <joebeanfish@nospam.duh> - 2015-05-08 13:51 +0000
Re: How do you access the printer in Linux/C? William Unruh <unruh@invalid.ca> - 2015-05-08 14:58 +0000
Re: How do you access the printer in Linux/C? Joe Beanfish <joebeanfish@nospam.duh> - 2015-05-11 13:24 +0000
Re: How do you access the printer in Linux/C? Robert Heller <heller@deepsoft.com> - 2015-05-11 14:40 -0500
Re: How do you access the printer in Linux/C? William Unruh <unruh@invalid.ca> - 2015-05-08 14:55 +0000
Re: How do you access the printer in Linux/C? The Natural Philosopher <tnp@invalid.invalid> - 2015-04-07 05:43 +0100
Re: How do you access the printer in Linux/C? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-04-07 12:15 -0400
Re: How do you access the printer in Linux/C? pureheart@pacbell.net - 2015-04-09 15:39 -0700
csiph-web