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

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

357.0. "VT100 line drwaing set on LA100" by PMRV70::AVDEV (Ed Tribuna ... Aviation Svcs) Fri Nov 21 1986 12:59

    	I'm having a problem getting an LA100 printer to print the
    	VT100 line drawing character set.  Is anyone familiar with
    	this?
    
    	The LA100 is connected to a 785 via a DZ11.  It is set up
    	on a print queue.
    
    	I am sending printing file with various escape sequences.
    	All of the escape sequences work fine (change pitch, under-
    	line), except for the VT100 line set sequence.
    
    	I ran the self test on the LA100 and the status report
    	indicated that the G1 character set as Line Drawing.
    	Based on this I am using ")0" to set the line drawing
    	character set.  Immediately following this sequence are such
    	characters as "q", "j", and "x" which should print as various
    	line elements.  The actual characters are printed.
    
    	The LA100 does not have one of the optional print font ROMs
    	installed.  Is this the problem?
    
    	Thanks 
    	Ed...
    
T.RTitleUserPersonal
Name
DateLines
357.1Use <SI> and <SO>!VIKING::WASSERJohn A. WasserSat Nov 22 1986 18:2923
>    	I ran the self test on the LA100 and the status report
>    	indicated that the G1 character set as Line Drawing.
>    	Based on this I am using ")0" to set the line drawing
>    	character set.  Immediately following this sequence are such
>    	characters as "q", "j", and "x" which should print as various
>    	line elements.  The actual characters are printed.
    
	"<ESC>)0" will map Line Drawing characters into G1 which should
	be the default set used for GR (the right half of the character
	table).  To invoke G1 into GL (the left half of the character
	table) you need to insert the character <SO> (Shift Out) before
	characters to be interpreted as VT100 Line Drawing.  When you
	want to switch back to normal characters (GL=G0), send <SI> 
	(Shift In).

		<SI> = CHR$(15) = '\017' = 0x0F
		<SO> = CHR$(14) = '\016' = 0x0E

				-John A. Wasser

	P.S.  There are many other ways to do it...  just find a
	Programmers Reference Manual.

357.2On the other hand...RDGENG::LESLIEAndy `{o}^{o}&#039; Leslie, ECSSE, OSI.Fri Nov 28 1986 19:153
    
    if you don't have the additional ROMs with the char set in, you
    can't do it anyhow.