[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

3012.0. "Unprintable is really unprintable" by DUGGAN::GAY (Now where'd I put that hammer...) Wed Oct 11 1989 18:35

    A stupid question or perhaps two:
    
    I have a Microline 92 printer hooked to the serial port.  I have
    used the standard workbench setup screens to set the baud rate
    and XON/XOFF for the serial line and to set the graphics for
    the printer, etc.
    
    BUT when I print something that has unprintable characters (tabs, 
    escape sequences) the unprintable chars get stripped before they
    get to the printer.
    
    This means that my nicely indented source code is all mashed to the
    left margin AND that I can't send the escape sequences for near-letter
    quality mode.
    
    It also appears that XON/XOFF is being ignored (if I print something 
    long, characters get lost).  This could be a separate problem or
    another aspect of the same problem (XON/XOFF aren't printable..).
    
    First, is there some obvious thing I need to set up that I haven't
    done.  Second, is there some book that I should have bought that 
    would have told me what the obvious thing was?  All I have is the
    1.3 book that came with the Amiga (plus a collection of programming
    books that are very useful but don't back off to this level).
    
    Any suggestions would be welcome.
    
    Thanks
    
    Yours
    Erg
    
T.RTitleUserPersonal
Name
DateLines
3012.1NZOV01::MCKENZIECry HAVOC-Let slip The DOGS of WARWed Oct 11 1989 19:182
    I had a similar problem with the Parallel port - see note 2470.*
    for potential help
3012.2All but tabs workDUGGAN::GAYNow where'd I put that hammer...Fri Nov 10 1989 15:5319
re .-1, Thanks for the pointer.  Using SER: solved the escape sequence problem.
Rechecking the dip switches on the printer fixed the XON/XOFF problem.

But both of my printers (the uline 92 on the serial port and the 
Quadram Quadjet on the parallel port) do not print tabs.  Since the
printers themselves do just fine with tabs, I assume this to be a 
feature of the printer driver.  I've switched editors to one that 
fills in spaces instead of putting in tab characters, so I don't
have an overpowering urge to figger it out anymore.  I don't think
any of the docs that I have describe the character conversion done
by the printer driver, but I'll look again.  There is supposed to
be V1.3 documentation coming that will describe how to build a 
driver.  Perhaps that will help my confusion (one way or the other).

Nice machine.  Wish it didn't crash so often (I guess I shouldn't push
it so hard - the problem with having multitasking is that I use it).

Thanks again
Erg
3012.3any interest in detab?DUGGAN::GAYNow where'd I put that hammer...Tue Nov 28 1989 15:2310
    I wanted listings of some of the files that had tabs in them, 
    so I wrote a quick detabber last night.  If anyone is interested
    in something so simple, let me know and I'll upload it.
    
    (There has to be an easier way.  I suspect that if/when I get my
    hands on the driver code, it'll be an easy fix.  Perhaps there
    is a setting on something that I just don't know about. For now, this 
    solves the problem)
    
    Erg