Close

Backup .pdf List Feature

A project log for The Best Solution to the Shopping List Ever

No phone, no cloud, no data-sharing. Just a spreadsheet, some Python and a receipt printer. And it's awesome!

gregory-sandersGregory Sanders 07/15/2021 at 10:293 Comments

If you get to the store and reach into your pocket for the list you printed at the house, and you suddenly realize you left it sitting on the kitchen counter, what do you do?

As an emergency backup strategy, I thought it might be good to figure out how to create a receipt-sized .pdf of the list and save it into one of the cloud storage services that everyone has on their phones and laptops/desktops/whatever.

The irony is not lost on me, but this would not be intended (at least not for me and my wife) to be the primary strategy for the shopping list.

Last night I worked through learning about the 'reportlab' module, and I was able to get a .pdf with the size and font spacing that was close enough to the actual printed receipt to satisfy me.

Next I'll move my test code over to the main app and see if I can get the whole thing to work.

7/15 UPDATE: It works, and now v1.6 is on Github.  I'm really excited about how this has come together.

Actually, now if you want to use the .pdf as a list on your phone, you can just leave the printer IP set at it's default 192.168.254.254 and SL will print your list to the .pdf file and save it to the folder where your .xlsx file is located.

Discussions

nyrans2000 wrote 06/21/2023 at 05:51 point

LFC

  Are you sure? yes | no

fecondite wrote 09/29/2021 at 06:17 point

The experts have answered all the queries on this blog in a great way. I have also made the decryption files of pdf with the help of this guideline and check essay writing service reviews in order to manage the task. These password-protected system files help us to keep our documents private and confidential all the way.

  Are you sure? yes | no

jumentous wrote 07/24/2021 at 08:22 point

Pdf backups are very necessary for everyone to have in the form of cloud computing. You can be in a hurry and forget your flash at your table and users can click here to view the listing >> to rotate pdf pages. But if you have all the backups, you need not worry about the files as you have access to your mobile.

  Are you sure? yes | no