×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Using FoxPro for Windows 2.6, how can I force a "setup printer" dialog

Using FoxPro for Windows 2.6, how can I force a "setup printer" dialog

Using FoxPro for Windows 2.6, how can I force a "setup printer" dialog

(OP)
Using FoxPro for Windows 2.6, how can I force a "setup printer" dialog?  Also, I want to make the system menu (sysmenu) available during a program.  Using "set sysmenu on", the menu shows up, but if you select an option (like "File"), none of the lower options (like "setup printer") are available.  Thanks.

RE: Using FoxPro for Windows 2.6, how can I force a "setup printer" dialog

I don't know a clean way to do this -- there may be an API call that you can use and maybe others will comment.  What I've done in the past is to create a dummy report named setup and an associated dummy table with one record in it, and then call the report with the prompt clause as in

REPORT FORM SETUP.FRX TO PRINTER PROMPT NOCONSOLE

This will bring up the printer diaglog which allows printer setup --

Like I said not a clean way and maybe someone can comment on a better way.

RE: Using FoxPro for Windows 2.6, how can I force a "setup printer" dialog

=SYS(1037) will pop up a printer setup dialog

Mike Wood
mikewood@mpwonline.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close