>>Can someone tell how to programmaticaly access the information
>>in the Print Setup Dialog? I have an app that I need to alternate
>>between Novell 4.x and NT print queues based on certain conditions.
>>
>>I would like to just evaluate a condition and then shift printing
>>from one queue to the next. No user intervention.
>>
>>The workstation OS's are W95 and NT4.0
>>
>>thanks,
>>
>>ray
>
>Ray,
>
>Not totally sure if this is what you're looking for, but take a look at APRINTERS(). It loads an array with the printers set up on the workstation. Beyond that, there are ways with calling into that Windows API that will get you that information plus the physical driver that is being used and what it is captured to. If you want something like that, drop me a line and I can send you some code.
>
>Rod
I've looked at Getprinter() and Aprinter(). What I need to do is to have
a person start their app printing at Queue = \\Server\Fred then under
certain conditions switch queue to queue = \\server\bill, then back to
queue = \\server\fred.
I'd be gratefull for whatever code/suggestions you have.
thanks,
ray
Some days it's not worth chewing through the leather straps ...