Bug 5383 - substitute gtklp for lp and lpr commands: make the unified printing menu for X programs
: substitute gtklp for lp and lpr commands: make the unified printing menu for ...
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/gtklp)
: unstable
: all Linux
: P2 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2004-10-23 02:23 by
Modified: 2005-09-04 23:26 (History)


Attachments


Note

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


Description From 2004-10-23 02:23:43
gtklp-0.9k-alt3

Idea: Most programs send the stuff to print to lp/lpr command.

gtklp can work as a wrapper for lp, lpr. 

If gtklp is called whenever a program submits a printing task through lp/lpr,
then the user will see the gtklp GUI (in X) with all the powerful printing
options menus, so he can adjust them.

It can be implemented by installing gtklp wrapper as an alternative to lp/lpr
commands.

Why it is useful? Each program that has a Print option is not able to supply a
printing menu with all the possible options there. But gtklp could be a helper.

Example:

the printing menu in djview doesn't have an option to select n-up printing and
the layout for it. If gtklp is used when printing from djview, a user can print
a djvu document in a single sequence of actions in the layout he likes. (Without
gtklp the sequence breaks into two: first print to a file, then either call
gtklp on the file or lp with the special options.)
Steps to Reproduce:
1. Print from a GUI program that uses lp/lpr (say, djview).
2. Try to set a custom option for teh printing task (say, n-up printing).

Actual Results:  
The progam's menu lacks such options.

Expected Results:  
A wrapper is called instead of  lp/lpr which calls 

GTKLP_FORCEX=1 gtklp 

and gtklp starts in X. The user is able to choose the options he wants.
------- Comment #1 From 2004-12-01 11:57:14 -------
Use alternatives, Luke?
------- Comment #2 From 2004-12-01 18:22:46 -------
Сделано для 1.0-alt1. Жду отзывов.