Jump to content

Sending a printjob from cmdline (Win XP)


Recommended Posts

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
Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...