LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2010, 04:49 AM   #1
Scorp-D
LQ Newbie
 
Registered: Jun 2006
Distribution: DSM, Debian and Mandriva
Posts: 5

Rep: Reputation: 0
Print email from getmail to cups printer


Hi.

I have a mail-account, which is checked every 10. Minute for new mails (via getmail), printed(via cups/lpr) and the file is deleted if successful.

My problem is that I don’t want to print the text\html, but what it looks like when rendered.

What is the best way of doing this ? html2ps or ?

Is it also possible to print the attachments( PDF) inside the mail, this way ?

Scorp-D
 
Old 10-26-2010, 02:40 PM   #2
MyMiasma
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
You should be able to open the html in a browser like Firefox and print it from there.
 
Old 10-27-2010, 06:55 AM   #3
Scorp-D
LQ Newbie
 
Registered: Jun 2006
Distribution: DSM, Debian and Mandriva
Posts: 5

Original Poster
Rep: Reputation: 0
Its Synology's DSM 3.0

So I’m trying to run it all automatically and without GUI etc.

But what about Lynx ? does it offer quite-mode printing ? And PDF ?

Last edited by Scorp-D; 10-27-2010 at 08:06 AM.
 
Old 10-28-2010, 09:07 AM   #4
Scorp-D
LQ Newbie
 
Registered: Jun 2006
Distribution: DSM, Debian and Mandriva
Posts: 5

Original Poster
Rep: Reputation: 0
Actually, to simplify it…
I only need a way of extracting the text/html and attachments, and placing them in the appropriate files(.txt for the message and the specified extension for the attachments).

The message isn’t that important, its primarily the PDF attachments that needs to be printed.

The printer can print text, images(jpg/bmp etc.) and PDF via FTP, so it’s only a matter of dumping the files onto the FTP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups printer won't print hedron Slackware 22 03-01-2010 05:15 PM
not able to print to one printer using CUPS aopex Linux - Software 4 02-02-2009 09:13 PM
Can't print to second cups printer rbees Linux - Newbie 18 02-05-2007 09:38 AM
Configuring cups to Print to email (PDF). ernieg619 Linux - Networking 1 12-08-2005 03:50 PM
Configuring Cups to Print directly to email. ernieg619 Linux - Networking 1 11-28-2005 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration