Page 1 of 1 1
Topic Options
#125070 - 2004-08-16 01:08 PM Network printing
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
I'm wanting to print to a printer using an ip rather than a shared printer name on a server.

At the moment, i'm using \\server\printername but I would like to use \\192.9.200.35\

Can this be done?? Thanks

Top
#125071 - 2004-08-16 01:29 PM Re: Network printing
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Yes.....and no.

It all depends on what you are trying to do. Explain a little more about why you are trying to do this.

Top
#125072 - 2004-08-16 02:30 PM Re: Network printing
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
I've got a script that maps a network printer locally where the user is.

For instance, the client is connected to 192.9.250.190 and the printer in on 192.9.250.240. The script will map to the printer via a server. But I want to make it where it will go directly to the printer, avoiding the print server.

Hope this helps, here is an example of what i'm doing at the moment.

$ClientIP = "192.9.250"
$TestIP = "192.9.250"
If $ClientIP = $TestIP
IF ADDPRINTERCONNECTION ("\\nw2opib\ITHP4000")=0
? "Added printer connection.."
EndIf
EndIf

Top
#125073 - 2004-08-16 02:42 PM Re: Network printing
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I personally think unmanaged direct IP printing is a BAD idea. The printserver makes it managable.

That said, there is a UDF that will map a printer by IP.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#125074 - 2004-08-16 02:53 PM Re: Network printing
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
I know that using the ip in a unmanaged way is wrong but I need it this way due to how we are printing in my company.

At our district offices, i need to make a way to print from Citrix to a network printer directly not via a print-server. This will increase network traffic that i'm trying to reduce.


Top
#125075 - 2004-08-16 03:24 PM Re: Network printing
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
If I understand you correctly you are trying to *create* a new printer during login on the Citrix server which connects directly to the printer at the remote site?

This is a very bad idea on many levels, I certainly wouldn't recommend it.

What is the network overhead that you are trying to avoid? The printer data will appear on one of the LANs twice, but the WAN traffic is going to be the same whether it is printed direct or via a print server.

Top
#125076 - 2004-08-16 03:37 PM Re: Network printing
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
I work for a news print company and the print server does a low to hi res subtitution on graphics. If a user prints a picture, they will see a lo res graphic on there desktop but the server will print hi resolution.
Cutting out the print server would cut out network overhead.

Top
#125077 - 2004-08-16 03:50 PM Re: Network printing
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

Cutting out the print server would cut out network overhead



How do you figure?

Since all printing is done from the Citrix server, not the client, unless the printserver is in a different subnet from the printer, I can't see that. Normally, the printer and printserver would be well connected.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#125078 - 2004-08-16 04:03 PM Re: Network printing
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
I've done some thinking and planning out and your right.
Mapping to a print server is the right Idea but I would like to test the direct to IP idea. Anyone know how this can be done?

Top
#125079 - 2004-08-16 06:09 PM Re: Network printing
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I already told you there is a UDF that will do it. It is a really BAD idea though in a multi-win (Citrix) session.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#125080 - 2004-08-17 01:51 PM Re: Network printing
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
Can you tell me what the best way to map network printers will be. I've tried to get the client ip and map to the "local" network printer. This works on fat client pcs but when logging into Citrix, it picks up the server IP and not the client.
Top
#125081 - 2004-08-17 02:33 PM Re: Network printing
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
For your Citrix Connections, are you mapping to LPT1 on the client? This will help you greatly in Citrix.

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

Top
#125082 - 2004-08-17 02:56 PM Re: Network printing
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If you look in our FAQ section, you will find utilities that expose the client IP.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#125083 - 2004-08-17 03:00 PM Re: Network printing
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
Hi Kdyer, no. I'm mapping directly to the Printserver. If you read above, i've given an example of what i'm using to map the printer.
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.079 seconds in which 0.037 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