Showing posts with label AS400 Printing Tips. Show all posts
Showing posts with label AS400 Printing Tips. Show all posts

What kind of Printer can I connect to my AS400

Information on Printing to AS400 from Various Manufacturers
Each of these printers from one of various manufacturers, I can help you print to the AS400 from each printer, whether the printer is a Microsoft Windows Only printer, whether the printer will work with and how it will work with Personal Communications 5250 (PC5250), Host Print Transform (HPT), Remote Output Queues, *LAN 3812 PJL device descriptions, *LAN 3812 SNMP device descriptions, and *LAN 3812 IPP device descriptions.

Argox USAKyocera MitaAdvanced Matrix Technology, Inc
Boca SystemsKyocera, Avery Dennison Printer Systems
BradyLanierInfoPrint Solutions Company
BrotherLexmarkMeto (Checkpoint Systems, Inc)
C.Itoh and CitizenMicroplexNEC and NEC Unified Solutions
CanonMinolta-QMSOc, Imagistics and Oc Imagistics
CompaqMonarch/PaxarOkidata and OKI Printing Solutions
CopystarMuratec AmericaOutput Technology (OTC)
Cub PrintersNashuatecPrinter Systems international
DatamaxOceSecap Addressing Systems
Decision DataOlympusTally and TallyGenicom
DymoPanasonicTransAct Technologies
EpsonPrintekUnisys
FujitsuPrintronixVisara International
DellO'NeilWasp Barcode Technologies
GENICOMRex-RotaryXANT
GestetnerRicohXerox and Fuji Xerox 
HPRisoZebra/Eltron
IBM Printing SystemsSamsung
Ikon Office SolutionsSato
InfotecSavin
IntelliTech InternationalSharp
IntermecSource Technologies
KodakStar Micronics
Konica MinoltaToshiba
Read More......

Migrating from Twinax to Ethernet

Here is a brief piece I use to discuss printing off the AS400 / iSeries

There are differences when printing with Ethernet attachment versus Twinax on an AS/400 / iSeries . The main difference is that the host data stream is different. With Twinax the data stream is SCS (SNA Character Stream) with the Ethernet attachment the data stream is TCP/IP - ASCII. The AS/400 Host Print Transform can be configured to handle to transform from SCS to ASCII. As with most ASCII environments, there is no intelligence in the data stream. So, the operator of other software must be used to operate the printer in an ASCII environment.

Improved Options to support TCP/IP ASCII printing are:
1. Use SNMP communications instead of TCP/IP.
2. Use TN3270 / TN5250 support - SNA over Ethernet.
3. Use IPDS - AFP

1. SNMP - Allows the ASCII printer to be defined as a device rather than a Remote OUTQ. This does give some management over the device but not much management capability over the print jobs i.e.. backspace, restart etc..
2. TN5250 - Allows for support of SNA over Ethernet. Gives the printer operator the same basic capabilities as direct Twinax attachment.
3. IPDS / AFP - Allows for a more advanced data stream. Full error recovery down to the last printed page; forward and backspace capability; advanced functions like barcode, graphics, overlays, logos etc...

If what the customer is printing is critical, do they need to guarantee that it printed?

A consistent problem I have discussed with customers who use ASCII printers from their AS400 is the ability to manage the print and make sure it prints.

Host Print Transform which is standard in the OS of the iSeries offers the SCS to ASCII transform, but a couple of the limitations I know about are:

1) Limitations include no page range printing.
2) Controlling the output can also be a problem because of the lack of control over the sending of spool files. Once a spooled file has started sending, a user may have a tough time stopping the printing from the operating system side. Putting the spool file on hold or deleting it may not be successful.
3) No Guarantee that what you are printing actually prints.
4) No Error Recovery between the printer and AS400
5) IPDS is the only way to accomplish this completely
6) Ethernet/TelNet capabilities on the 6500 from the iSeries emulates the Twinax better than any other options.

If you need assistance in configuring any print device to your AS400, please let me know
Read More......

Printer Configuration of *LAN 3812 Printer Device Descriptions

Here is an example of how to configure a standard printer on a AS400.

The objective of this information is to help with the capabilities and limitations of *LAN 3812 printer device descriptions, including those that use the PJL print driver (*HPPJLDRV and *IBMPJLDRV), the SNMP print driver (*IBMSNMPDRV), the IPP print driver (*IBMIPPDRV), and the unsupported LPR Print Driver Exit Program (TSPLPRD) utility.

Most of the information in this document applies equally to *LAN 3812 PJL device descriptions, *LAN 3812 SNMP device descriptions, and *LAN 3812 IPP device descriptions, and *LAN 3812 device descriptions that use the unsupported LPR Print Driver Exit Program (TSPLPRD) utility.

Capabilities of Printing through a *LAN 3812 Device Description

The following is a list of the capabilities of using a *LAN 3812 device description to print to a LAN-attached printer:

