- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setting up Remote Printer
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
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
тАО01-03-2008 06:02 PM
тАО01-03-2008 06:02 PM
hi, i am facing the problem on setting up remote printer, your help will be much appreciated.
let me describe in detail what i am trying to do and the problem that i facing.
I am trying to setup a Seikosha seiko BP-9000 printer that attached to Winxp pc to print from hpunix 11.11. The printer will be used to share for all the Unix users, the steps that i have done so far :
1. install Print Service for Unix
2. add a local (LPT) printer
printer manufaturer : generic
printer model : generic /text only
printer name : seiko2
3. the IP of the winXP PC : 192.168.11.20
computer name : FAM20
4. in Unix, i add the below line in
to /etc/hosts
192.168.11.20 FAM20
5. SAM
i) Printer and Plotter
ii) LP Spooler
iii) Printer and Plotter
iv) Action
v) Add remote Printer
My settings:
Printer Name : seiko2
Remote System Name : FAM20
Remote Printer Name : seiko2
[X] Remote Printer is on BSD system
Default Request Priority - 0
[X] Allow Anyone to Cancel a Request
[ ] Make This Printer the Default
Destination
error appear when I press OK :
lpstat: printer "seiko2" non-existent
A problem occurred doing "lpadmin -pseiko2 -ormFAM20 -orpseiko2
-mrmodel -v/dev/null -ob3 -ocmrcmodel -osmrsmodel". Stderr from this
command is "/usr/sbin/lpadmin: can't create new cancel interface program├в
Unable to add printer "seiko2" because of above error(s).
Note :
1. in my /etc/inetd.conf =>
printer 515/tcp spooler
is not commented.
2. have already done inetd -c
3. find nothing in /var/adm/inetd.sec
4. trying to telnet to FAM20 but return with error, ping to FAM20 was OK.
please advise anthing that i can do to successfully configure my remote printer.
thank you very much
regards
ng
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2008 12:31 AM
тАО01-04-2008 12:31 AM
Re: setting up Remote Printer
the message from SAM sounds like a real showstopper; perhaps a permission problem under /var/spool/lp or elsewhere.
But before wasting time investigating this, can you confirm that other lp printers actually work on the same machine?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2008 02:57 AM
тАО01-04-2008 02:57 AM
SolutionCan you find any reason why this would fail? For example, is the root filesystem full? Does the /etc/lp/cinterface/seiko2 file already exist? Is the /etc/lp/cinterface directory missing, or does it have strange permissions?
The default permissions should be drwxr-xr-x, owner lp, group bin.
Is the "TCP/IP Print Server" service running on the winXP PC?
Right click on "My Computer", select "Manage", go to "Services and Applications" -> "Services". Find the "TCP/IP Print Server", start it if it's not started, and set its Startup Type to Automatic, so that it will start again automatically if the PC is restarted.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2008 07:28 PM
тАО01-06-2008 07:28 PM
Re: setting up Remote Printer
below is the list of file from /var/spool/lp,
please advise which one have permission problem.
prw------- 1 lp lp 0 Jan 7 10:45 CLD_FIFO
prw------- 1 lp lp 0 Jan 7 10:45 FIFO
-rw-r----- 1 lp lp 0 Jan 7 10:45 SCHEDLOCK
lrwxr-xr-t 1 root sys 14 Sep 23 03:10 Tclass -> /etc/lp/Tclass
lrwxr-xr-t 1 root sys 15 Sep 23 03:10 Tmember -> /etc/lp/Tmember
lrwxr-xr-t 1 root sys 18 Sep 23 03:10 cinterface -> /etc/lp/cinterface
lrwxr-xr-t 1 root sys 13 Sep 23 03:10 class -> /etc/lp/class
lrwxr-xr-t 1 root sys 18 Sep 23 03:10 cmodel -> /usr/lib/lp/cmodel
-rw------- 1 lp mail 53 Nov 27 16:42 dead.letter
-rw-r--r-- 1 lp lp 9 Jun 11 2007 default
lrwxr-xr-t 1 root sys 17 Sep 23 03:10 fonts -> /usr/lib/lp/fonts
lrwxr-xr-t 1 root sys 12 Sep 23 03:10 info -> /etc/lp/info
lrwxr-xr-t 1 root sys 17 Sep 23 03:10 interface -> /etc/lp/interface
lrwxr-xr-t 1 root sys 15 Sep 23 03:10 log -> /var/adm/lp/log
lrwxr-xr-t 1 root sys 21 Sep 23 03:10 lpana.log -> /var/adm/lp/lpana.log
lrwxr-xr-t 1 root sys 19 Sep 23 03:10 lpd.log -> /var/adm/lp/lpd.log
lrwxr-xr-t 1 root sys 14 Sep 23 03:10 member -> /etc/lp/member
lrwxr-xr-t 1 root sys 17 Sep 23 03:10 model -> /usr/lib/lp/model
-rw-r--r-- 1 lp sys 32868 Jan 7 10:45 outputq
-rw-r--r-- 1 lp lp 35532 Jan 7 10:45 pstatus
-rw-r--r-- 1 lp lp 8836 Jan 7 10:39 qstatus
drwxr-xr-x 2 lp bin 96 Nov 16 2000 receive
drwxr-xr-x 48 lp bin 1024 Jan 7 10:39 request
-rw-r--r-- 1 lp lp 5 Jan 7 10:43 seqfile
lrwxr-xr-t 1 root sys 18 Sep 23 03:10 sinterface -> /etc/lp/sinterface
lrwxr-xr-t 1 root sys 18 Sep 23 03:10 smodel -> /usr/lib/lp/smodel
drwxr-xr-x 2 lp bin 96 May 15 2007 tsm.pipes
for MK question, I managed to find that there is missing cinterface in /etc/lp, thus, i created the cinterface with the following permission :
app:/etc/lp# ll
total 28
drwxrwxrwx 2 lp bin 96 Jan 7 10:39 cinterface
drwxr-xr-x 2 lp bin 96 Nov 16 2000 class
drwxr-xr-x 2 lp bin 96 Nov 16 2000 info
drwxr-xr-x 5 lp bin 1024 Jan 7 10:39 interface
drwxr-xr-x 2 lp bin 1024 Jan 7 10:39 member
drwxrwxrwx 2 lp bin 96 Mar 24 2004 netlp.asx
-rwxr-xr-x 1 lp bin 5256 Jan 7 10:32 request
-rwxr-xr-x 1 root sys 5256 Dec 23 09:01 request1
drwxr-xr-x 2 lp bin 96 Jan 7 10:39 sinterface
After i have created the cinterface, the error message no more appearing when i create new remote printer seiko4, The "TCP/IP Print Server" service in running on the winXP PC and it is started automatically.
but when i trying to print, the printer still does't print out anything
when i lpstat the printer, below message saying FAM20 is down
app:/etc/lp# lpstat seiko4
seiko4-0 root priority 0 Jan 7 10:40 on seiko4
stprd.sh 218 bytes
connection to FAM20 is down
app: waiting for FAM20 to come up
Note : my /etc/hosts contain the following line
192.168.11.20 FAM20
, the IP represent the host IP, and FAM20 is the hostname, please also refer to attachment for my TCP/IP printer server status. I am able to ping to either 192.168.11.20 or FAM20
SOS, please help.
thank you very much.
regards
ng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 01:01 AM
тАО01-07-2008 01:01 AM
Re: setting up Remote Printer
# lpstat seiko4
seiko4-0 root priority 0 Jan 7 10:40 on seiko4
stprd.sh 218 bytes
connection to FAM20 is down
indicates the port 515 of FAM20 does not respond to the Unix host. The fact that your telnet attempt fails confirms this.
If ping works, the physical connection should be OK.
There is probably a firewall preventing the connection to port 515. Check the settings of any software firewall on WinXP. You should allow incoming connections to TCP port 515 from your HP-UX server.
(If your WinXP is up to date, it probably does have a firewall: after installing SP2, WinXP's Security Center nags at you if there is no firewall active.)
If there is a separate firewall device in the network, check its settings too.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 02:10 AM
тАО01-07-2008 02:10 AM
Re: setting up Remote Printer
as Matti says, you need network connection from your unix server to FAM20 on port 515. Try:
# telnet FAM20 515
By the time you get a login prompt, the connection will be ok. Till then, you have to request changes in your network.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 06:30 AM
тАО01-08-2008 06:30 AM
Re: setting up Remote Printer
If the problem is not solved :
├В┬┐the printer has jetdirect module?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 05:43 PM
тАО01-08-2008 05:43 PM
Re: setting up Remote Printer
i have double confirm by two setting
1) with check on Remote Printer is on BSD
system
2) without check on Remote Printer is on BSD
system
I found that to print from unix to winxp, i must use the option 1.
I have another question about this remote printer issue, how do i configure remote printer on hp laserjet 1015 ?
I have tried it using the earlier steps and it was printed out but the alignment was out. any idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 06:13 PM
тАО01-08-2008 06:13 PM