[Kde-print-devel] [Bug 125970] New: User-selectable cover sheet option

Ray Lischner rl at tempest-sw.com
Thu Apr 20 20:35:09 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125970         
           Summary: User-selectable cover sheet option
           Product: kdeprint
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: kdeprintfax
        AssignedTo: kde-print-devel kde org
        ReportedBy: rl tempest-sw com


Version:            (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs

Sometimes I already have a cover sheet as part of the document, and sometimes I don't. It is inconvenient to have to edit the command line every time I send a fax. Instead, I prefer to have a check box to enable or disable cover-sheet generation.

Note that unlike #73269, I am not asking that kdeprintfax actually do any cover-sheet generation, only that the check box be available to pass information to the fax command line. Let the fax program handle the actual generation.

I've already done the work. In order to support the check box, I needed to add the notion of a Boolean tag, that is, a %foo tag that can yield one of two values, depending on a flag. I added the %cover tag to implement the new check box.

For example, HylaFax uses the -n command line option to suppress cover page generation, so %cover_{??-n} says that if the %cover flag is true (the Cover Sheet check box is checked), yield an empty string; otherwise, yield the string "-n".

I also modified the support for %res to use the same feature. For example, HylaFax would use %res_{-m??-l}. That way, you don't have "-l" hardcoded into the program.


More information about the Kde-print-devel mailing list