Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to solve the printer problem, which seems tough...
Message
From
16/11/2001 12:40:44
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00582513
Message ID:
00582804
Views:
38
This message has been marked as a message which has helped to the initial question of the thread.
>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?
>

Hi, Nadya, again

Something Dragan said make me wonder: why don't your batch processor reports to all printers available, one by one, and stores each report output in a table (where you could insert some control information such as date of report, printer name, stuff like this). When users decide to print a report (via the "Distribute" button) they actually choose the printer implicitly from the list of reports available in the table.

bye
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform