Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #876
| Date | 2013-09-22 20:33 -0500 |
|---|---|
| Subject | Re: ImageWriter II Printing Control Codes? |
| From | Hugh Hood <hughhood@earthlink.net> |
| Newsgroups | comp.sys.apple2.programmer |
| Message-ID | <CE65047E.CDAF%hughhood@earthlink.net> (permalink) |
| References | <e9ecd50e-6290-4528-8b92-ec120c2d1da6@googlegroups.com> |
Nootrac90, I'm guessing that you're using this with a Super Serial Card in normal 'printer' mode (jumper block pointed down toward 'TERMINAL'/ Dip 1-5 to 'OFF' / Dip 1-6 to 'ON') on a II+ or IIe, or maybe with a IIc on Port 1. Is that correct? This almost sounds like the serial firmware is sending a carriage return after column 80 and thus causing your text to wrap prematurely, although that is more common with a parallel interface than with a serial interface, since the <ctrl-I>C (column) command has to be explicitly invoked on a serial interface for this to come up at all. Anyway, to rule out the serial card as the source of the problem, try sending the following serial firmware command at the start of your printout (after the PR#x) to allow up to 255 characters per line: <ctrl-I>255N If this is indeed the issue, you're program will need to be responsible for sending the carriage returns, or, if you have a predetermined column number in mind, just send: <ctrl-I>xN (where 'x' is the number of columns you want) If not, I'd suggest using the link Bill gave to read the IWII manual and see it you've got a DIP switch on the printer set to cause text to wrap automatically at 80 columns, and then see if the IWII has a command to override it. Hugh Hood in article e9ecd50e-6290-4528-8b92-ec120c2d1da6@googlegroups.com, nootrac90 at nootrac90@gmail.com wrote on 9/22/13 2:29 PM: > Hi, > I'm trying to write a program to print a report on an Apple ImageWriter II > printer. > I want the program to use a smaller (17 cpi) font in order to print more than > eighty columns on my eight inch wide paper. What I have managed to do is > switch to the smaller font, but then the printout is only 5inches wide and > wraps at eighty columns and continues on the next line. > I wrote the printout first in ZBasic and then double checked by writing it in > AppleSoft with the same results. > If anybody can help me with this I would appreciate it. > Thanks > Nootrac90 > (Daily Apple)
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ImageWriter II Printing Control Codes? nootrac90 <nootrac90@gmail.com> - 2013-09-22 12:29 -0700 Re: ImageWriter II Printing Control Codes? "Bill Buckels" <bbuckels@mts.net> - 2013-09-22 19:31 -0500 Re: ImageWriter II Printing Control Codes? Hugh Hood <hughhood@earthlink.net> - 2013-09-22 20:33 -0500 Re: ImageWriter II Printing Control Codes? nootrac90 <nootrac90@gmail.com> - 2013-09-23 13:20 -0700
csiph-web