Start of change

Configure PJL printers

  1. Ensure that you have satisfied the following requirements:
  2. Use the Create Device Description (Printer)CRTDEVPRT CL command to create a printer device description. From a character-based interface, type CRTDEVPRT.
  3. On the Create Device Description (Printer) Display, press F9 to display all parameters.
  4. Specify the following values:
    Parameter Value
    Device description (DEVD) The name of your device description; for example, mypjlprt.
    Device class (DEVCLS) This must be set to *LAN.
    Device type (TYPE) This must be set to 3812.
    Device model (MODEL) This must be set to 1.
    LAN attachment (LANATTACH) This must be set to *IP.
    Port number (PORT) The port number that the printer network interface card is expecting for PJL data. Refer to your manufacturer's information or to the IBM knowledge base document Link outside the Information Center"Recommended PJL Port Numbers Values for *LAN 3812 PJL Device Descriptions" (search for the document title at www.ibm.com/support/) for the correct value. Typically this value is 9100 or 2501.
    Font (FONT) This is typically set to 011, which is the default 10 CPI font.
    Form feed (FORMFEED) Set to *AUTOCUT, if single-cut sheets are used by the printer. Set to *CONT, if printing to a continuous forms printer.
    Printer error message (PRTERRMSG) Set to *INFO so that the printer's message queue will receive informational messages whenever possible. This can prevent a condition that might cause the printer writer to end.
    Message queue (MSGQ) The default value for this parameter is *CTLD, which indicates that the message queue is defined in the attached controller. There is no attached controller for *LAN printer device descriptions, so leaving the Message queue (MSGQ) parameter set to *CTLD will in effect set it to the QSYSOPR message queue in library QSYS. If you want to use another message queue for this printer device, verify that the message queue exists before entering the message queue and library in the MSGQ parameter. Otherwise, the CRTDEVPRT command will fail with message CPF2799, Message queue &1 in library &2 not found.
    Host print transform (TRANSFORM) Set to *YES so that SCS and AFP data stream spooled files are converted to the printer's data stream.
    Manufacturer type and model (MTRTYPMDL) This value indicates the type of ASCII printer and is used by the host print transform when converting spooled files. For recommendations on the value to use for some popular printers, see the IBM knowledge base document Link outside Information Center "Support for various ASCII Printers" (search for the document title at www.ibm.com/support/).
    Remote location (RMTLOCNAME) The name of your printer on the TCP/IP network; for example, 192.168.0.1 or mysnmpprt.myco.com. You should verify that i5/OS can reach the printer by using either the ping or Verify TCP/IP Connection (VFYTCPCNN) command.
    System driver program (SYSDRVPGM) This must be set to *IBMPJLDRV.
    All other values can be left as the default value.
  5. Press Enter.
  6. Make the printer available. See Make printer available.
  7. Start the printer writer. For more information, see Start printer writer.
End of change