1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android script to automatically print files copied to a folder?

Discussion in 'Android Help' started by tommydog1, Jul 5, 2021.

  1. tommydog1

    tommydog1 Lurker
    Thread Starter

    Is there a script for android that would automatically print files that are copied to a certain folder? Once printed, I would like the script to then delete the files in the folder. At the moment I am using the HP Print Service plugin to print from android to a HP printer, but want to automate this process so that I don't have to open each document that I want to print. I simply want a script to print all files in a folder and when printed delete those files. File types I need printed are jpg, PNG, doc, docx, pdf.

    If there is nothing already written to do this, how difficult would it be to write something like this for android?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. mikedt

    mikedt 你好

    Maybe it could be automated with something like Tasker or MacroDroid? Those are like the nearest equivalent of "scripts" on Android.
     
    MoodyBlues and Dannydet like this.
  3. MoodyBlues

    MoodyBlues Compassion is cool!
    VIP Member

    Probably not difficult, if you're already proficient in writing *nix scripts. However....

    I agree with @mikedt. I think the easiest thing would be to use an app that already exists.

    But something jumped out at me that you might want to rethink/reconsider. Given all the potential for something to fail along the way (a paper jam, for example, or running out of ink or whatever), *I* would move the files somewhere else after they've [theoretically] printed, and only delete them when you're sure they really did print. Of course, if they're not of such importance that this kind of caution is called for, never mind! :)
     
    mikedt likes this.
Loading...
Similar Threads - Android script automatically
  1. unet
    Replies:
    0
    Views:
    133
  2. nirmalnraj
    Replies:
    3
    Views:
    210
  3. Yesi Trotamundos
    Replies:
    6
    Views:
    227
  4. CptJack
    Replies:
    1
    Views:
    152
  5. dorlow
    Replies:
    11
    Views:
    316
  6. DridriLaBastos
    Replies:
    0
    Views:
    196
  7. Philip1982
    Replies:
    0
    Views:
    290
  8. StephaneM
    Replies:
    0
    Views:
    238
  9. floxp
    Replies:
    3
    Views:
    1,228
  10. Ofoma
    Replies:
    0
    Views:
    545

Share This Page

Loading...