[comp.sys.amiga] printer.device & justification

dave@pyr.gatech.EDU (David Corbin) (07/17/87)

OKay once again, I have a problem, this time with printer.device.  If finally 
have a half-way working printer driver.  Here's the catch- whenever I send any
of the 'justify escape sequences' (ESC[nF) to the printer, it doesn't seem 
to recognize them.  In fact, what seems to happen is the following.  If I have
an entry in CommandTable for the sequence, I get nothing.  If I don't have the
sequence in the table (or rather, the entry is "\377"), it is treated as a
aRIN command.

I have been able to determine these facts by using CMD (Thanks, Carolyn) and
KPrintF (I'm using Manx 3.4) inside of DoSpecial().  Has anyone else experienced
this problem before? (All my other sequences seem to do just fine...)

Any and all help appreciated.  David.


-- 
David Corbin 
Atlanta, GA 
...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!dave

andy@cbmvax.UUCP (Andy Finkel) (07/23/87)

In article <3823@pyr.gatech.EDU> dave@pyr.gatech.EDU (David Corbin) writes:
>OKay once again, I have a problem, this time with printer.device.  If finally 
>have a half-way working printer driver.  Here's the catch- whenever I send any
>of the 'justify escape sequences' (ESC[nF) to the printer, it doesn't seem 
>to recognize them.  

Try ESC[n F

The space is significant.

BTW, due to a recently discovered bug in the printer.device ESC[1 F (word fill)
is never sent to the printer.  But the others work fine.
>
>-- 
>David Corbin 


-- 
andy finkel		{ihnp4|seismo|allegra}!cbmvax!andy 
Commodore-Amiga, Inc.

"The goal of Computer Science is to build something that will last at
least until we've finished building it."

Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.

daveb@cbmvax.UUCP (Dave Berezowski) (07/23/87)

	Make sure that you have an entry in the table in the data.c file
for each cmd sequence (even if its \377).