bernar@uwvax.UUCP (06/24/84)
[sacrifice line] Hello again everybody!. As I mentioned in a previous article I'm having a bit of trouble with my newly acquired printer and interface (a Gemini 10X and a Universal/Commodore interface from Star Micronics). The first problem occurs when I try to print a program listing. I do: OPEN 4,4,0 (* CBM compatibility A code *) CMD 4,"MYPROG":LIST PRINT#4: CLOSE4 This should list the program I have in memory with its name on top. The printer head goes all the way to the left margin and presses against it doing a terrible noise. If I turn off the printer and then on again, the thing prints one line (or part of it) with the first character missing. I'm really puzzled by this. I've tried 4,4,1, 4,4,7 and even 4,4,5 in the OPEN statement with no luck. Am I doing something wrong ?. By the way, is there any other way of printing a program listing ?. The second problem is the following: Suppose a variable CC$ in a program contains the function code for compressed mode (i.e. CHR$(27)+CHR$(15)). If I do PRINT#4,CC$;"HELLO HELLO", it prints the message in compressed mode but the letters are incomplete (i.e. some dots of the matrix image are missing). If, on the other hand, I do: PRINT#4,CC$;:PRINT#4,"HELLO HELLO" everything is fine. In general, some times when I put a function code and a message in the same PRINT statement something weird happens (like the print head banging against the left side and screaming for me to push the button and put it out of its misery). If I do it in separate PRINT statements I have no problems. Are this known bugs of the system or should I use the warranty in a hurry ?. I hope somebody out there can help me with this. Happy hacking you all ! Bernardo Feijoo.