Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4571
| From | "Jamal" <vodotnet_nospam@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: GetPrinters - Terminal server |
| Date | 2013-01-09 17:38 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <kckrhd$55r$1@dont-email.me> (permalink) |
| References | <b24262bb-af21-4cf8-a09f-bcf293f06f72@googlegroups.com> |
Jean-Luc, If understand you correctly, you ONLY want to get the printers for the current user session. If so, see the following discussion: http://www.geekpedia.com/Thread27671_How-To-Get-Printer-Names-In-Terminal-Services-Session.html Note: "Then you test the devicename to see if it has a double underscore at the beginning, if it has test to see if the devicename contains the strSession value." You just to have to translate the VB6 code to VO. HTH, Jamal wrote in message news:b24262bb-af21-4cf8-a09f-bcf293f06f72@googlegroups.com... Hello all, On a terminal server, GetPrinters retrieve all the installed printer on the server... even the printer currectly conntected by other users ! I need the same list of printer that the list avaiable with ShowPrintDlg How can I get this list ? I need that because I have to deal with (redirected xx) that is appended at the end of the printer name, and if I want to save a current printer, I have to remove that... and then, at the next session find the new redirected printer Jean-Luc
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GetPrinters - Terminal server igsofterror@gmail.com - 2012-12-20 09:41 -0800
Re: GetPrinters - Terminal server Jean-Luc Stassen <igsoftsprl.be@gmail.com> - 2013-01-09 03:23 -0800
Re: GetPrinters - Terminal server dlzc <dlzc1@cox.net> - 2013-01-09 05:52 -0800
Re: GetPrinters - Terminal server "Jamal" <vodotnet_nospam@yahoo.com> - 2013-01-09 17:38 -0500
Re: GetPrinters - Terminal server Jean-Luc Stassen <jls@igsoft.be> - 2013-02-02 06:58 -0800
Re: GetPrinters - Terminal server dlzc <dlzc1@cox.net> - 2013-02-02 09:52 -0800
Re: GetPrinters - Terminal server Jean-Luc Stassen <jls@igsoft.be> - 2013-02-05 11:11 -0800
csiph-web