%OP%JUY
%OP%PL66 
%OP%HM0
%OP%FM0
%OP%BM0
%OP%LM5
%CO:A,16,74%%L%%H3%%H2%Printing all odd and all even page numbers.               ODD'N'EVEN.DOC 

%JL%Page 6.5.7 of the Z88 EPROM has a question in the second paragraph - this 
%JR%is the answer.  With three very short CLI's one can print all of the odd 
%JL%-number pages of a long document, feed the paper back into the printer 
the other way around and print all the even-number pages on the back.

The CLIs are -










%JR%X024B and X024C can be loaded into, and Executed from any RAM but X024D 
%JL%must go in the default RAM (the one shown in the Panel). This one is 
activated by the others and can now be ignored.

Procedure - 




















%JL%If you want to be difficult, ask me how you continue when there is a 
%JR%foul-up in the printer at page 74 or even 12.  I don't know!  I can't 
%JL%find anything, anywhere which will enable us to start a print run at a 
%JR%particular page - just make sure you get the "mechanics" right; there's 
%JL%no problem with the CLI's or the method.  You could, I suppose amend the 
%JR%CLI in use by adding a string of Ms in front of the second line, one for 
%JL%each of the pages you DON'T want printed again.  I would have explored 
%JR%this idea but my paper resources are rather thin - I'll let  someone else 
have a go!

%JR%I thought there might be a problem with X024D due to its "memory box" 
%JL%getting full but it didn't happen.  It can take about 75 repetitions I 
%JR%think.  If you have a document of more than 100 pages I suggest you add a 
%JL%third line to this CLI, repeating the second line.  This worked in the 
case of my X021 RAMFILES,        

%JL%Hope you like it.  It now goes into my Archive EPROM as I doubt that I 
will ever use it - I hope you will.

Jack Lawrie (4635) 15 Sycamore Grove  Southam  Leamington Spa  CV33 0EY
%R%Tel: 0926 812884
%CO:B,12,54%






%H2%X024B
ODD.CLI


%H2%X024C
EVEN.CLI


%H2%X024D
SKIP.CLI





%JR%Load the file for printing into Pipedream - it must 
be the only one in the Index.
%JL%Prepare the printer, making sure there is enough 
%JR%continuous paper and no reason for it to foul up - 
remember Murphy's Law!
%JL%Ensure that the End of Page code in the PrinterEd is 
set at 12 and the settings in the Options Page are OK
%JR%Go to the Filer and EXecute X024B. After a suitable 
%JL%delay ( time for a quick prayer ) the odd pages will 
%JR%be printed.  There is an interval between pages of 
about 7 secs so don't panic.
%JL%Be on hand when the last odd-number page is printed 
%JR%so that you can kill the CLI in the time-honoured 
%JL%fashion, <> and ESC.  If you don't you will get a 
%JR%string of Ms down the first page of your document - 
%JR%doesn't matter of course if you aren't printing it 
again.
%JL%Turn the paper around so that page 2 will be on the 
%JR%back of page 1. Make sure that all is clear for the 
next run and EXecute X024C.
%CO:C,12,48%






#P|PO~D~DY~E
~EM~E
.*X024C

#P|PO~D~DY~E
M~EM~E
.*X024C

M~E
.*X024C
%CO:D,12,36%%CO:E,12,24%%CO:F,12,12%