AS/400 Printer Installation under Operating System OS/400. |
 |
What kind of connection is possible
Generally, all Kyocera products featuring a network interface and the printer languages PCL or KPDL, can be connected as ASCII LAN Printers via Host Transform Printing.
Host Transform Printing
HTP is a function / license program for the AS/400, which allows SCS print data, generated by OS/400, to be transformed intoPCL or Postscript.
Host Transform Printing is available for the operating system OS/400 V3R2.
Note!
This function is not available for the printer language IPDS ( Intelligent Printer Data Stream ).
What kind of connection is possible only with additional products from third-party manufacturers
Additional products ( hardware or software components ) from third-party manufacturers are needed, whenever data have to be printed via IPDS.
This is the case e.g. with barcodes, logos, graphics or special fonts. Furthermore there are certain licenced programs for the AS/400, that require IPDS e.g. IBM BGU / 400 ( Business Graphics Utility ).
When IPDS has to be printed, installation of the licence program PSF/400 is mandatory. The license depends on the printers speed ( PPM ).
Unfortunately, Kyocera products do not provide the printer description language IPDS, so that a hardware or software solution from a third party provider has to be used, that converts IPDS data to PCL or KPDL.
Here are some links to several companies:
http://www.mpitech.de/solutions/mainframe.htmhttp://www.intermate.com/intermate-10.htmhttp://www.docuform.de/de/default.htmlhttp://www.csp-gmbh.de/index-2.html
What kind of connection doesn’t work
Using the printer description language PPDS with Kyocera products is not possible.
PPDS ( Pro Printer Data Stream ) is a special modification of the IBM Pro Printer Emulation, that is not available for Kyocera products.
This kind of printer description language is only available for IBM printing systems and was one of the first printer description languages for the AS/400.
User QSECOFR or user right *IOSYS
The user
QSECOFR is a special user for the AS/400. He is equivalent to the System Administrator in a Windows based network, or to the user ROOT in the Linux world.
QSECOFR can therefor install and test Kyocera products in OS/400, because he has the necessary rights.
Alternatively, a user with the right
*IOSYS ( Input Output System Rights )can install and test Kyocera products.
With the command
DSPUSRPRF, it is possible to display a user profile and check, if the right is granted.
Important
On an IBM AS/400 system, running OS/400, it is not possible to install a Kyocera product without
having the mentioned rights.
Creating a Device Description for an ASCII LAN Printer
To create a printer unit description, the command
CRTDEVPRT ( Create Device Printer ) is used.
After calling this command, pressing keys
F9 and
F10 shows the following Configuration Menu. All important, respectively configurable parameters are marked orange and bold.
| Device description: | DEVD
| KYOCERA
|
Select:
| OPTION
| *BASIC
|
Category of device:
|
| *PRT
|
|
|
|
Device class:
| DEVCLS
| *LAN
|
| Device type: | TYPE
| 3812
|
Device model:
| MODEL
| 1
|
LAN attachment:
| LANATTACH
| *IP
|
Port number:
| PORT
| 9100
|
| Physical attachment: | ATTACH
| *DIRECT
|
| Online at IPL: | ONLINE
| *YES
|
| Font: | FONT
|
|
| Identifier: |
| 11
|
| Point size: |
| *NONE
|
| Form feed: | FORMFEED
| *AUTOCUT
|
| Separator drawer: | SEPDRAWER
| *FILE
|
|
|
|
| Separator program: | SEPPGM
| *NONE
|
| Printer error message: | PRTERRMSG
| *INQ
|
| Message queue: | MSGQ
| *CTLD
|
| Current message queue: |
| QSYSOPR
|
| Library: |
| QSYS
|
| Activation timer: | ACTTMR
| 500
|
| Inactivity timer: | INACTTMR
| *SEC15
|
| Line speed: | LINESPEED
| 19200
|
| Word length: | WORDLEN
| 8
|
| Type of parity: | PARITY
| *NONE
|
| Stop bits: | STOPBITS
| 1
|
|
|
|
| Host print transform: | TRANSFORM
| *YES
|
| Manufacturer type and model: | MFRTYPMDL
| *HP6
|
| Paper source 1: | PPRSRC1
| *A4
|
| Paper source 2: | PPRSRC2
| *A4
|
| Envelope source: | ENVELOPE
| *NUMBER10
|
| ASCII code page 899 support: | ASCII899
| *NO
|
| Image configuration: | IMGCFG
| *NONE
|
| Character identifier: | CHRID
| *SYSVAL
|
|
|
|
| Remote location: | RMTLOCNAME
| *NONE
|
| Name or address: |
| Kyocera Mita Europe B.V.
|
| Workstation customizing object: | WSCST
| *NONE
|
| User-defined object: | USRDFNOBJ
| *NONE
|
| Object type: |
| *NONE
|
| Data transform program: | USRDTATFM
| *NONE
|
| System driver program: | SYSDRVPGM
| *IHPPJLDRV
|
| Allocated to: |
|
|
| Job name: |
| QSYSOPR
|
| User: |
| QSPLJOB
|
| Number: |
| 596334
|
| Published: |
| *NO
|
| Publishing information: | PUBLISHINF
|
|
| Support duplex: |
| *UNKNOWN
|
| Support color: |
| *UNKNOWN
|
| Pages per minute black: |
| *UNKNOWN
|
| Pages per minute color: |
| *UNKNOWN
|
| Location: |
| *BLANK
|
| Data streams supported: |
| *UNKNOWN
|
|
|
|
| Text: | TEXT
| KYOCERA Product
|
All other parameters are not changed.
This is a short description of the most important parameters:
| Device description | DEVD
| Name of device description, respectively printer
|
| Category of device | *PRT
| Device description for printer
|
| Device class | DEVCLS
| Type of connection: *LAN means network
|
| Device type | TYPE
| Decides, it SCS or IPDS printer. IPDS printer always with *IPDS SCS: Specify an IBM model, e.g. 3812
|
| Device model | MODEL
| Specifies the model from the IBM model line, e.g. 1 for SCS or 0 for IPDS
|
| LAN attachment | LANATTACH
| Type of transmission protocol for TCP/IP. Value: (*IP)
|
| Port number | PORT
| TCP/IP port. Value: 9100
|
| Font | FONT
| Standard font. Value: 11 ( stands for Courier 10 CPI Fixed Pitch )
|
| Activation timer | ACTTMR
| Timeout value in sec. Printer has to answer.a print request within this time. Standard is 170. For print jobs bigger than 10000, 500 should be selected.
|
| Host print transform | TRANSFORM
| Decides, if SCS has to be transformed into another emulation like e.g. PCL.
|
| Manufacturer type and model | MFRTYPMDL
| Decides, which printer description language shall be used. For current Kyocera products *HP6 = PCLXL
|
| Paper source 1 | PPRSRC1
| Paper size for tray 1. Standard: *A4
|
| Paper source 2 | PPRSRC2
| Paper size for tray 2. Standard: *A4
|
| Workstation customizing object | WSCST
| Decides, if an own printer driver, not present on the system, shall be used. Standard: *NONE
|
| System driver program | SYSDRVPGM
| Decides, if communication with device shall be performed by PJL or SNMP. Standard for PJL: *HPPJLDRV
|
Creating a Remote Queue for an ASCII LAN Printer
There is an important difference between a Remote Print Queue and a local printer, created with a unit description.
A printer, created with a unit description, is physically known by the OS/400. The system knows the hardware and can, in case of a failure, e.g. paper jam, warn the user.
The Remote Print Queue is kind of a virtual printer, working with LPR / LPD, and telling the OS/400 only, where the target is located and which printing language has to be used.
Therefor, print jobs coming out of a remote queue, are lost in case of a failure, e.g. paper jam, and have to be reprinted.
It is also important, that no paper sizes, like e.g. A4, can be defined here. So the Kyocera product has to be configured via
Setup at the machine panel:
Ignore Letter / A4To create a Remote Print Queue, the command
CRTOUTQ is used. But notice, that you need the described rights.
After calling this command, pressing keys
F9 and
F10 shows the following Configuration Menu. All important, respectively configurable parameters are marked orange and bold.
 |
 |
| Output queue | OUTQ
| KYOCERA
|
| Remote system | RMTSYS
| *INTNETADR
|
| Remote print queue | RMTPRTQ
| lp1
|
| Autostart | AUTOSTR
| 1
|
| Connection type | CNNTYPE
| *IP
|
| Destination type | DESTTYPE
| *OTHER
|
| Host print transform | TRANSFORM
| *YES
|
| Printer type | MFRTYPMDL
| *HP6
|
| IP address | INTNETADR
| 10.189.16.54
|
| Target system options | XAUTOQ
| *XAIX
|
This is a short description of the most important parameters:
| Output queue | OUTQ
| Name of output queue can be chosen as you like it
|
| Remote system | RMTSYS
| Decides transmission type between printer and system. *INTNETADR prints via LPR / LPD over TCP/IP
|
| Remote print queue | RMTPRTQ
| Logical printer on the network card inside the printer.: Standard: lp1
|
| Autostart | AUTOSTR
| Remote print queue starts within 1 second
|
| Connection type | CNNTYPE
| Protocol for TCP/IP transmission. Standard: *IP
|
| Destination type | DESTTYPE
| Type of target system. E.g. *OS400 or *S36 for OS/400. If the target printer is not a known system, value is *OTHER
|
| Host print transform | TRANSFORM
| Decides, if SCS has to be transformed into another emulation like e.g. PCL
|
| Printer type | MFRTYPMDL
| Decides, which printer description language shall be used. For current Kyocera products *HP6 = PCLXL
|
| Target system options | XAUTOQ
| Enables options to be sent to the target system, like here an ASCII LAN printer. Value *XAIX e.g. enables the creation of copies
|
Starting and Stopping a described printer / Remote Queue
Unlike a Remote Queue, a printer, created by a Unit Description, doesn’t start automatically after creation. It has to be started manually.
The commands for starting and stopping are the same for a described printer or a Remote Queue:
Printer Start STRWTR(*IMMED) = Start Writer immediately
Printer Stop ENDWTR(*IMMED) = End Writer immediately
Changing the Format Definition
In OS/400 it is possible, to adjust the Format File of a printer. It includes, e.g. Characters per inch CPI, or Lines per page, Duplex On/Off or automatic size reduction of a print job / page ( *COR ).
Changes can be performed with the command CHGPRTF. Settings are mostly self-explanatory.
Changing Printer File ( CHGPRTF )Enter selection and press the Enter-key.
File
| KYOCERA Name, generic*, *ALL
|
| Library | *LIBL Name, *LIBL, *ALL, *ALLUSR
|
| Unit: Printer | PRT18 Name, *SAME, *JOB, *SYSVAL
|
| Printer device type | *SCS *SAME, *SCS, *IPDS, *LINE...
|
| Page size: Length—Lines per page | 70 .001-255.000, *SAME
|
| Width—Characters per line | 80 .001-378.000, *SAME
|
| Unit | *ROWCOL *SAME, *ROWCOL, *UOM
|
| Lines per inch | 6 *SAME, 6, 3, 4, 7.5, 7,5...
|
| Characters per inch | 10 *SAME, 10, 5, 12, 13.3, 13...
|
| Text 'Description' | Format File for Kyocera
|
F3=Exit F4=Prompt F5=Refresh Important to know is, how the function Automatic Resize *COR works. A short example: 132 characters shall be printed to A4 with 10 CPI, what, per definition, is impossible.
What happens, when *COR is switched on?
- Another CPI density e.g. 12 CPI instead of 10 CPI is used
- If this doesn’t work, the function switches from Portrait to Landscape.
This Function offers a good solution for Kyocera Products, because there is no need to change L-Parameters or A-Parameters.
Working with the Printer Spooler / Queues
The Spooler respectively the Queues manage the print jobs of the connected systems. In the Spooler, you can see all printers and their print jobs, in the Print Queues, you can see print jobs of the particular printer itself, e.g. in the print queue KYOCERA, you would only see the print jobs for the printer definition KYOCERA.
You can show all print jobs with the command
WRKSPLF ( Work Spool Files ). The command can be expanded to
WRKSPLFA ( Work Spool File Attributes ). Here you can move print jobs or afterwards create copies or select Duplex.
To only show the print jobs for a specific printer ( like in this example for a printer KYOCERA ), the command is
WRKOUTQ(KYOCERA)Only the print jobs for device description KYOCERA are shown.