Page 1 of 1 1
Topic Options
#35152 - 2003-01-13 01:22 PM deleting printer connections
rji Offline
Fresh Scripter

Registered: 2003-01-13
Posts: 5
Loc: UK
hi, how can i delete all printer connections without having to specify each individual printer (eg If DelPrinterConnection ("hplaser4").. )??.

cheers

Top
#35153 - 2003-01-13 01:24 PM Re: deleting printer connections
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
$nul=delprinterconnection("")

would be my quess
_________________________
!

download KiXnet

Top
#35154 - 2003-01-13 02:08 PM Re: deleting printer connections
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
rji,

Welcome to the board.

You can also try -

DelPrinterConnections

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#35155 - 2003-08-15 08:40 PM Re: deleting printer connections
Tom Hagen Offline
Fresh Scripter

Registered: 2001-11-02
Posts: 7
Loc: Milwaukee, WI
In 4.12 I am using the following script to delete all network printers.

code:
? "Delete Printers"
IF DelPrinterConnection ("") = 0
? "Disconnecting All Existing Network Printer Connections"
ENDIF

Of course there is the AddPrinterConnection and SetDefaultPrinter to be used too.
_________________________
Tom Hagen Jr Power comes from the Mind.

Top
#35156 - 2003-08-15 09:39 PM Re: deleting printer connections
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
tom, you then found kinda old post...

which actually was resolved already.

to make it clearer, my post above has the same way as yours.
kdyer's post on another gives you more info why the delprinterconnection does not always work and gives you a work-around for the kixtart versions that lack the ability to work as suggested.

well, anyway, good to see you participate...
just got little on my toes as you posted to this old topic that had nothing unclear anymore.
_________________________
!

download KiXnet

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
0 registered and 661 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.053 seconds in which 0.023 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