E9.2 Printing Issue after upgrade to 9.2

ramsib1

Member
We have recently upgraded from 9.1 Windows platform to 9.2 Oracle Linux 8 (TR: 9.2.5.6) platform. We are using legacy dot matrix printers (Epson LQ590II) for printing multi copy forms with text only content. We are using print immediate command in JDE to print directly using CUPS. The printer is attached to windows machine through USB. We are getting an extra blank page after every job while printing. We have turned off option of Banner in printer configuration. We have also switched off sending form feed by modifying the printer PPD but the issue persists. If the file is printed using windows there are no blank pages. Please advise on how to resolve the issue.
 
Make sure you are using Generic / Text only driver, with Properties "Advanced" tab "Print Processor" selected setting of "RAW" and not "RAW [FF appended]". "RAW [FF auto]" might work, never tried it.

[edit: noticed you switched to Linux, my advice was for Windows.... sorry, wrong advice!!! look for something similar in the CUPS setup.]
 

Attachments

  • lineprinter_setup.png
    lineprinter_setup.png
    56.3 KB · Views: 0
The LINE_PRINTER script in system/bin64 sends the output to the printer with:
"lp -c -n${NUMCOPIES} -t${TITLE} -d $DEVICE $*"

My reading on the lp command is that "-o raw" will cause CUPS to bypass the PPD for the line printer, which probably is appending an additional form feed. EOne formats its own LP output as well as PostScript and PCL, so raw is probably what you want for the ID running EOne services.

Setting
alias lp="lp -o raw"
in your .profile or .bash_profile (depending on the default shell) AND also in your EOne install dir's "SharedScripts/enterpriseone.sh" (the latter is the environment settings used to start services from your E1Agent via server manager) should cause the EOne print scripts to prepend that in place of the "lp" in the script.

Alternately, you can just modify the LINE_PRINTER script. but doing that would have to be done after every tools uplift in Server Manager, whereas if the profile/enterpriseone.sh works, you won't have that problem when you take updates.
 
Last edited:
Back
Top