Re: error message when add print queue

From: Ron Bramblett (bramblet@FULLER.COM)
Date: Wed Mar 10 2004 - 17:18:08 EST


**VERY IMPORTANT** Did you add the host name for your printer to your hosts
file in /etc?
This is the name you entered from telneting to the printer.

Here is a sample of my /etc/qconfig file showing what I did to set up the
printer with a jet direct card.

ANY_HP:
            device =@any_HP
            up = TRUE
            host = ANY_HP
            s_statfilter = /usr/lib/lpd/aixshort
            l_statfilter = /usr/lib/lpd/aixlong
            rq = raw
@any_HP
            backend = /usr/lib/lpd/rembak

For Landscape the only difference is

@any_HP
            header = never
            trailer = never
            access = both
            backend = /usr/lib/lpd/pio/etc/priorlfb -f !

actually it has been a while since I set up this printer. So I did 3 simple
tests

First one
    Smit print
    Add print Queue
    Select HPJetDirect
    Chose Hewlett-Packard
    Chose Laser Jet 4+ (good generic printer driver)
    Do NOT make this system a BootP/TFTP server
    PCL name (enter the name of the actual Queue) I entered (Zoolo)
    hostname of JetDirect Card (from when you telneted to the printer)
    Hit enter and it will build the necessary files

Second One
    Smit print
    Add Print Queue
    Select Remote printer
    Chose the 3rd option about local filtering
    Hewlett-Packard
    4+
    PCL queue name (I chose Zoola)
    Hostname (enter the name from when you telneted to printer)
    Queue name on Remote raw
    Hit enter and it will build the necessary files

Third one
    Same as # 2 but chose standard filtering
    Did not work

Option 2 matched my current printer..

----- Original Message -----
From: "Ken Scheeringa" <kens@SHADOW.AGRY.PURDUE.EDU>
Newsgroups: bit.listserv.aix-l
To: <aix-l@Princeton.EDU>
Sent: Wednesday, March 10, 2004 3:14 PM
Subject: error message when add print queue

> Hi *,
>
> Thank you Ron Bramblett for solving part of my problem
> when asking smit to add a print queue for a jetdirect card.
>
> But I still can't finish the task. When I type in this command:
>
> /usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p 'hplj-4' -D pcl -q
'mettext'
> -h 'METJET' -x '9100'
>
> I get back this error:
>
> Attribute name passed to subroutine piogetstr by program piodigest
> is not valid. The attribute name is mD. The print queue and queue device
> name are mettext:hp@METJET
>
> Anyone know what is wrong with the command? This is the same command
> line built by smit except I limited the add to just one queue (pcl).
>
>
>
****************************************************************************
***
> Ken Scheeringa Indiana Climate Page
> State Climatologist http://shadow.agry.purdue.edu
> Agronomy Dept
> Purdue University featuring climate data archives:
> e-mail: kens@purdue.edu daily coop stations : 1994+
> fax: 765.496.2926 hourly airport data : Jul 1996+
> phone: 765.494.8105 30-min autostation : 1999+
> updated daily
> Also monthly/daily normals
>
****************************************************************************
***



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:41 EDT