Page 4 of 4 <1234
Topic Options
#147577 - 2005-11-22 09:57 AM Re: printer add: need help...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
oh, this one...

k, you missing on some vital info.
what is the error code?
does this printer have same name as it's share?
_________________________
!

download KiXnet

Top
#147578 - 2005-11-22 11:09 AM Re: printer add: need help...
balafrus Offline
Fresh Scripter

Registered: 2005-09-12
Posts: 33
Loc: Belgium
edit: i check the printer's name isnt the same as it'share name....

Printer's name: PCL6 Laserjet
Share name: PRL7002A11

BAL.


Edited by balafrus (2005-11-22 11:14 AM)

Top
#147579 - 2005-11-22 11:12 AM Re: printer add: need help...
balafrus Offline
Fresh Scripter

Registered: 2005-09-12
Posts: 33
Loc: Belgium
hem , the error is this:

It connect the printer correctly but don't put it as default printer...

Top
#147580 - 2005-11-22 02:56 PM Re: printer add: need help...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Is the share name different than the printer name?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#147581 - 2005-11-22 07:31 PM Re: printer add: need help...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
balafrus dear,
there is @ERROR line in YOUR SCRIPT.
what does it say?!?
I'm 110% sure that it did not say what you told me.

anyway, the problem is that setdefaultPrinter() wants the printer name, not share name.
_________________________
!

download KiXnet

Top
Page 4 of 4 <1234


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

Who's Online
0 registered and 323 anonymous users online.
Newest Members
Audio, Hoschi, Comet, rrosell, PatrickPinto
17880 Registered Users

Generated in 0.121 seconds in which 0.057 seconds were spent on a total of 13 queries. Zlib compression enabled.

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