Oliver Posted July 15, 2005 Share Posted July 15, 2005 How do I make a script that chooses a specific printer among many other printers? Thanks in advance Link to comment Share on other sites More sharing options...
jamesband Posted July 15, 2005 Share Posted July 15, 2005 How do I make a script that chooses a specific printer among many other printers?Thanks in advance <{POST_SNAPBACK}>I would image that this would depend on the software you are printing from. I don't think you could change the default printer on the fly during the target programs operation, for instance. I believe that programs generally read the default from the OS at app launch and store it. So, you would probably need to use hotkeys and alot of controlclick's and controlsend's.JamesBand Link to comment Share on other sites More sharing options...
Oliver Posted July 15, 2005 Author Share Posted July 15, 2005 I would image that this would depend on the software you are printing from. I don't think you could change the default printer on the fly during the target programs operation, for instance. I believe that programs generally read the default from the OS at app launch and store it. So, you would probably need to use hotkeys and alot of controlclick's and controlsend's.JamesBand<{POST_SNAPBACK}>thanks, that's the solution I use now. But the problem is when we install or replace a printer, then i have to upgrade all my scripts.The program is fx Word and reader.This is realy a big problem for me. Link to comment Share on other sites More sharing options...
jamesband Posted July 19, 2005 Share Posted July 19, 2005 thanks, that's the solution I use now. But the problem is when we install or replace a printer, then i have to upgrade all my scripts.The program is fx Word and reader.This is realy a big problem for me.<{POST_SNAPBACK}>You may want to try macro software that records your mouse movements and keystrokes. That way updating the macros wouldn't be so cumbersome.JamesBand Link to comment Share on other sites More sharing options...
blindwig Posted July 19, 2005 Share Posted July 19, 2005 thanks, that's the solution I use now. But the problem is when we install or replace a printer, then i have to upgrade all my scripts.The program is fx Word and reader.This is realy a big problem for me.<{POST_SNAPBACK}>You have a few options:1) Find a way to push the new scripts down to the client computers when you update your scripts in a central location.2) Write your scripts so that they check a list of printers in some kind of central share so that they are always synchronized to your most recent printer list.3) Write secondary scripts that periodically scan the network for printer changes (new printers, removed printers) and update the primary scripts accordingly. My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now