Sign in to follow this  
Followers 0
MadSc13ntist

Sending a printjob from cmdline (Win XP)

2 posts in this topic

#1 ·  Posted (edited)

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



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  
Followers 0