Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Select Printers tray in laser printer...
Message
From
26/11/1998 20:24:50
 
 
To
26/11/1998 09:18:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00160935
Message ID:
00161880
Views:
22
>Hi
>
>The case is :
>
>In own job, there are 10 windows or points of suport to customer, in each window of suport, we are to print 3 types of format pre-printed.
>The users of programs is no expertise and only use the computer for print of format pre-printed.
>
>hence,
>
>We are put in a database each type of format with your default tray and printer,
>all this, for can to print from anything computer each format without the user to do nothing.
>But we don't find, how in run time to set the printer and tray for each
>document type, WITHOUT the user to do nothing?
>
>Thanks,



This is a part of general setting on you own application, you can:

i) use a simple array to carry the matching on report vs printer:

Public Array RptMatch[10,2]
RptMatch[1,1] = myABC.frx
RptMatch[1,2] = HP DeskJet 690C
RptMatch[2,1] = myDEF.frx
RptMatch[2,2] = Espon LQ-1070
RptMatch[3,1] = myGHI.frx
RptMatch[3,2] = Espon LQ-2170
....

ii) use a Table to carry this setting, it will easy to maintain.
When new report need to add into system, just add an entry on that table is ok!

iii) use Registry on Win95 or Ini file to carry the information.

In my point, use a VFP table to carry application setting is easy!

^-^; I hope I don't misunderstand what you need!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform