printer won't print at times

HP Laserjet M506 printer and every once in a while it won't print.  It is attached to the desktop computer through USB.  If I reboot the computer the print outs will print.   Not sure what to check.  This is a Windows 7 Pro machine.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Uninstall the printer and remove from Devices and Printers.
Clear the print spooler:
Click Start.
Type Command .
Right-click “Command Prompt” and select “Run as administrator“.

Type net stop spooler then press “Enter“.
Type del %systemroot%\System32\spool\printers\* /Q then press “Enter“.
Type net start spooler then press “Enter“.
The print queue on your Windows should now be cleared.

Now go back to Devices and Printers, Printer Server Management (click on any device to see this menu), go to the Drivers tab, remove the driver.

Now disconnect the printer and USB cable. Restart the computer, install the printer package and then (only then) connect the printer by USB.

CESNetwork AdministratorCommented:
try a new USB cable
reinstall the driver.
uninstall/resinstall the printer
install the full software if you do not have it.
update the firmware of the printer.
mkramer777Author Commented:
I will try those things.  FYI.  When the user restarted the computer it printed out 1 of the word documents they were trying to print.  It's like it was locked until they rebooted.
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

JohnBusiness Consultant (Owner)Commented:
So try the steps I laid out and then check the cable as per the second post.
RaminTechnical AdvisorCommented:
In addition to the above suggestions:

Click Start, and search for Devices click Printers.
Right-click the printer, and then click Printer Properties.
Click the Ports tab, clear enable bidirectional support checkbox, and then click OK.
Test if Issue persists.

                * * * * *

Check the Spooler service :

Click Start, type services.msc and hit Enter.
 2. Look for the Print spooler.
 3. Restart the print spooler service.

Also make sure that the service is set to Automatic:
 a.     Right click on service and click on Printer spooler service and click on Properties.
 b.     Under the startup type, set it to ‘Automatic’.
JohnBusiness Consultant (Owner)Commented:
I suggested these steps in my first post above.
Michael MachieIT SupervisorCommented:
Also check to make sure the printer is not in some sort of sleep or power save mode. It would make sense that if in sleep or power save mode a reboot would resolve printing. This is because the job is held in the local print queue until the printer accepts the job, which would be the case when rebooting after it is 'hung'.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.