[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

351.0. "VXT 2000 / ALL-IN-1 Printing" by STOHUB::STLGBI::MCVEY () Fri Mar 27 1992 22:01

This note was origionally posted in the VXT Notesfile with no solid explanation.  I'm
hoping that someone from the ALL-IN-1 product side might have some suggestions.
Thanks.

Regards,

Steve McVey



                <<< ROYALT::DISK$LP:[NOTES$LIBRARY]VXT.NOTE;1 >>>
             -< Virtual-Memory X Terminal (Company Confidential) >-
================================================================================
Note 210.0            VXT Terminal Window ALL-IN-1 Printing            4 replies
MAIL::MCVEY                                          10 lines  13-MAR-1992 17:15
--------------------------------------------------------------------------------
    I am using a LAT Terminal Window into our ALL-IN-1 Cluster with a LN03
    connected through the Serial Port.  When prining from ALL-IN-1 (Port LN03),
    the output generated on the printer contains a "\" character in the
    upper left hand corner of the leading page and on a additional trailing
    page.  This does not occur with a print screen, from AQS, or any other
    application sending output to the printer port.  Any ideas?
    
    Regards,
    Steve McVey
    
================================================================================
Note 210.1            VXT Terminal Window ALL-IN-1 Printing               1 of 4
ASDS::BOOTH                                          12 lines  16-MAR-1992 07:00
--------------------------------------------------------------------------------

	Is the printer hooked up to the serial port on the VXT2000 or the 
cluster ?

	Are you printing Post Script ?

	How are you doing the print ? Are you using the print option from the 
print menu on the local Decterm ?

	Does the output look ok with the exception of those "\"  ???

	-Steve-
================================================================================
Note 210.2            VXT Terminal Window ALL-IN-1 Printing               2 of 4
STOHUB::STLGBI::MCVEY                                28 lines  16-MAR-1992 13:04
                                     -< I >-
--------------------------------------------------------------------------------

>>>>>	Is the printer hooked up to the serial port on the VXT2000 or the 
        cluster ?

	Via the serial port.

>>>>>   Are you printing Post Script ?

	No.

>>>>>	How are you doing the print ? Are you using the print option from the 
	print menu on the local Decterm ?

	I am printing from the ALL-IN-1 print menu to the device "Port LN03".
	The VXT Printer is configured as such: Serial Port:Printer; Speed=4800;
	rx=tx; Parity Check=yes; 8-bit, no parity; 1 stop bit; Xoff at 64.  

>>>>>	Does the output look ok with the exception of those "\"  ???

	There is a "\" on the first page of output, every once in a while an
	upside-down "?" appears, and the output is followed by an additional
	blank page with a "\" in the upper left hand corner.

Hope this helps.  Thanks.

Regards,

Steve McVey
================================================================================
Note 210.3            VXT Terminal Window ALL-IN-1 Printing               3 of 4
ASDS::BOOTH                                          10 lines  16-MAR-1992 15:26
--------------------------------------------------------------------------------


	Did you mean to say a backwards "?" question mark ? If so that indicates
an unrecognized character was received. I'm still not clear how you are able to 
print from ALLIN1 as it has no way of knowing about printers on a VXT ? Is ALLIN1
doing PRINT CONTROLLER MODE printing ? Have you tried disabling the automatic
form feed option ? Is there a setup on that printer for Xon/Xoff protocol and is
it set correctly ?

	-Steve-
================================================================================
Note 210.4            VXT Terminal Window ALL-IN-1 Printing               4 of 4
STOHUB::STLGBI::MCVEY                                11 lines  17-MAR-1992 15:10
                                 -< More Info >-
--------------------------------------------------------------------------------
Using a Local DECterm, the VXT has the capability to direct output to a port
printer (in this case, the Serial Port).  ALL-IN-1 doesn't need to "know" that
the printer is hanging off of the VXT, I'm just using "Port LN03" as the print
destination within ALL-IN-1 (i.e. controller mode).  I have tried the auto
paginate switch without effect.  I don't believe that its an XON/XOFF issue
because the VXT-Printer combination works with other VMS applications, and also
ALL-IN-1 worked with my VT340 previously.

Regards,

Steve McVey
T.RTitleUserPersonal
Name
DateLines
351.1Simple things firstTIMMII::RDAVIESAn expert AmateurMon Mar 30 1992 12:595
    If it's getting occasional upsidedown ?'s then it could be the serial
    port setup, and the printer setup don't quite match. check baud, parity
    stop and no of bits.
    
    Richards
351.2Some ideas to start withWAYLND::HOWARDHail to the Redskins!Mon Mar 30 1992 19:1224
    There have been similar problems with other characters on a PC.  Most
    DEC display/print devices will display/print the rest of an "escape"
    sequence once they receive a character that is not part of a known
    sequence.  
    
    For example, let's say you send the printer "ESC [AB\".  If "ESC [A" is
    the start of a known sequence, but "ESC [AB" is not, then the printer
    will simply display the "\", but not the "B".  This sounds like what is
    happening.  "Why?" is the real question.  If, for example, the terminal
    line is set to Wrap (SET TERM/WRAP), then the VMS terminal could be
    inserting a CRLF in the middle of the sequence.  Generally, this won't
    happen if the terminal is set to /SCOPE.  It could be the VXT that is
    intercepting the sequence, just sending a "\" to the printer, or it
    could be the printer getting the wrong information.  
    
    You might want to look at the notes, probably in the archived
    conference, which deal with "6i" being displayed on the printer when
    using a PC.  Extract the directory from note 3 of that conference and
    search it.  
    
    I hope that I have not just restated the obvious, but it is dangerous
    to assume that people know this much.  I've never used a VXT.
    
    Ben
351.3ALL-IN-1 Port PrintingIOSG::NEWLANDRichard Newland, IOSG, REO1-D/4AThu Apr 02 1992 16:5440
I don't have any solutions to your problem or access to a VXT 2000 but
perhaps explaining how ALL-IN-1 performs port printing might help to
isolate the cause of the problem. 

An ALL-IN-1 print operation normally involves formatting revisable
documents, such as WPS-PLUS, to create listing files which can be printed. 
The listing files are then processed in different ways depending on the
type of printer destination, e.g. port printer, queued printer, document,
etc. 

For port printing ALL-IN-1 calls the script OA$DO:WPPPORT.SCP, and this
uses an API function called COPY_TO_PORT to print listing files to an
attached terminal port printer. 

The COPY_TO_PORT function sends the control sequence <ESC>5i to the
terminal to turn the port printer on, and if a VT125 terminal it also sends
<ESC>6i to turh the screen off.  The listing file is then read and output
to the terminal. When complete <ESC>4i is sent to turn the port printer
off, plus <ESC>7i for a VT125 terminal. 


You can perform a COPY_TO_PORT function directly by doing the following 
from DCL.

	Create a simple ASCII text file (FILE.TXT)
	
	$ ALLIN1/NOINIT
	Enter CMD: COPY_TO_PORT 'FILE.TXT'
	Enter CMD: EXIT
	$

If you still get the extra '/' character then this shows that problem is 
occuring in the COPY_TO_PORT function, and not somewhere else in ALL-IN-1.
COPY_TO_PORT is designed to work with DEC ANSI terminals.  It may be that 
the VXT 2000 does not completely emulate a DEC ANSI terminal, or requires 
some other way of turning the port printer on and off.


Richard
	
351.4COPY_TO_PORT OKSTOHUB::STLGBI::MCVEYThu Apr 02 1992 21:3915
I tested the procedure:

	$ALLIN1/NOINIT
	Enter CMD: COPY_TO_PORT 'filename.txt'
	Enter CMD: EXIT

and the output printed to my LN03 without the "\" or an additional trailing page.
Per Note 351.3, it appears that the COPY_TO_PORT function is not the problem, and
that something else in ALL-IN-1 is the cause.

Any more ideas?  Thanks.

Regards,

Steve
351.5What type of documents?IOSG::NEWLANDRichard Newland, IOSG, REO1-D/4AFri Apr 03 1992 12:2823
Re: .4

The next thing to try is:

    1.  Run ALL-IN-1

    2.  Use DT RV to import the ascii text file into ALL-IN-1 and create an 
	ASCII document.

    3.  Print the ASCII document to the port printer - is the '\' character
	generated?


This will show if some other part of the ALL-IN-1 print operation is 
generating the '\' character.


Also, has any part of the Print sub-system been customized, in particular 
WPPPORT and WPPRINT?


Richard

351.6ASCII Docs WorkSTOHUB::STLGBI::MCVEYTue Apr 07 1992 00:2621
Re:  .5

I tried the suggestions in Note 351.5 and the results are as follow:

	- DT RV a .txt file into a WPS Doc	=> '\' & extra page appear

	- Converted it to ASCII			=> worked OK (i.e. no '\')
						   but no bolding (as expected)

Also,

	- In printing a WPS Doc to destination 'Port' or 'Port LA100' the
	  the output appears as in the ASCII test above.

My system manager informs me that he has not customized WPPORT or WPPRINT.

I hope this helps.

Regards,

Steve
351.7WPS-PLUS LN03 documentsIOSG::NEWLANDRichard Newland, IOSG, REO1-D/4ATue Apr 07 1992 11:1824
From the information in .6 it seems that the problem occurs only when a
document is formatted with the WPS-PLUS formatter with an LN03 device type. 

The listing files created by the WPS-PLUS formatter for LN03s contain
control sequences to initialize and set-up the LN03 printer.  Perhaps the
VXT 2000 is reacting to one of these control sequences, and is either 
changing some characters or generating some additional characters.  To 
determine if this is the case you could do the following:

1.  Create a simple WPS-PLUS document.

2.  From ALL-IN-1 print this document to FILE with a format style of LN03.

3.  Use the <COPY_TO_PORT function to print the file created at step 2 to 
    the port printer - the problem should occur.

4.  Use ANALYZE/RECORD to see the control sequences sent to the printer.

5.  Create files which selectively eliminate the control sequences and 
    print them to the port printer to see if a particular sequence causes
    the problem.
 

Richard
351.8Looks Like WPS->LN03 STOHUB::STLGBI::MCVEYTue Apr 07 1992 23:0910
Re: .7

I completed steps 1 - 3 suggested in .7 and the problem did occur.  I could
not find a VMS 'ANALYZE/RECORD' command to perform step 4.  Has the command
been renamed?

Regards,

Steve

351.9Try $DUMP/RECORDIOSG::MARCHANTOnly parrots succeedWed Apr 08 1992 00:287
    I think Richard meant $DUMP/RECORD ... 

    You might find it helpful to have handy the LN03 book that describes all
    the escape sequences.

    Cheers,
        Paul.
351.10$ DUMP/RECORDIOSG::NEWLANDRichard Newland, IOSG, REO1-D/4AWed Apr 08 1992 11:027
Re: .8 and .9

I meant $ DUMP/RECORD.


Richard