Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report printer selection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01249951
Message ID:
01250126
Vues:
16
>>>>Hi
>>>>
>>>>I am trying to give the user to select an appropriate printer near him (there are about 5 dotted over 2 offices)
>>>>
>>>>My VFP code to run a report is as follows:-
>>>>
>>>>myreportx="t:\global\docketdoki.frx"
>>>>report FORM (myreportx) TO PRINTER prompt noconsole
>>>>
>>>>I get the prompt and select the printer but it prints on the wrong printer - if I go into page setup in the report and change the printer to the one I want I get that - but then I can't select another printer at the prompt
>>>>
>>>>Why doesn't the prompt allow me to select another printer? is it because page setup is showing a printer - if so how do I get rid of it?
>>>>
>>>>Thanks
>>>>
>>>>Colin
>>>
>>>Remove the printer info from the report. In VFP 6 you could do:
>>>1. Open report as a table
>>>2. go to first record
>>>3. Clear contents of these fields: Tag, TAG2
>>>4. In Expr field leave only these lines:
>>>ORIENTATION=xxxxxx
>>>PAPERSIZE=xxxxxxx
>>>COLOR=xxxxx
>>>
>>>
>>>Here in download section there are some utilities that could automate this for you. Unfortunately I can't remember them. When I find them I'll send you a link.
>>
>>You want me to remove all of these except the 3 you mention?
>>
>>DRIVER=winspool
>>DEVICE=\\EMAIL\Epson FX-1050
>>OUTPUT=LPT1:
>>ORIENTATION=0
>>PAPERSIZE=121
>>ASCII=121
>>COPIES=1
>>DEFAULTSOURCE=15
>>PRINTQUALITY=120
>>COLOR=1
>>YRESOLUTION=144
>>TTOPTION=2
>>COLLATE=0
>
>
>:-)
>VFP9 leaves only these 3 I mentioned when I didn't save Printer Environment in report. But if you want you could leave everything except DRIVER, DEVICE and OUTPUT rows.

Thanks once again
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform