Thanks Jacqueline for your answer.

I thought of that. But the series start to 1 the first day of the year and finish the last day of the year. I cannot know in advance the number of documents to be printed. And I don't want to count manually pages before to put them in the printer. So, I need to know when the printer stop to print when there is no more page in the paper tray.


Le 10 sept. 2009 à 11:35, J. Landman Gay a écrit :

Jérôme Rosat wrote:
I need to print a series of numbers on a network printer, one number on each page, until there is no more page in the paper tray of the printer. Then, I must be able to reload pages and the printing begins again with the last number printed + 1. Is it possible to do that with Revolution ? I think I need to "communicated" with the printer and "listen" to know if the paper tray is empty.

I think it is simpler than that. The printer will cache the print job and if the paper runs out, it will wait until you reload the paper tray and continue printing where it left off. So I think all you need to do is create a print layout and a repeat loop that prints a number and a page break, and then send the whole job to the printer at once.

For example, if you need 1000 numbers:

repeat with x = 1 to 1000
put x into fld "numberFld" of card "printLayout"
print cd "printLayout"
print break
end repeat

I think that should work.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to