[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

224.0. "Printer status routine?" by AIAIO::REPSTAD () Thu Mar 27 1986 11:59

    Does anybody out there have a callable routine which will
    return the status of a printer connected to a Vt1xx or vt2xx?
    
    I don't want to have to re-invent the wheel if I don't have to.
    
    
    				-Thanks
    
    					--Tom Repstad
    
T.RTitleUserPersonal
Name
DateLines
224.1Bad NewsTUNDRA::HARRIMANMon Jul 28 1986 14:4921
    If I recall, I had tried this once. There is a major problem with
    the VT1XX series terminals, in that the printer port is a one-way
    port, i.e. IT DOES NOT EVER READ ANYTHING... If you have been trying
    this with the same results I had you would find this out.
    
    Somebody correct me if I'm wrong, but I think the same problem exists
    with the VT2xx terminals too. 
    
    I had written a major DCL procedure which would do setups for an
    LA50 or LA100 connected to a VT1xx/2xx series terminal. I did the
    entire escape sequence for the status checks (see the LA50 programmer's
    manual) and I was getting baffled about the lack of response from
    the printer. The printer port definitely does not listen to much,
    if anything.
    
    Anyway, the only way you can check status of a printer that I know
    of is to have it connected directly to the host machine (i.e. spool
    it). 
    
    /pjh_who_once_tried_it_too
    
224.2ThoughtsSWIFT::BYRNEWe apologise for the inconvenienceTue Jul 29 1986 10:248
	Send the "Who are you" sequence and receive the reply
	via $QIO read and writes to the terminal. You will
	need to specify PASTHRU as a function modifier on the
	read.

	Cheers,

	Ciaran.
224.3<I don't think that will work>COMET::CURTISSat Aug 02 1986 00:016
    I tried that quite a while ago on a VT125.  All you get back
    is the escape sequence for the VT125, no matter the "print controller"
    mode.  I don't know for sure what happens on other terminals - I
    think that you get the same results.
    
    Steve