Unsolved

This post is more than 5 years old

2 Intern

 • 

3.9K Posts

1849

August 28th, 2007 17:00

Can I print a web page from a command line?

I'm trying to get a particular web page to print every day at a certain time. Problem is, I can't find any way to actually get a web page to print from a command line (which would be needed to run it through Window's scheduled tasks).

Both Firefox and Internet Explorer seem to have remarkably few command line arguments. I can get Firefox to launch with a web page, but that's about it-can't figure out how to make it print (and I'm not sure this would work anyway if I'm not actually logged in).

Anyone think there's a way to do this? I'm thinking Apple's scripting language MIGHT work, but I probably need Windows to do this.

2.9K Posts

August 29th, 2007 02:00

Tigerwolf7,
 
I'm not a programmer, but I've heard of guys using AutoIt to automate Windows functions.  It's available here:  http://www.freedownloadmanager.org/downloads/145_c/.
 
Hope you can use a little imagination to have it run via Task Manager at a certain time each day.
 
Tony
 
 

2 Intern

 • 

3.9K Posts

August 29th, 2007 13:00

Thanks! I'd never heard of it, I'll have to mess around with it. Now I'm told (of course), the super highly important reason I had to get this working doesn't matter anymore :D Ah, I love work.

2.9K Posts

August 29th, 2007 18:00

Tigerwolf7,
 
Yep.  That's the way it goes.  Hurry up and wait, and wait, and wait.  Try the AutoIt.  I downloaded it and played around with it myself.  I can see where it could be made to do some neat automation of repetitive tasks.
 
Tony
No Events found!

Top