generate a basic pdf