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

Conference rocks::uk_digital

Title:Working for Digital in the UK
Notice:DIGITAL Stock quote: $35 1/8 on 10/01 at 18:04 eastern.
Moderator:WOTVAX::HILTONo.dec.com::hiltong
Created:Thu Sep 10 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1443
Total number of notes:35591

1417.0. "LA400 ESCAPE SEQUENCES" by CHEFS::GALLAGHER_D () Wed Apr 09 1997 18:44

    I have put this rather strange query into this conference because I
    don't know what else to do with them!  I would be grateful for any
    help.
    
    ======================================

    When my customer's (a major UK SI partner) application outputs a
    message using a printer, it uses an escape sequence sent to the printer
    to ensure that the message has been committed to paper (i.e. not just
    stored in the printer's buffer) before the message is taken from the
    transmit queue.

    The escape sequence used is CSI  0 c  (request for product
    identification).

    Can anybody please confirm whether this is supported for the LA400
    printer? (It is mentioned in the 'request product information'  section
    of the control and escape sequences chapter of the LA210 programmers
    reference manual).

    If anybody can, it would be extremely useful, as we have a client who
    is anxious to purchase more printers!

    Thanks very much
    David Gallagher
T.RTitleUserPersonal
Name
DateLines
1417.1Try printing conf.CHEFS::TREVENNOR_AA child of initWed Apr 09 1997 21:418
    David,
    	You may get an answer here but I think it more likely that you
    would get a faster response in ONTIME::POSTSCRIPT_PRINTING where the
    printer guys hang out in droves...... pree keypad 7 now to add.
    
    Regards
    Alan T.
    
1417.2TRUCKS::PARMARI'm so fast - I'm even fast asleepThu Apr 10 1997 09:3929
re .-1

   ONTIME::POSTSCRIPT_PRINTING is the wrong conference for a non-postscript 
   device like the LA400. The better conference would be 

                   HUMANE::ANSI_PRINTING

   This conference discusses the non-postscript printers.

re base note:

   As to whether or not <CSI>0c is supported or not on LA400, my guess would
   be a yes. All corporate printers support these DSR (Device Status Request/
   Report) sequences. I would therefore assume that the LA400 also does.

One point to bear in mind is that just because you send a <CSI>0c to the 
printer does not mean that there isn't anything in the buffer. In general the 
buffer would be empty if you sent this sequence at the end of your text. 
However, you could get into certain circumstances, especially with bespoke 
printer drivers, that would mean data was in the buffer when <CSI>0c was 
received. Some of the internal printer algorithms suggest that responses to 
DSR's should be sent even if there was data in the buffer. They also suggest 
that it is acceptable for the printer to have sent an XOFF to the host and 
still be able to receive and process the DSR sequences. So just because you
get sent a Device Attribute back does not necessarily mean that there isn't
any data remaining in the printer. It all depends upon how the internal parser 
of the printer is written.

Ravi
1417.3thanks very muchCHEFS::GALLAGHER_DThu Apr 10 1997 15:194
    Thanks very much for your responses.
    
    regards
    David Gallagher
1417.4THEFT::MICKCrisis, What Crisis?Thu Apr 10 1997 15:335
Yes, <CSI>0c is supported on the LA400, well it works on the one I've got!

Regards
Mick.
1417.5Printing Systems BusinessCHEFS::BETTS_CFri Apr 11 1997 12:1915
    David,
    
    I trust you now have an answer to this particular query, if you have
    any similar problems please do not hesitate to contact us in the PSB
    (Printing Systems Business) and we can channel this through to our
    technical guys.
    
    Additionally should you or your customer require any assistance in
    purchasing more printers, I will be only to happy to help.
    
    Chris Betts 
    Printer Sales Specialist
    0831 487450 
    Dtn 830 6019.