Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set device to prompt

Status
Not open for further replies.

davekirbawy

Technical User
Feb 19, 2003
7
0
0
US
The following code

set device to printer prompt()
@ 1,1 say "Hello World"
set device to screen

set device to printer prompt()
@ 1,1 sa "Good bye"
set device to screen

The second set device to printer did not provide a list of
printers to select from; there must be a way to release the first choice so that each line may go to a different printer.

 
Hi

WAG....

You might try the Set Printer Command...

Set Printer On Prompt
@1,1, say "Is this going to work?"
Set Printer Off

etc....

Best


Tom Gahagan
tgahagan@charter.net

Alliance
Computer Solutions



"Music, like sex, is much to important to be left to professionals."
Robert Shaw
 
davekirbawy,

It appears to be related to the device being busy with the first request... Perhaps VFP is unable to switch output devices to another printer while the first request is still processing...just a thought.

Slighthaze = NULL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top