91v83y
Joined: 18 Nov 2009 Posts: 11
|
Posted: Wed Feb 24, 2010 9:13 pm Post subject: command to use non default printer |
|
|
question-
How do I tell this script to use a printer other than the default?
Can I simply specify the non-default one or must I make the target printer default and then switch it back?
Any help is help to me. Thanks.
WatchDir = C:\Documents and Settings\KIP\Desktop\test
PrevFileList = `n
Loop, %WatchDir%\*.*
PrevFileList = %PrevFileList%%A_LoopFileName%`n
Loop
{
NewFileList = `n
Loop, %WatchDir%\*.*
{
NewFileList = %NewFileList%%A_LoopFileName%`n
IfNotInString, PrevFileList, %A_LoopFileName%
Run, print %WatchDir%\%A_LoopFileName%
Sleep, 3019
FileDelete, %WatchDir%\%A_LoopFileName%
}
PrevFileList = %NewFileList%
Sleep, 5000
} |
|