Find the answer to your Linux question:
Results 1 to 4 of 4
mozilla defaults to printing to $MOZ_PRINTER_NAME, except when i setup a printer in redhat it doesn't pick it up, so nothing prints -- now I can add a line to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487

    mozilla and printing


    mozilla defaults to printing to $MOZ_PRINTER_NAME, except when i setup a printer in redhat it doesn't pick it up, so nothing prints -- now I can add a line to my login profile or something to set the value of the variable, but somewhere i should be able to tell mozilla to correct the problem itself, instead of globbering around it
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    At least in my mozilla setup, the command it uses is "lpr ${MOZ_PRINTER_NAME:+"-P"}${MOZ_PRINTER_NAME}", which just about means that it prints to $MOZ_PRINTER_NAME, if it's set. Otherwise, it just calls lpr with no args. Ie. if you don't set MOZ_PRINTER_NAME, you should be fine, isn't that right?

  3. #3
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    same command for me, yes - however if the variable is undefined my laserjet 4100n powers up saying it is processing a job, then stops with no output, no error

    (printing from the shell with no -P argumetn works fine though, and as soon as I define that variable mozilla also works fine...)

    the strange thing is it has happened to a second PC - I am wondering where i should be looking as I am pretty lost on this one...
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    This is probably the point where I'd begin [ls]tracing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •