At 12:11 2014-05-13, Ted Roche <[email protected]> wrote:
A client has a situation where they want to print two different preprinted
forms and collate the result, something like:
Tray 1: blue copy of paycheck
Tray 2: canary statement of earnings
The well-known VFP trick is to establish two different reports and in
Windows create two different named printer profiles and then alternate:
DO WHILE NOT DONE
REPORT FORM Paycheck TO PRINT PRINTER 'BlueTray' NEXT 1
SKIP -1
REPORT FORM Statement TO PRINT PRINTER 'CanaryTray' NEXT 1
ENDDO
or similar pseudo-code. Works great, right up to the point that it don't.
This appears to be a classic case of a race condition.
Use something other than print queues. Print directly to the
printer, or have two printers.
[snip]
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.