General information
Category:
Reports & Report designer
>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
I print more than one report a variable number of times, and I have always used _pCopies. I know that this is more than one line of code, but its easier that escape codes, API calls, direct modification of FRX files, etc.
_pCopies = 2
printjob
report form repname to printer noconsole
endprintjob
_pCopies = 1
Jason Cresswell
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only