[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple IIe printing
Miroslav Ostric (ut40@ab292.rz.uni-karlsruhe.de) wrote:
: Hi,
: I tried in AppleSoft to print text via pr#6, but it prints also the
: linenumber of the BASIC-program which actually runs. For example:
: 10 ?#6:?"hello"
: On the screen and on paper it prints: [10] hello
: Can I avoid this effect? Must I adress the printerport directly with a POKE,
: and when yes, what is the adress?
: Thank you for your help and sorry for my poor english.
: Ciao
: Miro
Two things, Miro...
1. Where is your printer card? This is a IIe? Open the cover and look.
The printer card should be in Slot #1 (left-most) under most
circumstances. It may be that you are simply lucky that it is printing at
all. The command is "PR#n" where n is the slot number.
2. The line numbers are coming from the Applesoft "TRACE" command. The
NOTRACE command will get rid of them.
The fact that the PR#n command seems to be triggering TRACE suggests that
perhaps you have no card at all in slot #6, so that when you issue the
PR#6 command, the computer gets confused and somehow goes through the
TRACE command before finally finding the routine to start printing.
It's just a guess...Good luck!
--Dave Althoff, ][.
--
/^\ _ _ *** Now open EVERY DAY!!! ***
/XXX\ /X\ /X\_ _ /X\__ _ _ _____
/XXXXX\ /XXX\ _/XXXX\_ /X\ /XXXXX\ /X\ /X\ /XXXXX
_/XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX