Bug 36598

Summary: bugs in /usr/share/printconf/foomatic/mfomatic
Product: [Retired] Red Hat Linux Reporter: Need Real Name <lindell>
Component: printconfAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: nicku
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-19 00:33:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2001-04-19 00:33:40 UTC
It doesn't generate PJL output because of two bugs.  The first is
checking the size of the prepend and the append arrays.  The second
is that the prepend array size was checked instead of the append
array at the end of the job.

(rob:90) diff mfomatic.orig mfomatic
347c347
<           "\33%-12345X\@PJL RESET\n\@PJL EOJ\n");
---
>           "\033%-12345X\@PJL RESET\n\@PJL EOJ\n");
553c553
<           if ( @pjlprepend > 1 ) {
---
>           if ( @pjlprepend > 0 ) {
559c559
<           if ( @pjlprepend > 1 ) {
---
>           if ( @pjlappend > 0 ) {

Comment 1 Crutcher Dunnavant 2001-07-30 21:50:54 UTC
fixed.