-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: email printed files #585
Comments
Wouldn't this mainly work for plain text files? As soon as you print out graphics, you would only receive gibberish. Or do you mean that the resulting PDF should be e-mailed to you instead? |
I would assume the resulting PDFs. The issue is that this feature relies on explicit configurations that don't exist for most people, anymore. This isn't 1999, and most people don't have their own SMTP server. |
There are libraries that facilitate sending e-mails from the ESP32, such as this one here: |
sure. |
I could look into that once I have my setup with a generic ESP32-WROVER working in conjunction with Altirra up and running, since I'm planning to get this one running as well, which is probably in the same area of the codebase: |
Go for it. :)
…-Thom
On Tue, Dec 19, 2023 at 8:04 PM fredlcore ***@***.***> wrote:
I could look into that once I have my setup with a generic ESP32-WROVER
working in conjunction with Altirra up and running, since I'm planning to
get this one running as well, which is probably in the same area of the
codebase:
https://www.facebook.com/groups/fujinetusers/permalink/3597409807207336/?mibextid=uJjRxr
But want to make sure that (at least the former) would be a desired
feature, because otherwise I'd not invest time into it...
—
Reply to this email directly, view it on GitHub
<#585 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVBYZSWWILVGSKQI3MFOJ3YKJBT7AVCNFSM6AAAAAAWX4CB3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRTG4ZTSMJZGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Will do. I ran into my first problem already: |
Try using quotes and a relative path, using vs.code's completion to help.
…-Thom
On Wed, Dec 20, 2023 at 7:36 AM fredlcore ***@***.***> wrote:
Will do. I ran into my first problem already:
When adding an external library (such as ESP-Mail-Client), the README.md
in the /lib folder tells me to add it in that folder and call it like this: #include
<ESP_Mail_Client.h>. However, when adding this include line for example
in printer_emulator.cpp, I always get fatal error: ESP_Mail_Client.h: No
such file or directory. Also adding it via PlatformIO's library manager
leads to the same result. Is this a problem with the library or any other
fault by me or did I just put it in the wrong place? Thanks for any
pointers...
—
Reply to this email directly, view it on GitHub
<#585 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVBYZXJMUNQFH5DL3J3N3LYKLSXJAVCNFSM6AAAAAAWX4CB3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGQ4DMNZUGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hmm, using quotes and relative path finds the library and tries to compile it but then fails because |
We don't use Ardiuno. We use ESP-IDF, so the library would need to be
ported.
-Thom
…On Wed, Dec 20, 2023 at 9:06 AM fredlcore ***@***.***> wrote:
Hmm, using quotes and relative path finds the library and tries to compile
it but then fails because #include <Arduino.h> cannot be found.
I haven't worked on such large distributed projects before, but when I
would normally add a library in platformio.ini under lib_deps, this
library would be installed for this project and I could just include it
using #include <lib.h>. However, this does not seem to work here, not
sure why.
Please don't bother if there is nothing obviously wrong on my side here, I
can also just modify that library and adjust all paths to work, but if it
should be as the README.md in /libs says, and this is not working for me
here, I assume that I'm doing something wrong here...
—
Reply to this email directly, view it on GitHub
<#585 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVBYZWVSN46IEGDIINGZKLYKL5H3AVCNFSM6AAAAAAWX4CB3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGYZTENJUGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sure, now things make sense ;). I'll see if that is doable... |
Last question for today: How is the project's approach towards external libraries? Have these been used at all or only the ones that come with the ESP-IDF framework? Because if libraries cannot included automatically as dependencies and thus have to be ported or otherwise modified, this means that any (potentially critical) update will only be possible if someone keeps track of any updated library versions and ports them accordingly, and this may not always (or at least continuously) be the case. I've been doing this for my project, but these were rather uncritical libs. Just want to make sure that this won't be an issue here. |
We have indeed used external libraries:
* EdURLParser
* libssh2
* samlib
and others.
We have a get it done philosophy.
…-Thom
On Wed, Dec 20, 2023 at 9:55 AM fredlcore ***@***.***> wrote:
Last question for today: How is the project's approach towards external
libraries? Have these been used at all or only the ones that come with the
ESP-IDF framework? Because if libraries cannot included automatically as
dependencies and thus have to be ported or otherwise modified, this means
that any (potentially critical) update will only be possible if someone
keeps track of any updated library versions and ports them accordingly, and
this may not always (or at least continuously) be the case. I've been doing
this for my project, but these were rather uncritical libs. Just want to
make sure that this won't be an issue here.
—
Reply to this email directly, view it on GitHub
<#585 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVBYZQABADXO5A36GGHVHDYKMC6VAVCNFSM6AAAAAAWX4CB3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUG4ZDQOBRGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Great, thanks :) |
HP printers have been coming with a dedicated email address that will print files emailed to it. Emailing printed files to a address could serve as de facto wireless printing.
For other printers, such as brother, phone printing is well supported. People can open emails on their phone and print attachments.
The text was updated successfully, but these errors were encountered: