Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print 2 copies of a report
Message
From
09/12/1997 18:35:00
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00064699
Message ID:
00064833
Views:
45
>>>>>>>I use vfp 3.0, I would like to print 2 copies of a report in 1 command.
>>>>>>>
>>>>>>>Now I use the REPORT TO PRINTER command 2 times.
>>>>>>>
>>>>>>>I would like to set the number of copies to 2 and then give the REPORT TO PRINTER command 1 time.
>>>>>>>
>>>>>>>How can I accomplish this?
>>>>>>>
>>>>>>>Bas Elbers
>>>>>>
>>>>>>Open FRX table manually and set COPIES=2 in field 'Expr' in first record. Make backup first!
>>>>>
>>>>>Is this the approach to use in VFP 5.0 and 5.0a as well?
>>>>
>>>>Why not?
>>>
>>>I haven't tested this in 5.0 but in 3.0 when setting the # of copies to 2
>>>in the printer dialog box, I still only got one copy. I'm wondering if this
>>>has been fixed in 5.0
>>
>>but i'm speaking about manual changing of FRX. Actually, I tested in 3b, saw that 'print setup' really fails here, and therefore tested manual change and it worked.
>
>But the manual method does not lend itself to the end user. If I'm to provide the
>ability to print multiple copies to the end user I must...
>a) programmatically change the field you referenced above
>b) provide another text box to capture the number of copies the user wants
>c) train the user *not* to use the "copies" box in the standard pringer dialog box
>
>seems like there should be a better way...

How about sending an eascape sequence to the printer (??? CHT(27) + esacpe sequence for # of copies of print job??

Thanx!

Tony Miller
Vancouver, Wa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform