Jump to content
Sign in to follow this  
MadSc13ntist

Sending a printjob from cmdline (Win XP)

Recommended Posts

MadSc13ntist

I have written a script that creates a formated file and i would like to automatically send it to the printer (without mouseclicks)

Ideas so far:

PRINT "filepath"

NET PRINT

WMIC PRINTJOB

but i haven't quite got it yet... Suggestions?

Does anyone know of any cmdline tools (or UDF's) to better facilitate this task?

Just a typical hp (usb) printer, i remember that i did this at one other point in history but the method has all but fallen out of my head since then....

Thanks folks!

Edited by MadSc13ntist

Share this post


Link to post
Share on other sites
Valuater

I have written a script that creates a formated file and i would like to automatically send it to the printer (without mouseclicks)

Ideas so far:

PRINT "filepath"

NET PRINT

WMIC PRINTJOB

but i haven't quite got it yet... Suggestions?

Does anyone know of any cmdline tools (or UDF's)  to better facilitate this task?

Just a typical hp (usb) printer, i remember that i did this at one other point in history but the method has all but fallen out of my head since then....

Thanks folks!

<{POST_SNAPBACK}>

I just tested this for my own use

http://www.autoitscript.com/forum/index.php?showtopic=14223#

it works GREAT!

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.