Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on changing the default Windows printer
Message
 
To
17/03/2000 17:00:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00346540
Message ID:
00347437
Views:
28
Hi Rob

I would be very interested in more information about you fpp.

>I guess I am getting in this thread a little late, but the work must go on.
>
>I would like to clarify a bit about what Fox Power Printer (FPP) does. You (probably) all know that FoxPro stores specific printer information in the report .frx in the expr, tag and tag2 fields. Most people blank these fields out or blank out the tag and tag2 fields and try to manipulate the expr field. This is probably just redundant for everyone.
>
>Two years ago I had never even heard of FoxPro, but I have been programming for over 10 years now. So I was destined to bump into this printer issue with FoxPro reports. About 4-5 months ago, I did bump into this problem and got the same answers most people get with this problem. So I researched out what is stored in the tag and tag2 fields. I quickly did find out what is in those fields.
>
>And so, FPP was born. In a nut shell, FPP gets the printer information for the printer the programmer requests and makes all the printer setting changes the programmer wants and stores them in the correct format back into the tag and tag2 fields (the expr is blanked out). This makes FoxPro believe every time, that the printer the report is to be sent to is the printer that the report was created with. This works every time, I have not yet had a report go to a printer I did not want it to and with the settings I want (Network or Local).
>
>The biggest and best thing about FPP, is that everything is controlled programmaticly. You never have to even show the user a standard, generic printer dialog. You can create your own printer dialog with FPP. I have one that uses a treeview to order over 100 reports and has the printer settings on the same form. The form remembers every printer setting by report and user. So next time the user selects that report, the printer and settings are already there (Doug and Craig have seen this project).
>
>Lastly, with FPP you can do things like pause the printer (which affects everyone, in the case of a network printer), set the printer to work offline, see jobs in the print queue. I am working on printer pass-through for line printers, I am looking for some testing help on this one. I have successfully printed from the MS RTF control (Doug has seen this one), although this is not implemented in the current version.
>
>In short, FPP was written completely for FoxPro. Everything is done programmaticly, FPP never raises a dialog or other forms for user interaction.
>
>The funny thing, is that Microsoft could have given programmers all these features since FoxPro 2.6.
>
>P.S. If you read this far, thanks for taking the time. Also, I apologize now to Ed for any misspells or bad grammer. ;) And lastly, I would like to thank Doug and Craig for being very supportive.
>
>Rob.
Birger G. Thoresen

Pek og Klikk
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform