>>>I do not seem to be able to select a Netware 4.10 print queue from my program with the methods from the documentation/help files. I may be doing something wrong, but I would be grateful if anyone had any code example of a way that I can accomplish this seemingly trivial feat. I am hoping to avoid a work-around requiring a capture command.
You *have* to capture the printer queue to print in Novell from DOS.
>>we do it as follows:
>>
>> ! capture /l=3 /nb /nff /ti=3 /q=PQ_BRINKS >nls
>> SET PRINTER TO "LPT3:"
This is the way to do it programmatically, but it can also be done in the 'autoexec.bat' file (or any batch file for that matter - which is the way we do it) if you plan on printing to the same printer over and over.
Paul M.
PS - There is a handy utility called CloseSp.bin which you can LOAD early in your program and CALL after you print to 'flush' the Novell print queue. This speeds up the printing process quite a bit under Netware 4.x
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.