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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3796.0. "Printing to Port and CTRL D" by KERNEL::VANRIXTELE (Emma van Rixtel) Fri Jan 21 1994 19:54

               
    
    I have a customer who is using ALL-IN-1 v3.0 and they are printing to
    port on a DEClaser 1152, using destination PORT and a print style of
    PS. His original problem was that when he was printing, he got the
    following error.
    
    "error in processing wp" a GOLD W showed more "fdd encountered system
    error response"
    
    Eventually we worked out that for some reason this error was only
    occurring if he had his tray set to FRONT or REAR. Changing this to
    NOTRAY seemed to clear it.
    
    But now that it prints ok, he is noticing that at the end of every
    print job the printer is sending a CTRL D (which I beleive in Postscript
    tells the printer that it is the end of job) back to ALL-IN-1. And as
    CTRL D in WPS-PLUS puts in external application control blocks into a
    document, if he happens to be editing a document at the same time as
    the print job finishes, he is finding that it is putting in all these
    control blocks, which he has to manually delete. If he happens to be at
    an ALL-IN-1 menu, then he is getting "You cannot use CTRL/D at this
    point" error.
    
    What I want to know is why, ALL-IN-1 is suddenly reading this CTRL D
    command and translating it into control blocks. I have cross posted this 
    in the ALL-IN-1 conference as I am not sure whether it is ALL-IN-1 or 
    WPS-PLUS that is responsible for this.
    
    Thank you,
    
    Emma.
T.RTitleUserPersonal
Name
DateLines
3796.1CRTL/D?IOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Fri Jan 21 1994 20:2934
>    What I want to know is why, ALL-IN-1 is suddenly reading this CTRL D
>    command and translating it into control blocks. I have cross posted this 
>    in the ALL-IN-1 conference as I am not sure whether it is ALL-IN-1 or 
>    WPS-PLUS that is responsible for this.


Your report implies that ALL-IN-1 used to ignore the CTRL/D.  This is not 
the case.  There has never been code in ALL-IN-1 to do this.

The ALL-IN-1 COPY_TO_PORT function performs the following:

    1.	Sends a control sequence to switch the terminal to port mode.

    2.	Sends the contents of the listing file to the terminal, which 
    	because it is in port printer mode will send the characters to the
    	printer instead of displaying the characters on the screen.   Also, 
    	any flow control characters sent by the printer to the terminal 
    	will be used to regulate the flow of characters.

    3.  Sends a control sequence to switch the terminal to normal display 
    	mode.


My guess is that the CTRL/D is being sent by the printer after step 3 
above.  


Has the customer just started using a PostScript Port printer?

What type of Port Printer and Terminal is be used?  It may be possible to 
configure the printer so that it does not send the CTRL/D.


Richard
3796.2Yes he has...KERNEL::VANRIXTELEEmma van RixtelFri Jan 21 1994 20:356
    Yes he has just started using a postscript port printer, I will find
    out the rest when I speak to him on Monday.
    
    Thanks.
    
    Emma.
3796.3Here it is..KERNEL::VANRIXTELEEmma van RixtelMon Jan 24 1994 18:028
    
    
    Ok, he is using a DEClaser 1152 postscript printer and his terminal is
    a VT 330+
    
    Thanks,
    
    Emma.
3796.4Ask in a Printer conferenceIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Tue Jan 25 1994 18:0317
There is no way ALL-IN-1 or FMS can tell if the CTRL/D received from the
terminal was typed by the user or sent from the printer.

The two solutions to this problem are:

   1.  Stop the printer sending a CTRL/D

   2.  Stop the terminal sending the CTRL/D to the computer.


I suggest you ask in a Printer conference such as
ONTIME::POSTSCRIPT_PRINTING to see if it possible to stop the printer
sending a CTRL/D.


Richard

3796.5ok, will let you know what they say.KERNEL::VANRIXTELEEmma van RixtelTue Jan 25 1994 18:194
    
    
    Who do I ask how to stop the terminal sending the CTRL /D to the
    printer??
3796.6here's one suggestionKERNEL::VANRIXTELEEmma van RixtelThu Jan 27 1994 17:1312
     
    Someone from the Postscript printing conference suggested turning off
    printer-to-host communication in the video terminal printer set-up
    screen.
    
    The customer no longer has his printer to test this on, he will be
    getting another one in a week or so, in the meantime, does anyone know
    if this will work?
    
    thanks again,
    
    Emma.
3796.7IOSG::MARSHALLWhen you've got a widget, you don't need gimmicksMon Jan 31 1994 16:337
>> turning off printer-to-host communication

This should work.  My only worry is whether it will also prevent the
flow-control characters being passed back to the host when the print file is
being sent.  I would hope that the VT is clever enough to do this properly!

Scott