Page 1 of 1 1
Topic Options
#124804 - 2004-08-12 01:59 PM Printer by Login Script
Anonymous
Unregistered


hi @ll,
I create a login script and I looking for a sample how can I use a INI File for Printer Connection like the same as to connect network share. I found a lot informatione but nothing wiht a text based ini file with section for the User group.

like
[ALL]
\\printserver\Printer1

[group_a]
\\printerserver\Printer2

[group_b]
\\printerserver\printer3

my knowledge is right now not very high on kix. Does anybody has a good excample

thanks

klaus

I know my questio is like" has anyone the script" but I think that is the shorts way and maybe I can help by an other problem. !

Top
#124805 - 2004-08-12 03:28 PM Re: Printer by Login Script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
First off, the INI structure that you show is not valid. Under every section, the keys need to have something on both sides of an '=' like:
Quote:


[ALL]
Printer=\\printserver\Printer1

[group_a]
Printer=\\printerserver\Printer2

[group_b]
Printer=\\printerserver\printer3





Have you had a look in our UDF section? There are several printer UDFs that use INI files.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.052 seconds in which 0.028 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org