Page 1 of 1 1
Topic Options
#42998 - 2003-07-17 03:37 PM capture default printer to lpt port
vvr Offline
Fresh Scripter

Registered: 2003-03-24
Posts: 12
Hi,

I am looking for a script, that captures the default printer to LPT port. Would somebody please help me.

Thanks

VVR

Top
#42999 - 2003-07-17 04:50 PM Re: capture default printer to lpt port
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Please take a look at the UDF Forum, it contains a couple of Printer...() UDFs, that might be helpful. Also, please use the KiXtart BBS search to search for other relevant threads.

Basically, identify the default printer, then map the default printer to LPT1.
_________________________
There are two types of vessels, submarines and targets.

Top
#43000 - 2003-07-17 07:05 PM Re: capture default printer to lpt port
vvr Offline
Fresh Scripter

Registered: 2003-03-24
Posts: 12
Hi,

I could not find anything about printing on the forum you mentioned. If somebody is already using a script like this, would you please post it.

Thank you,

VVR.

Top
#43001 - 2003-07-17 07:09 PM Re: capture default printer to lpt port
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
See for example in the UDF Forum under PrinterList() - Creates an Array/List of Printers or AddPrinter() - Add IP,LPT, or COM Printers with a total of 16 UDFs that deal with printer setup and configuration.
_________________________
There are two types of vessels, submarines and targets.

Top
#43002 - 2003-07-17 07:22 PM Re: capture default printer to lpt port
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Additionally, you can also try from the FAQ Forum -
Default Printer Configuration

HTH,

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

Top
#43003 - 2003-07-17 08:20 PM Re: capture default printer to lpt port
vvr Offline
Fresh Scripter

Registered: 2003-03-24
Posts: 12
Yes I went through all of them. But, those are written for Windows NT/2000 and I am looking for a script that can be used on Windows 98.

Thank you,

VVR.

Top
#43004 - 2003-07-17 08:26 PM Re: capture default printer to lpt port
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You did not specify this in your question. See ABC's of KiXtart board etiquette and message to new forum users , Section F.

Also, the PriMapState/Get_Default_Printer UDFs for example do support Windows 9x.

Can you then rephrase your question? You want to map an existing default printer under Windows 9x to also be bound to an LTP port?

[ 18. July 2003, 16:45: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#43005 - 2003-07-17 09:04 PM Re: capture default printer to lpt port
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
This may also help you along too. [Smile]

Add Printer on 9x clients!

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

Top
#43006 - 2003-07-18 04:36 PM Re: capture default printer to lpt port
vvr Offline
Fresh Scripter

Registered: 2003-03-24
Posts: 12
That is correct and sorry about the confusion... I want a script that can be used to capture lpt port to default printer in Windows 98 environment.

Thank you,

VVR.

Top
#43007 - 2003-07-18 04:45 PM Re: capture default printer to lpt port
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
oh, reversed task.
back on the drawing boards boys! [Big Grin]
_________________________
!

download KiXnet

Top
#43008 - 2003-07-18 04:45 PM Re: capture default printer to lpt port
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Do you want fries with that?

Are you hoping someone will serve it to you on a silver platter or can you work with the links provided?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#43009 - 2003-07-18 04:47 PM Re: capture default printer to lpt port
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
That's what the PriMapState/Get_Default_Printer UDFs are for! Please give them a try.

[ 18. July 2003, 16:56: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#43010 - 2003-07-18 04:54 PM Re: capture default printer to lpt port
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jens,
VVR is just a "taker". [Frown]

Look at his Recent posts He never returns to say what works or thanks. [Frown]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#43011 - 2003-07-18 11:03 PM Re: capture default printer to lpt port
vvr Offline
Fresh Scripter

Registered: 2003-03-24
Posts: 12
Yeah, that is right... just a taker, you got a problem with that, LLigetfa? By the way, so far you have been a big help....

VVR

Top
#43012 - 2003-07-18 11:05 PM Re: capture default printer to lpt port
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You've been provided the necessary UDFs to create the appropriate script. You can always post your finished script and ask specific questions.
_________________________
There are two types of vessels, submarines and targets.

Top
#43013 - 2003-07-21 10:08 PM Re: capture default printer to lpt port
vvr Offline
Fresh Scripter

Registered: 2003-03-24
Posts: 12
Thanks everybody for all your help.
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 823 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.065 seconds in which 0.024 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