Bug 125970 - [KDE4] User-selectable cover sheet option
Summary: [KDE4] User-selectable cover sheet option
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdeprint
Classification: Applications
Component: kdeprintfax (show other bugs)
Version: 4.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
: 126045 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-20 20:35 UTC by Ray Lischner
Modified: 2011-05-27 18:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to implement the proposed functionality (10.68 KB, patch)
2006-04-20 20:36 UTC, Ray Lischner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Lischner 2006-04-20 20:35:06 UTC
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.
Comment 1 Ray Lischner 2006-04-20 20:36:43 UTC
Created attachment 15707 [details]
Patch to implement the proposed functionality
Comment 2 Cristian Tibirna 2006-04-27 05:18:32 UTC
commited to branch 3.5

I still let this open so that I remember that we need to apply it to KDE4 too.
Comment 3 Cristian Tibirna 2006-04-27 05:19:02 UTC
*** Bug 126045 has been marked as a duplicate of this bug. ***
Comment 4 Kurt Pfeifle 2007-01-11 22:47:08 UTC
added KDE4 tag to $summary, changed Version accordingly...

Note, people: this fix is in 3.5. Please someone check if it already made it into KDE4 code, or if it needs to be up-ported!
Comment 5 John Layt 2011-05-27 18:17:09 UTC
KDEPrint is obsolete, unmaintained and will never be revived.  Closing all open bugs.