On 2/4/2011 4:02 PM, kamcgin...@gmail.com wrote:
> I hope I can explain this so it makes sense.
>
> I have a wrapper for Windows printer API calls
>
> 1 will select a printer.
>
> 2 will allow you to change settings like the paper cartridge.  On Win2k, xp 
> and 2003, this screen also has a button to
> change the printer that is missing on Vista and Win7. Why did they do that??
>
> This means clients with Vista and Win7 must select the printer before going 
> to the screen to change the settings. I
> don't do this often enough to be aware of the difference (or care), but we 
> just got the 20th (my guess) user complaint
> calling to ask what happened and they want me to put the printer selection 
> back.
>
>   I used to do things like that 30 years ago when I programmed in assembler, 
> but that is water under the bridge for me
> and I am not going back there.
>
> Anyone know of any other printer api call documentation somewhere that I can 
> experiment with?

Easy enough to select a printer in VFP.  mPrinterName = GETPRINTER().
To find out what the current printer is,
    mPrinterName = set("Printer",2)   default Windows printer
    mPrinterName = set("Printer",3)   default VFP printer (same?)

I don't use API calls, but you should be able to feed in the Printer 
name ok.

Dan Covill

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4d4cc7fc.1070...@san.rr.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to