updated pranning

master
ADA 1 year ago
parent 70145e4f13
commit 07c1cadfa6

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -1,4 +1,19 @@
import os
# first scan a page
scanning = "scanimage --resolution 300 --mode gray -o reading.png"
os.system(scanning)
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)

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

Loading…
Cancel
Save