[nflug] Selecting a printer in Firefox 1.07 & 1.5

Cyber Source peter at thecybersource.com
Wed Dec 28 16:45:38 EST 2005


Joe wrote:

> See my post that crossed yours in the mail.
>
> Obviously, one could write a script called lp and put it in the path 
> ahead of /usr/bin (or wherever lp lives), and in it call your own 
> script/program and eventually reference the real lp by a full path to 
> avoid a recursive loop, but that might cause problems for other 
> programs unless you did it very carefully.
>
> Joe
>
> Cyber Source wrote:
>
>> I am curious about this as well because I like a little app called 
>> gtklp. It allows me all sorts of configs to the printer and it works 
>> fine because I actually made all calls to lp go to gtklp, 
>> interception made! However, apps that print directly to cups, 
>> including now new Firefox 1.5 and Thunderbird 1.5. The question would 
>> be, how would one intercept cups files? For lp, it was /usr/bin/lp, 
>> etc..
>>
>> Joe wrote:
>>
>>> I figured out part of it, but it still doesn't work.
>>> In Firefox, I go to about:config
>>> In there, I changed everything (about 4 places) that mentioned lpr 
>>> to dplx.
>>> My changes persisted, but the printing still does not access my 
>>> script.  I made sure to exit and restart Firefox because I assumed 
>>> that prefs.js only gets read at startup.
>>>
>>> Joe wrote:
>>>
>>>> Hi.  I do almost all my printing through my duplex package (shell 
>>>> scripts).  Most applications let me specify a program to print - 
>>>> like lp, or in my case, dplx.  Firefox only shows me the printers I 
>>>> have defined to cups - none of which use my script.
>>>>
>>>> How do I get Firefox to let me print to my script?
>>>>
>>>> (I know I can print to file and then use the script, but I don't 
>>>> always want to do that.)
>>>>
>>>> I had a look at the cups user manual, but didn't see anything 
>>>> obvious about how to add a filter, etc. for my scripts.
>>>>
>>>> I am using mandrake 9.1, HP 895Cse, hpijs driver.
>>>>
>>>> TIA
>>>>
>>>> Joe
>>>>
>>>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>
>
If you read my post, that's what I did but cups seems to be more 
complicated than that
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list