Ticket #448 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

lprm/lpq wrapper should point you at the right CUPS server

Reported by: jdreed Owned by:
Priority: blocker Milestone: Karmic Deploy (Canceled)
Component: printing Keywords:
Cc: Fixed in version:
Upstream bug:


With the transition of the cluster printers to CUPS, lprm and lpq now only works if you talk to the actual CUPS server and not printers.mit.edu. This is a major change in behavior and actively conflicts with documentation and printed instructions in clusters.

Our wrapper script should look up queues in Hesiod and add the appropriate -h flag.

lpq/lprm should possibly also default to --cups mode based on the printer name and not just argument parsing.

This will have the side effect of making lpq output much nicer:

c.f. :

jdreed@infinite-loop:~$ lpq -Pajax | head -5
ajax is ready and printing

q_liang: active [job 2834 (Nov 19 20:15) localhost]

(STDIN) 3019776 bytes

jdreed@infinite-loop:~$ lpq -Pajax -h get-print.mit.edu | head -5
ajax is ready and printing
Rank Owner Job File(s) Total Size
active q_liang 2834 (STDIN) 3019776 bytes
1st jaimevr 2835 Test3Rev_dvi _Test3Rev_1_pdf_ 315392 bytes
2nd jaimevr 2836 Test3Rev_dvi _Test3RevSol_1_pdf 1129472 bytes

Change History

comment:1 Changed 15 years ago by broder

  • Status changed from new to proposed

comment:2 Changed 15 years ago by broder

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.