diff --git a/anyname.png b/anyname.png new file mode 100644 index 0000000..f3cf299 Binary files /dev/null and b/anyname.png differ diff --git a/pranning.py b/pranning.py index 0ecfb62..2ace820 100644 --- a/pranning.py +++ b/pranning.py @@ -1,4 +1,19 @@ import os # first scan a page scanning = "scanimage --resolution 300 --mode gray -o reading.png" -os.system(scanning) \ No newline at end of file +os.system(scanning) + + +import calendar +import time +# Current GMT time in a tuple format +current_GMT = time.gmtime() +# ts stores timestamp +ts = calendar.timegm(current_GMT) +copy=f"cp reading.png timestamps/reading-{ts}.png" +os.system(copy) + + +printing = "lp reading.png" +os.system(printing) + diff --git a/reading.pdf b/reading.pdf new file mode 100644 index 0000000..1731761 Binary files /dev/null and b/reading.pdf differ diff --git a/reading.png b/reading.png new file mode 100644 index 0000000..dd16035 Binary files /dev/null and b/reading.png differ diff --git a/timestamps/reading-1669736371.png b/timestamps/reading-1669736371.png new file mode 100644 index 0000000..b152ddc Binary files /dev/null and b/timestamps/reading-1669736371.png differ diff --git a/timestamps/reading-1669736493.png b/timestamps/reading-1669736493.png new file mode 100644 index 0000000..1d6c80c Binary files /dev/null and b/timestamps/reading-1669736493.png differ diff --git a/timestamps/reading-1669736611.png b/timestamps/reading-1669736611.png new file mode 100644 index 0000000..5c7b056 Binary files /dev/null and b/timestamps/reading-1669736611.png differ diff --git a/timestamps/reading-1669736746.png b/timestamps/reading-1669736746.png new file mode 100644 index 0000000..7ab3d64 Binary files /dev/null and b/timestamps/reading-1669736746.png differ diff --git a/timestamps/reading-1669736896.png b/timestamps/reading-1669736896.png new file mode 100644 index 0000000..49922f5 Binary files /dev/null and b/timestamps/reading-1669736896.png differ diff --git a/timestamps/reading-1669737418.png b/timestamps/reading-1669737418.png new file mode 100644 index 0000000..14841f3 Binary files /dev/null and b/timestamps/reading-1669737418.png differ diff --git a/timestamps/reading-1669737485.png b/timestamps/reading-1669737485.png new file mode 100644 index 0000000..7c12b59 Binary files /dev/null and b/timestamps/reading-1669737485.png differ diff --git a/timestamps/reading-1669737621.png b/timestamps/reading-1669737621.png new file mode 100644 index 0000000..88d1fb1 Binary files /dev/null and b/timestamps/reading-1669737621.png differ diff --git a/timestamps/reading-1669737720.png b/timestamps/reading-1669737720.png new file mode 100644 index 0000000..dd16035 Binary files /dev/null and b/timestamps/reading-1669737720.png differ