Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to solve the printer problem, which seems tough...
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00582513
Message ID:
00582669
Views:
18
Instead of creating the report as soon as the user says to, log this request with pertinent info to a table. When they hit distribute, then prompt for the printer, and execute the report creation to the printer they select.

>Hi everybody,
>
>Here is the story. Main application (called JobControl) allows to run several automatic jobs in batch mode. These jobs consist of three basic steps: select data from our databases, transform them into custom output, create a report. In order to run them in batch, instead of printing reports we use REPORT FORM myReport TO FILE myFile. Later user can hit Distribute button, which allows to choose a printer, and the files are printed, using RawPrint.fll from Download section here.
>
>You can see our problem: reports are created with some printer set. Report to file command uses this printer info and produces file filled with codes for specific printer. Now, if user chooses the same printer, all would be fine. However, if he/she chooses another printer, garbage would be printed.
>
>I don't see a way to correctly solve this problem. My manager said, that we would design our reports oriented for specific printer, and user should choose this printer always. If he/she chooses another printer, it would be his/her fault. However, it's obviously not a good solution.
>
>Do you have ideas, how to solve this problem?
>
>Thanks a lot in advance.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform