×
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!

*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

Multiple page reports in FP 2.6 for Windows

Multiple page reports in FP 2.6 for Windows

Multiple page reports in FP 2.6 for Windows

(OP)
I need to design multiple page Tax reports. I am using a duplexing printer to print 2-sided tax forms.

RE: Multiple page reports in FP 2.6 for Windows

OK You stated what you wanted to do, now what is the problem ??

RE: Multiple page reports in FP 2.6 for Windows

(OP)
Ok, how does one pass Escape codes from a FoxPro report. I need to send the Escape codes to turn on duplex printing and to print the first side and then print the second side. Sending 2 separate reports for page 1 and page 2 does not work, the printer will always eject a page.

RE: Multiple page reports in FP 2.6 for Windows

FoxPro 2.6 will not send an esc code for duplexing to a printer because that is a document setting for a specific type of printer. In 2.6 you can only send common Esc Codes to the printers. You may want to look at a 3rd party software "Relational Riter", It may do it.

To get around the problem, (assuming you are in windows) create 2 printer icons, one for simplex and one for duplex.
1. Add the prompt statement to the report form command.
and / or
2. Just before you issue the report form command in the program, change the windows default printer. In Visual FoxPro it is one command. In 2.6 you will have to run a routine. Microsoft has the routines on their web site for foxpro help. Do not forget to change it back after the report form command.

If you can not find the routines for changing the default printers on Microsofts site let me know, I have them archived somewhere. I assume you know that writing a program with printer specific command reduces the portability of the program to only computers with the same type of printer. Adding the prompt statement to the report command is the better of the options. The customers will learn what printer to select. If you are writing this for a in-house program where you know what printers or there , then no problem.

Hope this helps you.

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