Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!kth!enea!tope From: tope@enea.se (Tommy Petersson) Newsgroups: comp.sys.amiga Subject: Re: Printer Driver Message-ID: <4384@enea.se> Date: 22 Mar 89 17:45:43 GMT References: <5627@ux.cs.man.ac.uk> <6204@cbmvax.UUCP> <4375@enea.se> <6355@cbmvax.UUCP> Reply-To: tope@enea.se (Tommy Petersson) Organization: ENEA DATA AB, Sweden Lines: 51 UUCP-Path: uunet!enea!tope In article <6355@cbmvax.UUCP> daveb@cbmvax.UUCP (Dave Berezowski) writes: -In article <4375@enea.se> tope@enea.se (Tommy Petersson) writes: ->I have just ONE small problem: I have a Seikosha SL80IP printer ->which is said to be NEC P6 compatible. It prints nice graphic ->with the 1.3 NEC P6 printer driver. It's just that first it prints ->a zero! It must be something of the initializing sequence the ->printer doesn't recognize, but the all seven densities works fine. ->The first line gets shifted to the right buy that zero though. -> - There is no V1.3 NEC P6 printer driver (not from Commodore). If you -mean the V1.3 Nec_Pinwriter driver (with over 30 drivers I HAVE to be this ^^^^^^^^^^^^^ Yes, of course. - - 00-01 \003P set pitch (10 or 12 cpi) - 02-02 \022 set condensed fine (on or off) - 03-05 \033W\000 enlarge off - 06-08 \033ln set left margin to n - 09-11 \033Qn set right margin to n - 12-12 \015 carriage return - 13-15 \033U1 set uni-directional mode - 16-18 \033r0 black text ^^^^^^ I checked this one out. It's ESC, r and the ASCII char 0. - 19-20 \0330 8 lpi spacing And there's more in what I get: 21-23 \033r\000 black text again, this time with a null instead of the ASCII digit 0. 24-28 \033 etc... set graphic mode I didn't find any patch/zap program, so I couldn't try anything out, but I suspect the first occurrence of "set black text", since it's a zero that's getting printed. - - Perhaps one of these sequences is not valid on your printer. You might -be able to use NewZap to look for the sequence: - - "\033P\022\033W\000\033ln\033Qn\015\033U1\033r0\0330" - - and null out any codes which your printer does not understand. I -should warn you though that the printer driver fills in fields 1, 2, 8, 11, -and 15 and will overwrite any value you put there. Yes, I will look for a patch program to try it out. But it sure loo like it was something of the normal confusion with printer codes: "Is this zero a NULL or the digit zero? - we better make two commands each with one of them!" :-) Tommy Petersson eunet!enea!tope