View previous topic :: View next topic |
Author |
Message |
my_nick n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jul 2003 Posts: 28 Location: Slovenia
|
Posted: Mon Jul 07, 2003 8:01 pm Post subject: printserver over e-mail |
|
|
Hi!
I would like to configure my linux printserver so anybody could print over e-mail.
This will look like this:
Someone sends me an e-mail with an text file attached on a secret e-mail adress
The text file goes to cups and to the printer
Is this possible and what programs do i need?
Tnx |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vector0319 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/6656536033eee012d40da0.jpg)
Joined: 16 Jun 2003 Posts: 68 Location: Salisbury, MD, USA
|
Posted: Tue Jul 08, 2003 5:59 pm Post subject: |
|
|
my_nick,
I haven't tested this, but I would suppose you could put a command in the secret emails .forward file. I use vacation in the .forward like this:
Code: | \eric, "|/usr/bin/vacation eric"
|
This would keep messages for eric and send a vacation message from eric. I would think you could just put a "|lpr" in your .forward file. This would send the full email to the printer including headers I think. You could right a script to filter those out if you want. Hope this helps,
vector _________________ "Accept no one's definition of your life, but define yourself."
-- Harvey Fierstein |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
my_nick n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jul 2003 Posts: 28 Location: Slovenia
|
Posted: Wed Jul 09, 2003 4:43 pm Post subject: |
|
|
tnx for the advice. I needed something to start on
I will study this a bit more and post a HOWTO if it works |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|