Q:TNe print - test print device on iSeries?
|
Question: I need to test a printer device description (DEVD) on a mid-range IBM host (AS/400, iSeries). How do I do this?
|
|
Answer: Except for IP address and device name (written below as xxx), all values and characters such as ’ and * should be entered exactly as listed. "Printer interface" refers to either an external print server, such as the IAPS or the Intermate101, or to the target printer's network card when there is no external print server.
1. Verify the TCP/IP Connection between the host and the printer interface.
Use the following host command:
PING RMTSYS(‘192.168.0.227')
- the IP address shown here is just an example.
Things to look for if you cannot do this:
a) Is the printer interface physically connected to the network?
b) Are the host and printer interface located on the same network segment? If they are on different segments, are these
properly connected by routers and/or are the NAT’ting settings properly configured?
c) Are there any firewall rules that could block comunication between host and printer interface?
d) If the printer interface is an external print server, repeat these investigations for connectivity between the print server and the target printer.
2. Start the virtual printer device. Some products, such as the IAPS TNe will automatically do this when the session is activated.
Otherwise do the following:
a) Vary the device ON.
VRYCFG CFGOBJ(xxx) CFGTYPE(*DEV) STATUS(*ON)
b) Start the Printer Writer.
STRPRTWTR xxx
3. Print a test spooled file.
If you have sent a test spooled file to the queue, printing of the spooled file should start automatically.
If you do not have an application which can create a spooled file, or don't have a spooled file to print, try the following:
a) Set your own default output queue to the one created. (Change your current job to use the printer as default)
CHGJOB OUTQ(xxx)
(This setting will last until your next signon)
b) Type in the following command which will generate a spooled file.
DSPDEVD DEVD(xxx)OUTPUT(*PRINT)
This command prints the device description xxx.
You can, of course, choose another object that you know exists and that supports being printed.
If you are running iSeries Access you can also create a spooled file containing the current screen by right clicking on the screen and then selecting 'Hostprn' or 'Host print'.
|
All rights reserved. This site is best viewed using either I.E. 6.x and higher or Netscape 7.x and higher or Safari.