Frederic Soulier wrote:
> Hi
> 
> I'm having troubles printing from Mozilla (I have CUPS setup).
> 
> When I try to print (using the printer) with the following print command
> (untouched from Mozilla installation):
>     lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}
> I get nothing.
> 

[bgmilne@bgmilne bgmilne]$ echo lpr 
${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}
lpr
[bgmilne@bgmilne bgmilne]$ export MOZ_PRINTER_NAME=hp1200
[bgmilne@bgmilne bgmilne]$ echo lpr 
${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}
lpr -Php1200

It should default to using 'lpr' unless you set MOZ_PRINTER_NAME (ie via 
  /etc/profile.d or so). Have you tested with plain 'lpr'?

> $ lpq
> ep870_1_ is ready
> no entries
> 
> When I try to print to a file the resulting .ps file is said to be
> invalid by ggv (kghostview shows nothing).
> 
> Note: Printing from anywhere else works fine (incl. printing from my W2K
> client boxes). Printing from xpp works as well.
> 
> Any idea?

I actually normally set Mozilla to use 'kprinter --stdin', but it now 
seems not to have saved that ...

Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to