Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Paul,
In FPW reports, the orientation, among other types of info, is stored in the FRX's Tag2 field. Based on this knowledge, you could REPLACE tag1 WITH "" and keep the info in Tag2. That will put most of the printers (if not all) in Landscape mode.
The information above is based on my testing with reports designed with a Canon BJ as the report printer (that did not support PCL or any HP compatibility) and ran on HP printers, and vice-versa.
I believe it's worth a try, although you'd have to blank tag1 after any changes made to the report form at design time
As for VFP, setting ORIENTATION = 1 in Expr looks like a more humane way of dealing with this problem.
HTH
Sorin
>>>I need the ability in both VFP and FPW 2.6 to create a report in landscape mode. The problem is that these reports will not always be printed to printer that they were designed on. Any time a different printer driver is used, the "landscape" setting is lost. Is there any way to generically specify a landscape form?
>>>
>>>Paul Moon
>>
>>Paul, open the report as a table (USE MyReport.FRX) then look at the text in the EXPR field, first record. Delete all the information EXCEPT the line
>>
>>ORIENTATION=1
>>
>>Next delete all the information in the TAG and TAG2 fields, and close the file. This will force VFP to use the default Windows printer, but still keep your orientation correct.
>>
>>HTH
>>Barbara
>
>OK. That works in VFP, is there any solution in FPW 2.6?
>(Heres hoping!)
>
>Thanks
>Paul
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement