Thursday, June 4, 2026

JD Edwards Printer Setup and Validation on Linux (CUPS)

 

Overview

This document provides step-by-step instructions for defining, validating, and troubleshooting printers in a JD Edwards (JDE) environment using Linux CUPS (Common UNIX Printing System). It includes printer configuration, Linux validation, JDE setup, printer queue management, and end-user validation.


1. Define Printer in Linux CUPS

Printer definitions in Linux are managed through the CUPS configuration.

Navigate to CUPS Configuration Directory

cd /etc/cups

Open Printer Configuration File

vi printers.conf

Verify Printer Definition

Ensure the printer is properly configured and available in the printers.conf file.

Example printer names:

  • PRT001
  • PRT002
  • APCHECK

Note: The printer name defined in Linux/CUPS should match the printer configured in JD Edwards.


2. Test Print from Linux

After defining the printer, validate functionality directly from the Linux server.

Test Print Commands

echo "Test Print Successful" | lpr -P PRT001

PRT001 is a printer defined in JD Edwards.

echo "Test Print Successful" | lpr -P PRT002

PRT002 is a printer defined in JD Edwards.

lpr -P APCHECK testprint

APCHECK is a printer defined in JD Edwards.

Expected Result

The test print should be successfully submitted to the printer queue and printed.


3. Review Printer Logs

If printing issues occur, review the CUPS logs to validate print job activity.

Access Log Validation

tail /var/log/cups/access_log

Example Successful Log Entries

"POST /printers/APCHECK HTTP/1.1" 200 306 Create-Job successful-ok
"POST /printers/APCHECK HTTP/1.1" 200 279 Send-Document successful-ok

Error Log Validation

tail /var/log/cups/error_log

Purpose of Logs

  • access_log → Validates if print requests are reaching the printer queue.
  • error_log → Helps identify printer, permission, or communication failures.

4. Define Printer in JD Edwards

Navigate to the printer setup application in JD Edwards.

Application

P98616 – Printer Revisions

Steps

  1. Open P98616.
  2. Add or validate the printer definition.
  3. Ensure the printer name matches the Linux/CUPS printer definition.
  4. Verify printer mapping and output queue configuration.

5. Pause Printer on Linux/Unix

To validate queued print jobs or temporarily stop printing, disable the printer queue.

Pause Printer

cupsenable JAX002
cupdisable JAX002

Purpose

This allows validation of whether print jobs are entering the Linux print queue without immediately printing.


6. Validate Printer from JD Edwards (Print Immediate)

Submit a test report from JD Edwards.

Run Report

R0006P | XJDE0005

On Printer Selection - Chnage Printer to PRT001
On Document Setup - Print Immediate






Submit Job

Expected Result

The report should submit successfully to the printer queue.


7. Verify Printer Queue on Linux

Validate that the print job is waiting in the queue while the printer is paused.

Check Queue Status

lpstat -p

Check Pending Jobs

lpstat -o

Expected Result

The submitted print job should appear in a waiting state.


8. Release Printer Queue

After validating the queued job, enable the printer to allow processing.

Release Printer

cupsenable JAX002

Expected Result

The queued print job should begin processing and print successfully.


9. Validate Print Output

Re-run the test report if necessary:

R0006P | XJDE0005

Validation Checklist

  • Print job submitted successfully from JDE
  • Job visible in Linux print queue
  • No CUPS errors observed
  • Physical print output generated successfully

10. User Validation

Request end-user confirmation for the printed document.

User Validation Points

  • Print formatting is correct
  • Printer selection is correct
  • No missing pages or formatting issues
  • Successful delivery to the expected printer