Hi,
I have some programs that return many results. I have to note them by hand on paper, one after one.
Is it exist a system to print directly from prime, like for exemple with HP 41 and his
printer ?
Thanks for help. GĂ©rard.
I just happened to see this old question with no answers...
If anyone still wishes to do this:
I don't know of any support for printing direct from the calculator.
But the following work-around is better than using pen and paper:
Instead of using PRINT(this), use
Notes(filename):=Notes(filename)+this //append results to file
Then after the program finishes, your results can be cut-and-pasted from the Notes file to your PC/Android and then printed.
Hi,
Many thanks Stephen, this run pretty well !
Good day !
I enjoyed that. Someone would have a ready program that demonstrates this function?
(06-04-2016 04:58 PM)jrozsas Wrote: [ -> ]I enjoyed that. Someone would have a ready program that demonstrates this function?
This demonstrates the technique - it works for the text and numbers, I haven't tried other data types.
Code:
LOCAL G1CMZ_PRINTER:="G1CMZ_PRINTER_DEMO";
LOCAL OKC,CHS,II;
LOCAL NL:=CHAR(10);
PRINTER (TXT)
BEGIN
Notes(G1CMZ_PRINTER):=Notes(G1CMZ_PRINTER)+TXT+NL;
END;
EXPORT DEMOPRINTER()
BEGIN
OKC:=CHOOSE(CHS,"DEMO","RUN DEMO");
IF OKC THEN
IF CHS==1 THEN
Notes(G1CMZ_PRINTER):="Printer reset at "+Time+NL;//ERASES OLD DATA
PRINTER("This file has too much data");
PRINTER("only if you have no pen");
FOR II FROM 1 TO 9 DO
PRINTER(II);
END;
PRINTER("ON PC:SELECT FILE AND PRINT");
PRINTER("ON ANDROID:COPY CONTENTS TO CLIPBOARD AND PASTE");
END;
MSGBOX("RESULT IN Notes("+G1CMZ_PRINTER+")");
END;
END;