Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New to AIX - Virtual Printer help needed

174 views
Skip to first unread message

Mike

unread,
Jun 26, 1999, 3:00:00 AM6/26/99
to

My background is Linux and Dynix/PTX and now I just recently have 2
AIX 4.3.2 servers to deal with.

I have an IBM 6400 Line Printer that I need to print to over ethernet.
Here is what I did.

1st, I configured the printer. It assigned it an IP address, Gateway
and netmask. From any server (including the AIX servers) or
workstation, I can ping it, telnet to it and I can access it via the
webt.

Second, I untarred the 6400 drivers (colon files) in /temp. I ran the
script, which installs them.

Third, I ran: smit mkvirprt

I select remote host, then I select local filtering, then IBM, then
ibm6400, then I filled in the config menu as follows, with the
exception of IP address. I used a fake ip address on this
message for security reasons.

Description IBM 6400 Printer

Names of NEW print queues to add
Printronix P-series Emulation []
IBM Proprinter III XL Emulation [main_ip]
Epson FX Emulation []
* HOSTNAME of remote server [205.210.15.12]
* Name of QUEUE on remote server [d1prn]
Type of print spooler on remote server AIX Version 3 or 4
Send PASS-THROUGH FLAG to queue yes
on remote server?
Backend TIME OUT period (minutes) [] #
Send control file first? no

When I hit enter to do this, I get the error: host 205.210.15.12
not found. I don't understand why it does not see the printer,
since as I said, I can ping, telnet and connect via the web from that
server or anywhere else for that matter. I have not restricted tcp
acces by IP address yet. I will once I get it working.

Any thoughts on what I am doing wrong?

I then tried to edit the qconfig file manually. I entered the
following:

main:
device = rd6400
host = 205.210.15.12
s_statfilter = /usr/lib/lpd/aixshort
l_statfilter = /usr/lib/lpd/aixlong
rq = d1prn
rd6400:
backend = /usr/lib/lpd/rembak


After I did this, you can see the que. I used smit to
start the que and it now reports as ready. I then printed
to this manually created que and it does print, but not in
the correct format. Printing goes off the side of the page.
I imagine this is because it is not being filtered properly.
I am not sure how to manually tell it to use the 6400 drivers
or filters/colon files as AIX calls them.

The first method I tried was the method listed in 4 of my
AIX books and the ethernet manual for the 6400 printer,
but as I stated, that method gives me an error.

Any suggestions on what I should do to get either
method to work?


Thanks for any and all help,

--Mike
S...@c-gate.net

Black Nickel

unread,
Jun 26, 1999, 3:00:00 AM6/26/99
to
Try putting the IP address in the /etc/host file and then try the smit
mkvirprt. First remove the printer. Why don't you use smit print and set
it up by adding a remote printer. This way you can assign a hostname
instead of an IP address.


Mike <S...@c-gate.net> wrote in message
news:377519ab....@enews.newsguy.com...
:
: My background is Linux and Dynix/PTX and now I just recently have 2

:
:
:
:

rens

unread,
Jun 27, 1999, 3:00:00 AM6/27/99
to
Black Nickel wrote:
>
> Try putting the IP address in the /etc/host file and then try the smit
> mkvirprt. First remove the printer. Why don't you use smit print and set
> it up by adding a remote printer. This way you can assign a hostname
> instead of an IP address.
Yes.
But you are no longer able to use the printer-driver code.
or , in plain english: you can only use it as a ascii line-printer.

--

================================

remove nospam from groennospamewegen when replying.......

================================

Mike

unread,
Jun 28, 1999, 3:00:00 AM6/28/99
to

I did try that and now I can get past the smit menu. I listed all
queues and it now shows up. The next thing I did was start the
queue and did a test print like the following: lpr filename.

Now I am getting the error:

0782-578 usage: priorlfb -f {+|!} -S Server -P Queue - N Filter
[-o BackendFlag...] PrintFile...

Message from root on HAL (unknown) [Mon Jun 28
16:17:01 CDT 1999]...

Message from queueing system
0781-074 Backend returned warning status for queue
Main:@Printer0. <EOT>

qdaemon: (WARNING): 0781-074 Backend returned warning
status for queue Main: @Printer0.

The first, sounds like a syntax error Below is what smit created
in my qconfig. I am going to do some investigating to see if I
can't find how a working remote printer config is supposed to
look. If anyone has any other suggestions, just let me know.


Thanks,


--Mike

main:
device = @Printer0

@Printer0:
header = never
trailer = never
access = both
backend = /usr/lib/lpd/pio/etc/piorlfb -f !

On Sat, 26 Jun 1999 21:43:18 GMT, "Black Nickel"
<rra...@mgfairfax.rr.com> wrote:

>Try putting the IP address in the /etc/host file and then try the smit
>mkvirprt. First remove the printer. Why don't you use smit print and set
>it up by adding a remote printer. This way you can assign a hostname
>instead of an IP address.
>
>

Håkan Rissanen

unread,
Jun 28, 1999, 3:00:00 AM6/28/99
to
Is the remote printserver an AIX box? If not change type of printspooler to
System V or BSD, next step is to try configure the local print queue using
local filtering.
HTH
/Håkanen

Al Denis

unread,
Jun 29, 1999, 3:00:00 AM6/29/99
to
Did you enable remote host access to the printer in /etc/rhosts?


Gary Tay Teng Teck

unread,
Jul 6, 1999, 3:00:00 AM7/6/99
to Mike
Mike,

If u need to clean up, delete the line from /etc/qconfig and the virtual
printer definition files under something like /var/spool/lpd/pio/@local and may
be /usr/lib/lpd/...

I noticed you are using printer backend other than the widely used IP Printing
LPD/LPR protocol developed by SUN-BSD UNIX.

I assume the IBM 6400 supports IP Printing (LPD/LPR), look up the 6400 HW
manual for the LPD Remote Print Queue Standard PASS-THRU queue name, for a lot
of IBM NP Printers, it is 'PASS' (Capital Letters). i.e. the entry Name of
QUEUE on remote server is 'PASS' if u are using IBM NP printers. (You may use
you own selected queue name, depends on what method of remote printing you are
using)

The hostname entry MUST NOT be IP address, so define it in /etc/hosts or DNS,
for IP Printing, the Type of print spooler SHOULD BE 'BSD' if you are using IP
Printing (LPD) from the printer Network Interface, of course, you must use the
printer control panel to set the necessary IP address/default gateway and
netmask details.

Hope this helps

Gary Tay
Rgds

Mike wrote:

> I did try that and now I can get past the smit menu. I listed all
> queues and it now shows up. The next thing I did was start the
> queue and did a test print like the following: lpr filename.
>

> >Try putting the IP address in the /etc/host file and then try the smit
> >mkvirprt. First remove the printer. Why don't you use smit print and set
> >it up by adding a remote printer. This way you can assign a hostname
> >instead of an IP address.
> >
> >
> >Mike <S...@c-gate.net> wrote in message
> >news:377519ab....@enews.newsguy.com...
> >:
> >: My background is Linux and Dynix/PTX and now I just recently have 2
> >: AIX 4.3.2 servers to deal with.
> >:

> >:
> >:
> >:
> >:
> >
> >


0 new messages