User Tools

Site Tools


pub:knowledgebase

[ Up To Portal ]

Knowledge Base

The Table of Contents at the right may assist the reader in navigating this section.

The Search function at the top right may be used to search the content of this site.

Information

PCL

The PCL acronym stands for Printer Command Language. It is an intermediate langauge used to communicate between computers and certain printers. You can read the general overview of PCL in Wikipedia.

PCL 5e Black / White

inFORM Decisions products work with PCL 5e, which is the language originally used by the Laserjet 4 printer. 5e does not support color.

This search of Hewlitt Packard's website:

http://search.hp.com/query.html?charset=iso-8859-1&hpvc=sitewide&la=en&qt=pcl+5e&qs=&st=1&nh=10&lk=1&rf=0&uf=1

will approximately show printers that support PCL 5e.

PCL 5c Color

Per HP website in April of 2008, these printers are PCL 5c capable:

PCL 5C (Color) - Released with the following printers: HP Color LaserJet, HP Color LaserJet 5, HP Color LaserJet 5M, HP Color LaserJet 2500, HP Color LaserJet 4500, HP Color LaserJet 4550, HP Color LaserJet 4600, HP Color LaserJet 5500, HP Color LaserJet 8500 and HP Color LaserJet 8550 series printers.

PCL General

Configuring a Network Printer With a JetDirect Card

Here is the RTVCFGSRC for a 4050 that we have on our network. Since it is RTVCFGSRC, all parameters appear, even though most of them are the command defaults.

CRTDEVPRT 
 DEVD(NLDACCT)       +
 DEVCLS(*LAN)        +  
 TYPE(3812)          +
 MODEL(1)            + 
 LANATTACH(*IP)      +
 PORT(9100)          +
 ATTACH(*DIRECT)     +
 ONLINE(*YES)        + 
 FONT(011 *NONE)     +
 FORMFEED(*AUTOCUT)  +
 SEPDRAWER(*FILE)    + 
 PRTERRMSG(*INQ)     +
 MSGQ(*CTLD)         +
 ACTTMR(600)         +
 INACTTMR(*SEC15)    +
 LINESPEED(19200)    +
 WORDLEN(8)          +
 PARITY(*NONE)       +
 STOPBITS(1)         +
 TRANSFORM(*YES)     +
 MFRTYPMDL(*HP4000)  +
 PPRSRC1(*LETTER)    + 
 PPRSRC2(*LETTER)    +
 ENVELOPE(*NUMBER10) +
 ASCII899(*YES)      + 
 IMGCFG(*NONE)       +
 CHRID(*SYSVAL)      +
 RMTLOCNAME('192.168.45.44') +
 SYSDRVPGM(*HPPJLDRV)        + 
 TEXT('Las Vegas - Downstairs - Accounting') 

With the IP address in the RMTLOCNAME, as I have it above, you don't need DNS. You also could put the printer names and IP addresses in the AS/400s TCP/IP host table, then use the printer names in the device description (which I am going to do for ours when I get a round tuit).

This printer handles both PC output and AS/400 output.

Originally posted to MIDRANGE-L by Ken of Southern Wine and Spirits of Nevada, Inc

How can I get a count of the objects on my system? You may wish to use IBM's commands RTVDSKINF/PRTDSKINF. It'll create about the same file as DSPOBJD will, and you'll get more information out of it. The file is called QUSRSYS/QAEZDISK. By the way, RTVDSKINF traverses the IFS and QDOC as well as the QSYS file system.

Specific Issues

Upgrading to iMail From FlashMail

Copy the FlashMail library to iMailx. Add library iMail to top of library list. Run program efr6000 and verify settings. Run the command RSTEMCFG to copy the FlashMail user data to iMail. Delete the library iMailx.

Starting Fax Lines Automatically

First you need to grant authority of the user profile KFFAX to QPGMR. This can be done with WRKOBJ and using option 2 to edit the authority.

Next, edit your QSTRUPPGM with the following source code lines near the end of the prorgram:

FAQ-Frequently Asked Questions

How to find out the LPAR number on your system

To find out LPAR on your system: DSPSRVAGT TYPE(*SRVREGINF)

How to change the default outq for your Output Option window when using Manual Merge

Start by going to change the data area, on a command line type: CHGDTAARA

Then type this in for the ‘Data area’: DSOUTQ

And for the ‘New Value’ type in outq you want to use

How To Retrieve A *USERASCII Spool File From An Outqueue.

iDocs outputs pcl spool files, which have the type of *USERASCII. This is different from regular text spool files such as joblogs, which are of type *SCS.

To retrieve a *USERASCII spool file and send it to us please use the following procedure:

1. Add the iDocs library to the top of the library list. ADDLIBLE FMG *FIRST

2. Use the command GETASCSPLF ( Get Ascii Spool File ) to copy the *USERASCII spool file to an IFS directory.
GETASCSPLF <F4>


                     Get *USERASCII Spool File (GETASCSPLF)                     
                                                                                
 Type choices, press Enter.                                                     
                                                                                
 Spooled File Name  . . . . . . .   fmglaser      Name                        
 Job Name . . . . . . . . . . . .   qpadev0001    Name, *      
   User Name  . . . . . . . . . .     dyokana     Name                          
   Job Number . . . . . . . . . .     123456      000000-999999                 
 Spooled File Number  . . . . . .   000001        -1-999999, *ONLY, *LAST    
 IFS output file name . . . . . .   /home/dyokana/fmgLaser.pcl                
                                                                                

Complete the command prompt with the spool file parameters correct for your spool file and a target IFS path that exists on your system and press <enter>.

3. Then, use binary FTP to retrieve the stream file from the IFS to the PC. There are many FTP clients available including the DOS command line, but we recommend FileZilla FTP client as an easy to use client that works well with the IBM i server.


[ Up To Portal ]

pub/knowledgebase.txt · Last modified: 2018/05/24 23:06 (external edit)