Different default printers for each user:
Fairlight
fairlite at fairlite.com
Wed Jun 22 01:56:09 PDT 2005
The honourable and venerable John Broome spoke thus:
> Hi all,
>
> I am >< close to being done with my filepro migration from sco to unix,
Linux, you mean, apparently.
> Mandrake 10
Apparently it's Mandriva, now. And in a move brilliant enough to scare
anyone off, their 10.1 has the following note in the docs:
Linux Kernel 2.6.8 (and various fixes from 2.6.9rc)
They patched from a release -candidate-? Great. Hope you didn't want a
stable system... :)
> FP 5.0.00
That's not possible. Nothing lower than 5.0.10 will run on a modern kernel
and glibc. What's your -real- (ie., accurate) version number? Doesn't
seem applicable in this instance, but the devil's always in the details.
> I looked in ~/.profile for each user and thought set
> PFPRINTER=shipping/billing/receivables would do it, but when I log in as
> one of the users, all three have the same printer.
Are the users running bash or a Bourne variant as their main shell? If
they were set to use any shell that ignores .profile (tcsh comes to mind),
this wouldn't work.
Did you actually export the variable, or just set it?
> Oh, users will be connecting to the FP server from windows 2000 clients
> using Putty.
You can now set environment variable directly in PuTTY for ssh sessions, so
if you're able to assume they will always be using the same system (or at
least same PuTTY profile on different systems), you could handle it from
the client side. However, I think the ~/.profile approach (adjusting for
whatever shells they may be using) is far superior.
Put up one of the .profile files and let's see what you have. If you have
it there, and they're using bash, this should be working. Actually...I
wonder if it should. I know bash honours /etc/profile, but does it still
honour ~/.profile or do you need to use ~/.bashrc instead? Wouldn't
surprise me if they twinked it--that kind of thing always happens to bash.
I never use it for more than 20 seconds tops (if I'm on that long, I fire
off tcsh so I feel comfy), so I wouldn't know offhand.
Have you tried a printenv or a plain set to see what the environment looks
like raw, rather than just depending on fP's behaviour to test? You were
unclear on this point--about how you were testing it.
mark->
--
***** Fairlight Consulting's Software Solutions *****
OneGate Universal CGI Gateway: http://onegate.fairlite.com/
FairPay PayPal Integration Kit: http://fairpay.fairlite.com/
RawQuery B2B HTTP[S] Client & CGI Debugger: http://rawquery.fairlite.com/
Lightmail Mail Sending Agent: http://lightmail.fairlite.com/
FairView Image Viewer for Integration: http://fairview.fairlite.com/
More information about the Filepro-list
mailing list