31.01.2013 Views

InterForm Manual - System & Method

InterForm Manual - System & Method

InterForm Manual - System & Method

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Attaching through a TCP/IP Raw Socket (Port 9100/3700)<br />

Some LAN Print Servers from e.g. HP, Lexmark, Kyocera and IBM offer the possibility of<br />

attaching through a raw TCP/IP socket, which enables the host to communicate bidirectionally<br />

with the printer using HP PJL. Support for this print method was introduced with OS/400 V3R2<br />

and V4R1. The advantage of this method compared to standard LPD printing, is that the host<br />

receives status reply from the printer.<br />

1. The following information for the device must be provided by the system<br />

administrator: IP address and Port Number (most print servers uses port 9100 as<br />

raw socket (HP, Lexmark and Kyocera), while IBM Print Servers uses port 3700 or<br />

2501. Consult the user manual of your IBM printer for correct port no..<br />

2. The following CL command will create a new device description called PRTXXX for a<br />

3812 model 1 on port 9100 and IP address: 222.2.1.235.<br />

� TIP �<br />

CRTDEVPRT DEVD(PRTXXX) DEVCLS(*LAN) TYPE(3812)<br />

MODEL(1) LANATTACH(*IP) PORT(9100) FONT(11)<br />

FORMFEED(*AUTOCUT) PARITY(*NONE) STOPBITS(1)<br />

TRANSFORM(*YES) MFRTYPMDL (*HP4 )<br />

RMTLOCNAME('222.2.1.235') SYSDRVPGM(*HPPJLDRV)<br />

PRTERRMSG(*INFO)<br />

If you are not able to fit the entire command on the command line, you can prompt<br />

the command CRTDEVPRT with F4 and fill in the rest.<br />

It is a good idea (but not necessary) to specify PRTERRMSG(*INFO). This value will make<br />

the printer job automatically recover from a message if possible. if e.g. the printer runs out of<br />

paper the printer job halts with an error. When you add paper the printer job will detect this and<br />

‘reply’ to the message automatically.<br />

See a list of some of the possible port numbers at this site:<br />

http://www-912.ibm.com/s_dir/slkbase.nsf/1ac66549a21402188625680b0002037e/94e73364f979e388862569030071c398?OpenDocument&ExpandSection=3&Highlight=0,printing,port,number#_Section3<br />

3. Vary on the device with the following command<br />

VRYCFG CFGOBJ(PRTXXX) CFGTYPE(*DEV) STATUS(*ON)<br />

1. Start the printer writer with the following command:<br />

STRPRTWTR DEV(PRTXXX)<br />

Attaching through a 5250 Terminal<br />

A 5250 terminal with a printer port is in reality working as a Twinax protocol converter. The<br />

printer session has a dedicated device address which corresponds to a printer device<br />

description on the <strong>System</strong> i. You should therefore follow the instructions in section Attaching<br />

through a Twinax protocol converter.<br />

The requirement to the printer session of a 5250 terminal is that it understands ASCII<br />

transparency. This is supported by terminals such as IBM 3197, IBM 3477 and IBM 3487.<br />

Other brands like Memorex Telex will in most cases also work. Consult the documentation of<br />

the terminal or your agent for further information.<br />

In most cases the terminal will emulate either a 5219 or 3812 SCS printer. Some may only<br />

provide a 4214 emulation which will require Host print transform to be enabled on the system<br />

in order for ASCII transparency to be transmitted.<br />

<strong>InterForm</strong> A/S 403

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!