Hi all
Situation:
W2003 server LAN, with a number of XP Prof PCs
one of the PCs has 5 USB ports with 5 Laser printers attached
All machines in the LAN share these printers and the PC that has the printers
attached also uses them
The app is a VFP9 invoicing application. Due to certain particular busines
rules, the same customer may require different types of invoices and packing
slips,determined by the type of product purchased, discount agreements, rebate
policies, volume discounts etc. Therefore, the operator could be invoicing a
number of outstanding orders for one customer, which would require that
different types of invoices be issued at the same time for this particular
customer.
That is, if he buys widget1, he gets a special price, requiring a separate
invoice. If he also buys widget2, without a discount, he gets another kind of
invoice and so on. In addition, some products are shipped from one warehouse
while others are shipped from another warehouse. A complicated situation, but
which the VFP app can deal with satisfactorily.
The problem is the printing. Since all orders are billed by the same operator
in one big pass, it is the program that determines which printer should be used
for the particular product billed. So I could have a maximum of 4 printers used
at the same time.
I caputure them thus
SET REPORTBEHAVIOR 80
SET PRINTER TO default
SET PRINTER off
SET PRINTER TO NAME \\printserver\inv1
SET PRINTER ON
_pcopies = 3
_peject='NONE'
printjob
report form inv1 to printer noconsole
endprintjob
SET PRINTER off
SET PRINTER TO NAME \\printserver\inv2
SET PRINTER ON
printjob
report form inv2 to printer noconsole
endprintjob
and so on.
Theoretically, this should capture the first printer, print 3 copies of
invoice 1, then capture the second printer, print 3 copies of inv2 and so on.
But this is not so, it prints a loose page in printer one, then it captures
printer 2, prints all six documents and capturing printer 3 prints blank
pages... a nightmare
Al documents are preprinted and prenumbered, so printing should be perfect,
otherwise, there is lots of document cancellation.
Is my approach correct or am I missing something very obvious?
TIA
Pamechu
Pamechu Umgobwe
---------------------------------
The best gets better. See why everyone is raving about the All-new Yahoo! Mail.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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.