Printing a series of numbers
Brian Yennie
briany at qldlearning.com
Fri Sep 11 17:33:42 EDT 2009
Jerome,
Would it work to make each page a separate print job? Then you keep
sending print jobs until one fails. The next day you just cancel the
last failed job.
Something like:
Print "5"
Print "6"
Print "7"
FAIL
Next day...
Print "8"
That way you are not worrying about detecting "out of paper" in the
middle of a multipage job. You just wait until a 1 page job fails.
> Thanks Craig and JB.
>
> My problem is not to reload the tray but to stop printing the number
> (and stop increasing numbers) when the tray is empty.
>
> I was probably not clear. Sorry for that but english is not my
> native tongue. In my company we receive approximately 300' 000 mails
> during a year. Currently we number each mail with a label
> preprinted with a number. And we stick the labels to the hand. So,
> what I want it is to put all mails received during the day in the
> tray of the printer and print a number on each mail and when the
> tray is empty, I need to store the last number in my stack and use
> this number the following day to start again to number mails.
>
> Jérôme
>
> Le 11 sept. 2009 à 15:27, DunbarX at aol.com a écrit :
>
>> I do not understand.
>>
>> If the fact that the tray is empty can tell you to load new paper,
>> then why
>> can't the fact that you just printed 200 sheets tell you to load
>> new paper?
>> The unused sheets are invisible. They are there only to allow Rev
>> to manage
>> the process, not the printer. They are a buffer.
>>
>> In other words, you want a certain event, the fact that the tray is
>> empty,
>> to signal you to reload. I suggest that a different event, the fact
>> that you
>> just printed 200 sheets, can signal you to reload just as well.
>> That
>> there will always be unused sheets below the continuous batches of
>> 200 working
>> sheets is irrelevant, and it does not matter how many unused sheets
>> sit
>> there.
>>
>> Imagine you had a paper tray that could hold 1,000,000 sheets. You
>> hit a
>> button in your application that prints 200, and you have to hit
>> that button
>> over and over to start each new batch of 200. It does not matter
>> that you
>> never empty the tray. But you get as many sheets as you need, all
>> numbered
>> correctly. And you don't have to count the paper, you just have to
>> make sure that
>> you reload the tray fully.
>>
>> Craig Newman
More information about the use-livecode
mailing list