Bug 36598 - bugs in /usr/share/printconf/foomatic/mfomatic
Summary: bugs in /usr/share/printconf/foomatic/mfomatic
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: printconf
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-19 00:33 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-04-19 00:33:44 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.