Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print 2 copies
Message
From
04/11/1998 10:34:03
 
 
To
04/11/1998 06:46:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00154278
Message ID:
00154336
Views:
16
Hi, Cetin-

Would an interesting side effect of 1) occur in a multi user app, if someone else wants to print just one copy? Perhaps, a somewhat safer way would be to copy the frx to a new frx, change the copies, and print.

An interesting side effect of 2) (also in a multi-use app) could be that the two report copies wouldn't match...

< I'm not *purposely* trying to be annoying this morning ;-) >

>Two quick ways.
>1) Use frx as table and set copies = 2.
use myreport.frx
>replace expr with strtran(expr,"COPIES=1","COPIES=2")
>use
>report form myreport to printer noconsole
>use myreport.frx
>replace expr with strtran(expr,"COPIES=2","COPIES=1")
>use
2) Run report 2 times :
report form myreport to printer noconsole nowait
>report form myreport to printer noconsole nowait
Cetin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform