How do I turn off the lpr GUI

Tony Arnold tony.arnold at manchester.ac.uk
Tue Aug 29 21:25:51 UTC 2006


Laura,

On Tue, 2006-08-29 at 17:11 -0400, Laura Conrad wrote:
> I want to just say:
> 
>   lpr -P<printer name> -#<number of copies> <filename>
> 
> and have it just happen, without popping up that GUI.  (so
> that I can print from a script).  How do I do that?

That's weird. If I type the above in a terminal window I don;t get the
GUI pop up. You may want try:

	ls -l `which lpr`

to find out if lpr is linked to somewhere else. On my machine I get:

ls -l `which lpr`
-rwxr-xr-x 1 root root 9820 2006-08-03 09:54 /usr/bin/lpr

Regards,
Tony.
-- 
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold




More information about the ubuntu-users mailing list