Operating System - OpenVMS
1830938 Members
1866 Online
110017 Solutions
New Discussion

Re: configuring a new que in a vax4100

 
SOLVED
Go to solution
WilliamSmith11
Super Advisor

configuring a new que in a vax4100

Hi please may somebody help me with the configuration of a printer in the local MMJ port of VAX4100.I know that must be something like in the devive OPA0: , or something that .

I know that in alphasystem is
$set printer/lowercase/printall/passall LRA0:
$init/que/on=LRA0:/start/processor=PRTSMB myque
$show printer/LRA0:

I appreciate your help

rperez
7 REPLIES 7
Uwe Zessin
Honored Contributor
Solution

Re: configuring a new que in a vax4100

OPA0: is the console port - I would _not_ use this for printing.

If the VAX4100 (don't recall, sorry) has any devices on the motherboard, then they are likely called something like TTA0: (a small warning: don't try '$ SHOW DEVICE TT', because there is a logical name "TT" that points to your own current input device - try '$ SHOW DEVICE _TT' instead).

If you have additional ports on a serial I/O board, they might be named 'TXAu:' - you can try '$ SHOW DEVICE _T', but that might find other devices as well.
.
Bojan Nemec
Honored Contributor

Re: configuring a new que in a vax4100

William,

First check what is the name of the serial port. The sympliest way is to attach a terminal to it login and do a $ SHOW TERMINAL command. It should be TTA0. If it is OPA0 this is the console port and you should not configure a queue on it! Try with another port.
After obtaining the port (terminal) name you configure the queue by setting the terminal and init the queue with (replace TTA0 with yours name):

$ set terminal TTA0: /nobroadcast/width= ...
$ init/que/on=TTA0:/start myque

Remember that you must put all set terminal commands in yours systartup_vms.com.

Bojan
WilliamSmith11
Super Advisor

Re: configuring a new que in a vax4100

This will be my plan .
1-I am going to attach my laptop to the free MMJ port in the VAX system.

2- I will do a show terminal , must send me what kind of terminal it is.

3- Then
$set terminal YYYYx:/nobroadcast/width=132
$init/que/on=YYYYx:/start myque

$start/que myque

$print/que=myque login.com/copies=2

what do you think

another thing that I have to take care?

Thank you

w.s





rperez
Ian Miller.
Honored Contributor

Re: configuring a new que in a vax4100

You may need to adjust the baud rate of the serial port for the printer.

SET TEMINAL/PERM/SPEED=19200/PARITY=EVEN
or whatever.
____________________
Purely Personal Opinion
Bojan Nemec
Honored Contributor

Re: configuring a new que in a vax4100

Reading Ians post I realize that I forgot the /permanent qualifier. Dont forget it. You will also need to setup your printer to XON/XOF protocol. And you must have an appropriate cable (many printers need some shortcut connected pins to work, usualy RTS-CTS and DSR-DCD-DTR) For testing purposes you can "print" to yours laptop. The contents of the print job will be symply displayed in the terminal emulator. Dont forget to logout from the port before initialising the queue.

Bojan
Antoniov.
Honored Contributor

Re: configuring a new que in a vax4100

William,
I guess you would connect your laptop to vax and receive data from it.
If is true:
- you can set terminal with no broadcast and declare that has a printer port; you don't need set its width 132.
$ SET TERM tt/NOBROAD/NOWRAP/PRINTER
- You can create a new queue with terminal attribute.
$ INIT/QUE myqueue /ON=tt:/DEV=TERM/START

On your laptop you must set emulator printer to local printer. This may be a big problem, because most common PC printers don't work well or don't work any.
I need more information about laptop printer to help you in PC configuration.

Antonio Vigliotti
Antonio Maria Vigliotti
WilliamSmith11
Super Advisor

Re: configuring a new que in a vax4100

It was helpfull for me , everybody help me to find the solution

Thank you.

W.S
rperez