Page 1 of 1 1
Topic Options
#144711 - 2005-08-03 06:27 PM Printer Error Code 1801
ElGuapo Offline
Starting to like KiXtart

Registered: 2002-06-19
Posts: 100
We had someone leave recently and I am trying to dechiper a problem. The script maps printers, however, for a few printers, error code 1801 is given when an attempt to map to them is made.

A test page can be sent to the printer and if the network printer is added to the workstation manually, it prints fine.

From the searches I have done, it appears 1801 means the printer name cannot be found? Is that correct?

Top
#144712 - 2005-08-03 06:38 PM Re: Printer Error Code 1801
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>net helpmsg 1801

The printer name is invalid.

Top
#144713 - 2005-08-03 06:41 PM Re: Printer Error Code 1801
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yes, it's correct.
click on start -> run and type: "cmd /k net helpmsg 1801"

k... you say if the printer is mapped manually.
when you do that, do you browse for it, or do you use the "\\server\printer" syntax you use in the script?

my guess is, that you are trying to map to the printer with it's name instead of the printer's sharename.
either look on the server from the printer properties the sharename or do a "net view \\servername" to list the shares and catch the one for that printer.
_________________________
!

download KiXnet

Top
#144714 - 2005-08-03 08:23 PM Re: Printer Error Code 1801
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I bet he failed to use quotes.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#144715 - 2005-08-03 08:27 PM Re: Printer Error Code 1801
ElGuapo Offline
Starting to like KiXtart

Registered: 2002-06-19
Posts: 100
When the printer is mapped manually, it is browsed for. However, \\server\printer from the client works too. net view \\servername shows the printer name we expect.

The printer name and share name are correct and it appears correct in the code. We've even recreated the printer on the print server.

Other printers on the print server map just fine.

Top
#144716 - 2005-08-03 08:32 PM Re: Printer Error Code 1801
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
Why don't you post your script. It makes talking about your problem alot easier...
_________________________
Co


Top
#144717 - 2005-08-04 12:43 AM Re: Printer Error Code 1801
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
printername and sharename are correct?
doh.
they are always "correct" but just like said, in your script you must use sharename instead of printername.
_________________________
!

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

Generated in 0.045 seconds in which 0.019 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