Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print to average page
Message
From
26/10/2005 09:33:07
 
 
To
26/10/2005 00:22:11
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01062120
Message ID:
01062201
Views:
15
You message is little bit unclear,
but if I understood correctly, you simply want to print two tickets per page right ?

Here is one idea that might work in your case.

You can make temporary cursor, and group every TWO receipts together by one field. Then you make report grouping on this field (of course start each group on new page) and then print one ticket in Group Header
and one in group footer.

Size Group Header / Footer bands equaly (half/half page) and leave detail band completely empty and 0 height. (Or you can even stick thin line in there for tear of marking purpose)

In order to print payment items (detail info) in group header/footer you can use 2 arrays populated on the fly, one for top and one for bottom ticket,
or even 2 memo fields from cursor prepopulated with payment lines.

Populating arrays can be done by calling UDF from group header that does that job and returns empty string so nothing shows no the papper.

Use 'printwhen' clause to suppress unpopulated array members from showing up.
This way you get 'sort of' two detail bands running on each page.
It might be time consuming but is doable.


Rgds++
Sergio


>Hello to all, I have a system of name (the concepts of payments can be many and very varied, are employees with 1 concept and others until with 15), i desire to print the payment ticket, but the idea is that this it occupies EXACTLY average (half) of letter page. (never case, there are small an other bigs).
>
>Or how i do for the detail has exactly the half page ???
>
>Thank you very much
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform