There are many things that will effect how your printer handles paper. The most overlooked being the size of the document or image to be printed. If the image or text bleeds over the edges (left, right, top, bottom) of the document, several sheets can be ejected before the "visible" printing takes place. Often those first few pages look blank, but actually are the outer edges of your picture or text. If you are printing a large picture or large text document, this may be your situation. Try printing a document with just a few words on it (like a small email) as a test.
The second most common culprit is dusty, dirty feed rollers in the printer. Consult your HP 1310 series manual for instructions on cleaning the feed rollers, or consult this general cleaning article on HP.com. HP PSC 1310 All-in-One Printer series cleaning
The type of paper can also effect how many sheets are pulled into the rollers. Is the paper new?, Thick?, Very thin?, or is it the same ol' printer paper you've always used? Either way, remove the stack of paper from the feed tray, "fluff" it by fanning it (like flipping through a book very quickly, or the way Superman counts a stack of money!) and replace. Print a test page.
Let me know if this helps!