1) It can be used with virtually any printer attached to an external print server, provided that the printer and print server both support PJL, SNMP or Internet Print Protocol (IPP) printing. An IEEE 1284 (or bidirectional) printer cable might be required between the printer and the print server specifically if the *LAN 3812 PJL device description is used. The main exception is for host-based or Microsoft Windows-only printers that are attached to the LAN or attached to a Windows server.

Note: If the printer and print server support LPR/LPD but do not support PJL, SNMP or IPP (or even if LPR/LPD is preferred), the unsupported LPR Print Driver Exit Program (TSPLPRD) utility can be used to configure a *LAN 3812 device description that uses LPR/LPD from within a printer writer. This option has the benefits of using a *LAN 3812 device description even though it is using the same LPR/LPD protocol that is used for a Remote Output Queue (RMTOUTQ).

2) It can be used with virtually any printer with an internal print server that supports PJL, SNMP, or Internet Print Protocol (IPP) printing. The main exception is for host-based or Windows-only printers that are attached to the LAN using an internal print server.

3) It can be used over a Local Area Network (LAN) or a Wide Area Network (WAN) if the necessary ports are open on all routers and firewalls between the system and the printer or print server.

4) It can be used to print *SCS, *AFPDS (to laser printers), and *USERASCII spooled files, all of which can be converted to an ASCII printer data stream using Host Print Transform (HPT).

Note: *AFPDS spooled files can be converted only to an HP PCL or IBM PPDS printer data stream that is intended for an ASCII laser printer. No conversion to an ASCII printer data stream is done for *USERASCII spooled files. Therefore, they are sent to the printer as is .

5) It is recommended that the SPOOL pool have a minimum of 6250K.

6) *LAN 3812 device descriptions run under a printer writer. Therefore, they automatically have support for page range printing.

7) *LAN 3812 device descriptions run under a printer writer. Therefore, they automatically have support for message CPA3394 - Load form type '&4' device &5 writer &1 .

8) *LAN 3812 device descriptions run under a printer writer. Therefore, *LAN 3812 device descriptions that are configured with the LAN attachment (LANATTACH) parameter set to *IP automatically have support for message CPA4002 - Verify alignment on printer &3 when the Form feed (FORMFEED) parameter in the printer device description is set to *CONT. However, *LAN 3812 device description that are configured with the LAN attachment (LANATTACH) parameter set to *USRDFN, such as when using the LPR Print Driver (TSPLPRD) utility, do not have support for message CPA4002.

9) Additionally, *LAN 3812 SNMP device descriptions will print a single line before message CPA4002 is issued, as is done for twinax printers attached to a local or remote workstation controller, that can be used to verify the alignment prior to answering message CPA4002 and printing the remainder of the spooled file.

10) *LAN 3812 device descriptions run under a printer writer. Therefore, they automatically have support for printing file separators or job separators. File separators can be set up by specifying the File separators (FILESEP) parameter in the spooled file attributes or by specifying the File separators (FILESEP) parameter in the Start Print Writer (STRPRTWTR ) command. Job separators can be set up by specifying the Job separators (JOBSEP) parameter in the output queue description associated with the *LAN 3812 device description (the output queue of the same name is in the QUSRSYS library).

11) The settings in the printer device description have an effect on how the printer writer communicates with the printer and on how the operating system formats spooled files for the printer. This includes, but is not limited to, the settings for the Online at IPL (ONLINE), Attached controller (CTL), Font identifier (FONT), Message queue (MSGQ), and Host print transform (TRANSFORM) parameters.

For example, changing the Message Queue (MSGQ) parameter in the printer device description controls which message queue is used for all writer messages because the Queue for writer messages (MSGQ) parameter in the Start Print Writer (STRPRTWTR ) command defaults to *DEVD.

12) *LAN 3812 device descriptions run under a printer writer. Therefore, the Work with Writers (WRKWTR ) command shows that the writer is started even when the WTR (Writer) parameter is set to the default value of *PRT.
Limitations of Printing through a *LAN 3812 Device Description

The following is a list of the limitations of using a *LAN 3812 device description to print to a LAN-attached printer:

1) The source system must be at V4R1M0 (R410) operating system or later for a *LAN 3812 PJL device description (or at V3R7M0 with certain PTFs), at the V4R3M0 (R430) operating system or later for a *LAN 3812 SNMP device description, or at the V5R2M0 (R520) operating system or later for a *LAN 3812 IPP device description.

2) It does not support message CPA5335 - End of forms on printer &3 .

3) It cannot be used to send *IPDS spooled files because they are not supported by Host Print Transform (HPT).

4) Large spooled files take a long time to go to a held (HLD) status when held on the queue.

5) Large spooled files take a long time to delete after selecting to delete them from the queue.

