[comp.sys.ibm.pc] Apple Imagewriter I

elrond@titan.tsd.arlut.utexas.edu (Brad Hlista) (07/21/89)

I have written a simple program in C to dump text to my imagewriter; however
it will not behave as a driver for this printer.  If anyone has written
a driver for MSDOS that would handle an Apple Imagewriter would you please
mail me a copy.  I am also interested in any other serial printer drivers
for IBMPCs and compatables.  Please mail me anything you have that may help
solve my problems; I do not have the time to attempt writing a driver.

	elrond@128.83.145.81

dmq00@walt.testeng.amdahl.com (338 x4371) (07/22/89)

>I have written a simple program in C to dump text to my imagewriter; however
>it will not behave as a driver for this printer.  If anyone has written
>a driver for MSDOS that would handle an Apple Imagewriter would you please
>mail me a copy.  I am also interested in any other serial printer drivers
>for IBMPCs and compatables.  Please mail me anything you have that may help
>solve my problems; I do not have the time to attempt writing a driver.
>
>	elrond@128.83.145.81
>

Email a copy to me too.  Thanks!


Desmond Quek

Phone: 1 (408) 746-6000 x 4321
Usenet  : {sun,uunet,decwrl,attunix,hplabs}!amdahl!walt!dmq00
Internet: dmq00@walt.testeng.amdahl.com

-+-

mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus) (07/22/89)

In article <81@walt.testeng.amdahl.com>, dmq00@walt.testeng.amdahl.com (338 x4371) writes:
> 
> >I have written a simple program in C to dump text to my imagewriter; however
> >it will not behave as a driver for this printer.  If anyone has written
> >a driver for MSDOS that would handle an Apple Imagewriter would you please
> >mail me a copy.  I am also interested in any other serial printer drivers
> >for IBMPCs and compatables.  Please mail me anything you have that may help
> >solve my problems; I do not have the time to attempt writing a driver.
>

You shouldn't need to write a driver.  Since the ImageWriter is a serial
printer, you will need to use DOS' MODE command to send output from LPT1
(or some other printer port) to the serial port.  If I remember right, it
is something like this:

MODE LPT1:=COM1:9600,8,n,1

You get the picture.  (Actual setting depend on your printer's settings.
The manual that is included with the ImageWriter includes all switch settings
for baud, parity, stop bits, etc.)

The ImageWriter should be able to echo all of the text coming to it (assuming
no one sent an escape code to put it into graphics mode).  In fact, this is how
this printer was used on the Apple II.

If you are wanting formatted output, you talking a whole different ballpark.
Since MS-DOS does not include support for the concept of a system-level
printer driver, each application is forced to develop its own.  Several programs
do support the ImageWriter.  (Word Perfect 4.2 does.)

-Michael

-- 
Michael Niehaus        UUCP: <backbones>!{iuvax,pur-ee}!bsu-cs!mithomas
Apple Student Rep      ARPA:  mithomas@bsu-cs.bsu.edu
Ball State University  AppleLink: ST0374 (from UUCP: st0374@applelink.apple.com)