I ran out of paper, just when the meeting ended. I had just enough paper for all my notes.
Note that "paper" is an uncountable noun, so you can't say "run out of the paper". To create a countable noun, you use "<measure word> of paper". One piece of paper is a "sheet". So you could say "I ran out of sheets of paper."