dbTalk Databases Forums  

Selecting printers

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Selecting printers in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Inigo Montoya
 
Posts: n/a

Default Selecting printers - 03-22-2005 , 06:38 PM






Hi all:
I am wondering if there is way to limit the available printers for a user? I
have a situation where the user has a PDF writer and I want the option to
NOT allow the user to select that printer for security reasons.

The way I have it in mind is to not allow the user to choose their printer
via the REPORT FORM xxxx TO PRINTER PROMPT. Rather I will build a listbox of
the available printers and take out the PDF Writer as an option. Then have
the user choose which printer they want to send it to if they do not want to
send it to their default printer. Obviously if the default printer is the
PDF writer then I will prevent them using that printer as well.

Or is there another way to accomplish this?







Reply With Quote
  #2  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: Selecting printers - 03-23-2005 , 11:41 PM






Would selfmade dialog be an option? See also APRINTERS(), Set('Printer',n)
For i = 1 To APRINTERS(aTemp)
? aTemp[i]
Endfor
? SET("Printer",2)
? SET("Printer",3)


hth
-Stefan



--
Quote:
\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------


"Inigo Montoya" <xxspamxxxsmjrxx024 (AT) moore (DOT) net> schrieb im Newsbeitrag
news:44udnbWkzMBGJN3fRVn-sw (AT) comcast (DOT) com...
Quote:
Hi all:
I am wondering if there is way to limit the available printers for a user? I have a
situation where the user has a PDF writer and I want the option to NOT allow the
user to select that printer for security reasons.

The way I have it in mind is to not allow the user to choose their printer via the
REPORT FORM xxxx TO PRINTER PROMPT. Rather I will build a listbox of the available
printers and take out the PDF Writer as an option. Then have the user choose which
printer they want to send it to if they do not want to send it to their default
printer. Obviously if the default printer is the PDF writer then I will prevent
them using that printer as well.

Or is there another way to accomplish this?








Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.