- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LDP Unix /Win xp config problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 03:29 PM
тАО04-29-2004 03:29 PM
LDP Unix /Win xp config problem
linksys router/firewall / cable modem
printer - lexmark
There is a problem with the handshake between my Unix worksta and my Win xp worksta. The unix print spooler is running. The printer is enable and ready. There are 2 jobs in the queue that will not print.
I have logging turned on to trap any errors.
I config the remote printer on Unix with SAM. The lpd.log file has the following error:
"host name for your address (contains IP of win xp)is unknown.
? are there any cmd commands that I can issue in win xp to verify that its working ok from that end. After Configuring "print services for unix". I tried printing a test page from win xp and it failed
? Must I setup a static IP in
etc/host and in win xp network config.
? Are there any other configs that I need to do or files that I should check.
checked
etc/services -ok
Thanks
Julian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 05:26 PM
тАО04-29-2004 05:26 PM
Re: LDP Unix /Win xp config problem
It could be physical, wiring or hub.
It could be a bad nic card or cable.
It could be sunspots.
if not on turn on enhanced syslog logging
inetd -l
tail -f /var/adm/syslog/syslog.log
try and print, see what happens.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 06:24 PM
тАО04-29-2004 06:24 PM
Re: LDP Unix /Win xp config problem
From your post I believe that you have connected the printer locally to the WinXP system and configuring the same as remote printer from unix . You can do the following steps to accomplish your requirement.
1. On your WinXP system connect the printer and configure as a local printer. Give some test printout.
2. Share the printer.
3. On your HPUX system: sam--> printers & plotters-->LP Spoolers--> Printers & Plotters --->Actions---> Add Remote Printer & plotter ---->
Configure as per the below guideline.
Printername----Any name that u want to call from Unix system.
Remote System Name---Hostname of your WinXP system.
Remote Printer name-- The share name that you have specified for your printer on WinxP.
Select Remote Printer is on BSD.
Save it.
Now you should be able to print from unix.
---> There is no need for a static ip as long as you configured your remote system name by hostname and your name resolving mechanism works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 10:20 PM
тАО04-29-2004 10:20 PM
Re: LDP Unix /Win xp config problem
Is your printer connected to Winxp? If yes, then first configure it from winxp and then share it and then from hp-ux configure the printer(SAM is easy to configure). Or you can configure the printer giving the below commands:
stop lpscheduler---> lpshut
Then run,
lpadmin -p "printer name anything" -v/dev/null -mrmodel -orm"winxp ip addr" -orp"printer portname"
After that
enable "printername"
accept "printername"
lpsched
Rgds
Tapas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2004 12:32 PM
тАО04-30-2004 12:32 PM
Re: LDP Unix /Win xp config problem
If I understood you correctly.
It isn't necessary for me to create a LPR port on my win xp? I can just add another printer as local and make sure that the port is my 'win xp hostname?
I didn't understand the other part of your answer about "Name resolving mechanism"!! Without a static IP i cannot add a remote printer in Sam. I get a reply that remote system name(win xp hostname) is invalid.
Hello Steve,
I turned on syslog logging
and there was a message that I didn't understand
"can't open' /etc/named.conf/'
The named daemon is not running.
Thanks,
Julian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2004 02:54 AM
тАО05-02-2004 02:54 AM
Re: LDP Unix /Win xp config problem
"host name for your address (contains IP of win xp)is unknown. "
verify that your entry works (from the HP command line) with:
nslookup XPname
where XPname is the name of your XP.
You could live without a static address if you had a DNS server on your network but since you don't you need to use a static IP address and have the XPname IP address pair in your HP's /etc/hosts file.
The named.conf error in syslog is because you are not running a DNS server on the HP but it somehow thinks you should be. The conf file is used to set it up.
http://www.informatik.uni-frankfurt.de/doc/man/hpux/named.1m.html
If I remembe4r correctly the /etc/resolver.conf file determines how a request for an IP address or name is handled. It should go to files first so that it reads the hosts file.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2004 08:25 AM
тАО05-02-2004 08:25 AM
Re: LDP Unix /Win xp config problem
Currently, I'm using a static IP and have the IP in my ext/hosts file. The problem starts on the xp machine, since I cannot get a test page to print from the new port. I don't know if the problem is related to the fact that lexmark printer uses a USB port(2.0). Printing locally with the lexm works fine. I'm at a lost until I can do some more digging on how unix and xp uses TCP and USB Ports. Thinking about taking lexm off the xp and direct connect the printer to my unix box and see what happens. I need to print some info from this unix box and review.
I'm reading up on setting up DNS BINDS There is a lot good doc on this topic
Any addtional info you have about xp(lpr)using USB PORT please pass it a long. I could not find much info from MS other than the 1 pager on how to setup print service for unix.
Thanks again.
Julian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 02:24 PM
тАО05-03-2004 02:24 PM
Re: LDP Unix /Win xp config problem
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/1284dot4/hh/1284dot4/dot4over_42zr.asp
There is also a USB001 which in the description is called a Virtual printer port for USB but there is no printer assigned to it. Until you get the test page to print there is not much use of worrying about the Unix box.
Once you get the test page to print you might look to see if you are using the XP firewall. It might be blocking your connection. Ditto for Zone Alarm.
Ron