6) Spooled files can sit in PND (Pending) status or in MSGW (Message Waiting) status with message CPD337F - Remote device rejected an attempt by the writer to open a connection for extended periods of time, depending on the status of the printer and the network. Always check the writer job log, the control panel on the printer, or the printer web access when a spooled file is in PND or MSGW status for an extended period of time.

7) *LAN 3812 device descriptions do not support printing with the Spool the data (SPOOL) parameter set to *NO. LAN attached printing of all sorts (including RMTOUTQs, *LAN 3812 device descriptions, and PC5250 printer sessions) require generating a spooled file by printing with the SPOOL parameter set to *YES. SPOOL(*NO) is allowed only with printers that are twinax attached through either a local or remote workstation controller.

8) *LAN 3812 device descriptions that are configured with the LAN attachment (LANATTACH) parameter set to *USRDFN, such as when using the LPR Print Driver (TSPLPRD) utility, do not have support for message CPA4002 - Verify alignment on printer &3 when the Form feed (FORMFEED) parameter in the printer device description is set to *CONT.

9) Although *LAN 3812 printer device descriptions that are configured with the LAN attachment (LANATTACH) parameter set to *IP automatically have support for issuing message CPA4002 - Verify alignment on printer &3 when the Form feed (FORMFEED) parameter in the printer device description is set to *CONT, *LAN 3812 printer device descriptions that use the PJL, IPP, LEXLINK or Network Station print driver do not support printing the first line of the spooled file so a user can verify that the printer is truly aligned prior to answering message CPA4002 and printing the remainder of the spooled file. This is only supported with *LAN 3812 SNMP device descriptions. Read More......

Getting the Printer to work like you want it!

Drawer Selection Considerations
There are several different things to verify when the printer does not print from the desired drawer. The failure could occur because of the attributes of the spooled file, how the printer is configured on the operating system, the settings on the printer, or a hardware problem.

For the purposes of this document, the terms drawer and tray will be used interchangeably. In general, however, the term drawer refers to the source drawer specified in the operating system spooled file, and the term tray refers to the paper tray installed in the printer hardware. When trying to determine why a spooled file did not print from the desired drawer, there are several things to gather to help determine what could be wrong. The information to gather includes a printer configuration page, the attributes of the spooled file, the printer device description or remote output queue description, and the writer joblog. The joblog may have messages about a specific error that is causing it to fail.

The Printer
For the printer, there are several things that can affect which drawer the printer selects. First, check the printer to determine if there are any messages on the printer panel or flashing lights indicating a problem at the printer. Make sure that the drawer requested has paper in it. Then, print out a configuration page for the printer to check the following:
Spooled File Attributes
The following parameters in the spooled file attributes can affect drawer selection:
o Is the printer reporting that the drawer is installed? If the printer does not report that the drawer is installed, this prevents the printer from selecting that drawer. This is a hardware problem with the printer.
o Is the printer reporting the correct paper size (legal, letter, and so on) in the drawer? If the printer reports the wrong paper size in the drawer, it could cause the printer to select a different drawer. Try reseating the paper in the drawer, or check for a hardware problem.
o Is the printer reporting a paper type of PLAIN in the drawer? Many printer models have the ability to set a paper type, such as PLAIN, LETTERHEAD, PREPRINTED and so on. Host Print Transform (HPT) does not specify a paper type, unless a modified Workstation Customizing Object (WSCST) has been created to request a particular paper type, so by default HPT will only print to a drawer that is setup for PLAIN paper. If the preferred paper tray has been assigned a specific paper type, then the printer will most likely choose a different drawer or issue a message to load PLAIN paper in the desired paper tray.
o Is tray re-numbering turned on? If the printer has tray re-numbering turned on, what is the drawer number set to? This could affect what drawer number is used in the Source Drawer parameter of the spooled file attributes.
o Is tray linking or tray switching turned on? Tray linking, or tray switching, is the function that allows paper to be automatically pulled from another drawer when the current drawer runs out of paper. For some printers, when tray linking is turned on, the printer is not able to select a specific drawer to print from because it sees all the drawers as one drawer. In this case, disabling the tray linking allows printing from specific drawers.
o The Page size (PAGESIZE) parameter, which includes the Page length,Page width, and Measurement method.
o The Lines per Inch (LPI) parameter.
o The Characters per Inch (CPI) parameter.
o The Source drawer (DRAWER) parameter.
o The Font identifier (FONT) parameter.
o The Form feed (FORMFEED) parameter.
o The Degree of page rotation (PAGRTT) parameter.

To display the spooled file attributes, use the Work with Spooled Files( WRKSPLF ) or Work with Output Queue (WRKOUTQ ) command, and then select Option 8 (Attributes). The Work with Spooled File Attr ( WRKSPLFA )
command can also be used, but that command requires knowing the settings for the Spooled file (FILE), Job name (JOB), and Spooled file number (SPLNBR) parameters.


Read More......

About Me

My photo
Founder, Imaginer, Creator of Major Printing and Programming Solutions, bringing value to the printed page