[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IW II woes




On Tue, 5 Mar 2002, Adalbert Goertz wrote:

> Image writer woes
>
> Hello:
> I am trying to run AppleWorks3.0 with ImageWriter II,
> German and Swedish Fonts.
> While the American Font works ok and the linefeeds are ok,
> the German and Swedish Fonts run double space only.
> Single space doesnt work in WP mode.
> I use special printer codes for German font:
> ESC Z CONTROL-C CONTR-@ ESC D CONTROL-D CONTROL-@
> Any ideas?
>
> Line feed in the Option menu is = no feed.
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> + Colorado Springs Pikes Peak Fidonet 128 Gateway
> + Colorado Springs, Colorado
> + User email address:   goertz@cyberspace.org
> + User FidoNet address: 1:128/148
>
>

ESC Z and ESC D are commands that set switches in the printer from
software. In particular ESC D is used to set the switch that adds a line
feed after carriage return. That command is ESC D |Ctrl-@| Ctrl-@ where
|Ctrl-@|= has the hi-bit set.

So if the commands you are sending have the hi-bit set,  you would get
the effect you describe. You can check this by having the IW  do a hex
dump of the codes being sent. Hold down 'select' while turning the power on.
Then send your command (from AW3 as you would normally send it). Note
that you may not have sent enough data for the printer to actually print
so it may seem as though nothing has happened, to get enoygh data to the
printer to actually print anything. Just send the command again until a
line prints.

ESC D Ctrl-D Ctrl-@ should be 1B 44 04 00, if the 04 is an 84 then that's
the problem. Note the other characters may also have their hi-bit set.

jim