create generic print archive table python script