That’s interesting.
Thanks, 

Virgil Bierschwale
http://www.virgilslist.com
http://www.tccutlery.com
http://www.bierschwale.com
http://www.bierschwalesolutions.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rafael Copquin
Sent: Tuesday, December 19, 2006 3:37 AM
To: [email protected]
Subject: Re: Triplicate/duplicate forms need -- how do you handle it?

High Virgil

>Only thing I could think was that it must have got confused somehow as 
>I've never seen somebody run 4 at one time on one pc via USB..

I ran into precisely this problem a couple of weeks ago. My app needs to
print on 4 different preprinted forms at the same time and then, three
copies of each form. I implemented a chain of 5 laser printers hooked to one
PC and they all work via one USB switch. (the reason I have 5 printers is
because some folks need to print and additional sheet, with a summary of all
transactions and... well it is complicated)

The fact is that I have  5 laser printers set up as a chain and they are all
controlled by one PC.

I had the problem that the printers were "confused" and printed randomly all
forms on the same printer, driving me nuts, until after some consultation in
this forum and a lot of head scratching, came up with a very simple
solution:

Put a wait statement between sheets (actually INKEY(2) ).

The reason: apparently the microprocessor in the PC is so much faster than
the capacity of the USB port to deal with the data that it would not switch
to the correct printer as the program commanded (incidentally this had
happened to me in the past with impact printers in FPD and the solution was
to put a do while loop like this:

w=1
do while w< 100000
enddo
)

My present solution, which works like a charm with the lasers has been 
posted here but I will repeat it anyways.

 _pcopies = 3
 _peject='NONE'

 set printer to name \\facturacion\listas
 printjob
      Report Form listas to printer noconsole
      =Inkey(2)
 endprintjob

 _pcopies = 3
 _peject='NONE'

 set printer to name \\facturacion\remitos
 printjob
      Report Form remitos to printer noconsole
      =Inkey(2)
endprintjob

etc

As you see, the wait command (inkey) will give the USB port 2 seconds after 
printing each page, which is time enough for the next set printer command to

work

Regards

Rafael Copquin






[excessive quoting removed by server]

_______________________________________________
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.

Reply via email to