Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a form to different printers
Message
 
 
To
04/05/2006 09:13:52
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01118480
Message ID:
01119122
Views:
17
>>
>>So, I am thinking that maybe it can be done by defining IP of the printer. And, therefore, I am wondering, does every printer on a LAN have an IP that could be easily determined? Also, how would you direct a form to be printer to a printer by the IP?
>>
>>Any other suggestions to this task would be greatly appreciated.
>
>I have not read all the details, but why don't you Set Printer to name (GetPrinter())

This is would be too simple <g>. The customer wanted form to be printed to a printer based on the entry in the table. For example, if user selects that this is electrical order, send this form to printer "Electrical Printer", if it is mechenical order, to "Mechanical Printer", and so on.

What I did is created a very simple xml file where I have two tags for every printer, field entry tag and printer name tag. So far, in testing it works.

Thank you for your input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform