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/cupsOpen Printer Configuration File
vi printers.confVerify 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 PRT001PRT001 is a printer defined in JD Edwards.
echo "Test Print Successful" | lpr -P PRT002PRT002 is a printer defined in JD Edwards.
lpr -P APCHECK testprint
APCHECKis 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_logExample 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-okError Log Validation
tail /var/log/cups/error_logPurpose 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
- Open P98616.
- Add or validate the printer definition.
- Ensure the printer name matches the Linux/CUPS printer definition.
- 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 JAX002Purpose
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 JobExpected 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 -pCheck Pending Jobs
lpstat -oExpected 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 JAX002Expected Result
The queued print job should begin processing and print successfully.
9. Validate Print Output
Re-run the test report if necessary:
R0006P | XJDE0005Validation 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