Unix Technical Forum

network printer

This is a discussion on network printer within the AIX Operating System forums, part of the Unix Operating Systems category; --> Is there a way to add a printer that is on the network running an HP-Print Server? When I ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 09:22 PM
MIKE U
 
Posts: n/a
Default network printer

Is there a way to add a printer that is on the network running an HP-Print
Server? When I go into smit , and add a printer, my only options are for a
parallel port or serial port.

Thanks


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 09:23 PM
Ron
 
Posts: n/a
Default Re: network printer

MIKE U <lbpipe@nunyabusiness.com> wrote:
: Is there a way to add a printer that is on the network running an HP-Print
: Server? When I go into smit , and add a printer, my only options are for a
: parallel port or serial port.

: Thanks

I went thru a process of adding several hundred remote printers and so made a
script to do it, but in essence, here is what I do. You can look at the man
pages for more info about the various options. I'm not printing to a print
server so your situation is a little different, but not much. "host_name" is
probably your print server name. I generally use a generic name since most
of mine are not kept in a name server, then add the name and IP address into
/etc/hosts. I'm sure there is a way to do it via smit, but in my situation
this was much easier to do.


enq -G (gracefully stops the qdaemon)

mkque -qqueue_name -a 'host = host_name' -a 'rq = remote_queue' \
-a 'up = TRUE' -a 's_statfilter = /usr/lib/lpd/bsdshort' \
-a 'l_statfilter = /usr/lib/lpd/bsdlong'

mkquedev -d @queue_name -q 'queue_name' -a 'backend = /usr/lib/lpd/rembak' \
-a 'align = FALSE'

startsrc -s qdaemon (start the qdaemon)

If you don't stop and start the qdaemon, it potentially can cause problems.
If someone tries to print when it is down, they will get an error, but
otherwise shouldn't cause problems doing this.

Ron
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 09:23 PM
LAIX Software Consulting
 
Posts: n/a
Default Re: network printer

Install the printers.hpJetDirect.attach fileset from your AIX installation
CD.

Best regards,
Paul

"MIKE U" <lbpipe@nunyabusiness.com> wrote in message
news:5iAgb.12310$Mk7.4455@newssvr25.news.prodigy.c om...
> Is there a way to add a printer that is on the network running an HP-Print
> Server? When I go into smit , and add a printer, my only options are for

a
> parallel port or serial port.
>
> Thanks
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com