Printing from x64 using a script

KilpAr

New member
Local time
9:01 AM
Messages
6
My office printer, HP Color Laserjet CM6040mfp, prints nicely when I just print "normally" from Word or Excel. When I try to automatize it with a .bat file, it doesn't work. I have x64 Win7. Another computer has x86 Win7 and it works nicely.

The error I receive is:
"Operation could not be completed (error 0x00000705). Windows cannot locate a suitable printer driver. Contact your administrator for help locating and installing a suitable driver." So what do I need to install?

The actual thing I'm trying to do is to print out test pages from several printers using a VBA script. This CM6040mfp happens to be the closest one to my room so that's the one I begin with.
 

My Computer

Computer Manufacturer/Model Number
HP EliteBook 8740w
OS
Windows 7 x64
CPU
Core i5 vPro
One thing that might help with solving this is that right now the printer is my default printer.
 

My Computer

Computer Manufacturer/Model Number
HP EliteBook 8740w
OS
Windows 7 x64
CPU
Core i5 vPro
Back
Top