Python script for received bluetooth file on Raspberry PI
Budget: €30 – €250 EUR
A little project involving received Bluetooth file on a Raspberry PI.
What needs to be done is when a file is received, a script is triggered to send a print job to a photo printer. Optionally, we can also use imagemagick to convert the file to a proper 2:3 aspect ratio using /usr/bin/convert
Here's what the flow will look like:
- File received in ~/Downloads/example_092222xxxxx.jpg via Bluetooth
- When the file is saved, a (presumably Python) script is triggered, creating a print job with lp to CUPS server
i.e. /usr/bin/lp -o landscape -o fit-to-page ~/Downloads/example_092222xxxxx.jpg
- Once the print job is finished, the file should be deleted
i.e. /usr/bin/rm -rf ~/Downloads/example_092222xxxxx.jpg
This should be a quick and simple job for any developer familiar with Python and Bluetooth. The main issue is running a script which is triggered when a jpg file is received on the Raspberry PI.
If you understand all of this and feel confident in being able to deliver, please start your proposal with the word "Blue" so I can consider your offer.
What needs to be done is when a file is received, a script is triggered to send a print job to a photo printer. Optionally, we can also use imagemagick to convert the file to a proper 2:3 aspect ratio using /usr/bin/convert
Here's what the flow will look like:
- File received in ~/Downloads/example_092222xxxxx.jpg via Bluetooth
- When the file is saved, a (presumably Python) script is triggered, creating a print job with lp to CUPS server
i.e. /usr/bin/lp -o landscape -o fit-to-page ~/Downloads/example_092222xxxxx.jpg
- Once the print job is finished, the file should be deleted
i.e. /usr/bin/rm -rf ~/Downloads/example_092222xxxxx.jpg
This should be a quick and simple job for any developer familiar with Python and Bluetooth. The main issue is running a script which is triggered when a jpg file is received on the Raspberry PI.
If you understand all of this and feel confident in being able to deliver, please start your proposal with the word "Blue" so I can consider your offer.