Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!gatech!rayssd!unisec!mark From: mark@unisec.UUCP Newsgroups: comp.sys.amiga Subject: Need help with printer driver Message-ID: <457@unisec.USI.COM> Date: Wed, 8-Apr-87 19:03:10 EST Article-I.D.: unisec.457 Posted: Wed Apr 8 19:03:10 1987 Date-Received: Sat, 11-Apr-87 08:21:46 EST Distribution: comp Organization: UniSecure Systems, Inc. Newport, R.I. Lines: 36 Keywords: printer driver Aztec Manx link howjadoit? Well, after fighting with Aegis Draw Plus yesterday, DMCS on several occaisions, Deluxe Paint II, Notepad, you name it, I finally decided that if I was going to cuss and moan every time I tried to get a reasonable hardcopy, at least I'd be responsible. To that end, I dug out a copy of the Epson printer driver (a slightly modified version of the one in the RKM) that I had snagged from Compuserve and started preparations for building my own Epson LQ-800 printer driver. I had been waiting for Aztec C V3.4 which allows me to create printer drivers. Really! It says so, right in the book! And that's all it says! GRRRR! The first problem I encountered was with an undefined PrinterSegmentData which is XREF'ed in printertag.asm, but has no other references. So, I commented out the XREF. I compiled with the +A option to force longword alignment. My problems lie with the linking process. I suspect that there is a well-known (but not revealed to me) process for linking device drivers that probably involves a flag or two and a magic library. Right now, I'm getting some symbol overrides (library base pointers) and an undefined _main(). I suspect that if I was doing things right, the reference to main wouldn't be generated, right? I'm currently linking with c.lib. Is there some other library (amiga.lib?) that I should use or a different startup file that I'm supposed to include? I've got the Amiga RKM's, AmigaDOS manual, AutoDocs, complete Manx documentation (hah!), and the SYBEX Amiga Programmer's Handbook. Do I need new glasses or is what I'm looking for not there?!? I know I'm certainly fallible and have missed things that were under my nose before. If you can provide me with the info I need to get going on this, I'll be most grateful. Thanks. Mark -- | Mark R. Rinfret, SofTech, Inc. mark@unisec.usi.com | | Guest of UniSecure Systems, Inc., Newport, RI | | UUCP: {gatech|mirror|cbosgd|uiucdcs|ihnp4}!rayssd!unisec!mark | | work: (401)-849-4174 home: (401)-846-7639 |