January 2007
 
 
<<
 
+1-925-447-0255
 
 
Networking Line Printers (cont'd)
(continued from page 5)

Note: NPCONFIG Items not identified assume their default values. Make your changes to the 'NPCONFIG' file using the 'EDITOR' then save all changes unnumbered. For example adding LDEV 201:

201 (network_address = 192.168.1.226 # hp line printer
setup_file = LPDUMB.HPENV.SYS # Invokes printer power on default settings
serial_printer_simulation = TRUE # CCTL directive fix
banner_trailer = TRUE # Want trailer page
pjl_supported = FALSE # Do not use PJL language
jam_recovery = FALSE ) # Line printers normally do not support page recovery

On older versions of MPE It is highly recommended you download patch “MPEKXF7” ; this patch adds a new paramater to NPCONFIG – “serial_printer_simulation”. This fixes CCTL directives so they work properly on TCP/IP networked line printers.

Step Three
The printer Setup file. DO NOT use the Global Setup File! Always define a setup file for each line printer in NPCONFIG. You may create your own seup file using a HEX Editor.

A “LPDUMB” setup file is available via email at jerrym@icsgroup.com. The setup_file completely defines the printer setup. You may choose to configure many of these settings at the printer itself and omit them from the setup file. If you do, they will be set as soon as the spooler sends the EscE command sequence before printing begins.

Configuring Page Level Recovery - HP’s newer LPQ Series Rev. C do support PLR all other HP line printers do not. For LPQ printers set "pjl_supported = TRUE", all other printers set "pjl_supported = FALSE".

Make sure that you configure line printer for line termination where you get a Auto CR after any LF character. Failure to do so will result in the printer staircasing where paper steps out but does not appear to be printing.

Warning! When you make changes to NPCONFIG file it will be necessary to do a STOPSPOOL then STARTSPOOL on the LDEV effected by your change in order to force the Native Mode Spooler to reread your changes.

Console Printer Errors Alert! - Occasionally you may get the following error on your system console:

15:36/311/Output spooler, LDEV #800: The IPCRECV intrinsic reported error 64 while waiting for a generic event completetion. The error text is REMOTE ABORTED THE CONNECTION. (SOCKERR 64) Native Mode Spooler message 9646

15:36/3ll/Output spooler, LDEV #800: The device has reported a power failure or other interruption while outputting SPOOLID #O11272. The spooler will attempt recovery.
Native Mode Spooler message 9022


This error is the result of the HP print server aborting the connection from the HP3000 due to ide timeout. The print server has an SNMP feature called ‘IDLE-TIMEOUT’ which is set for 90 seconds. If the printer stops for any reason other than offline and the print server becomes idle - After 90 seconds you will see the above message. Because the NMS native mode spoolers PJL parsing is not working correctly; the spooler will interpet this socket error as a power failure by the printer. The result is that the spooler will attempt recovery by reprinting the entire file.

The‘IDLE-TIMEOUT’ is the number of seconds that an idle print data connection is allowed to remain open. Since the print server supports only a single TCP connection, the idle-timeout balances the opportunity of a host to either recover, or complete a print job against the ability of other hosts to access the printer. The acceptable values range from 0 to 3600 (1 hour). If you enter '0', the timeout mechanism is disabled. The default is 90 seconds.

To avoid this set IDLE-TIMEOUT on the print server to 0 seconds; this will disable the ‘IDLE-TIMEOUT’ function and prevent disconnecting your HP3000. If you are allowing other hosts to connect you may want to set the timeout to 120 seconds to allow other hosts access to the printer.


www.resource3000.com   Resource 3000 News - January 2007