Unix OS
--
Questions
--
Followers
Top Experts
I tried configuring a network printer using HPLJ 4 driver put had no success.
I can ping the printer from AIX.
I tried the following through smit printers Add a Queue:
attachment type hpJetDirect,
printer type Hewlett-Packard hplj-4,
BOOTP/TFTP Server Do NOT make this system a BOOTP/TFTP server,
Names of NEW print queues to add PCL [lp98],
Printer connection characteristics
* HOSTNAME of the JetDirect Card [brother]
* PORT [9100]
Can anyone point me in the right direction?
Thanks,
Dan
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I think this printer's interface doesn't behave like an hpJetDirect card, but rather like a network print server.
So try attachment type "remote".
Next you'll have to decide whether your application will send readily formatted hplj4 data to the printer (choose Standard in this case), or whether you will need local filtering (i.e. conversion of the data stream to the specific hplj4 format) - in this case choose "Local filtering" -> "Hewlett-Packard" -> "Â hplj-4".
Give the local queue a meaningful name.
Remains the hostname of the device and the name of the queue there - for the queue try "raw" or consult the printer's manual to find it out.
"Type of print spooler ..." is only needed to format the printer's replies to status inquiries properly - it will do no harm to experiment a bit here.
wmp
I have never configured a remote printer on AIX (only JetDirects) and never used a wireless Brother printer.
Does the Brother printer have a QUEUE name assigned to it on the Brother side?
Below is as far as I got with the smit AIX Add A Queue using remote:
                            [Entry Fields]
* Name of QUEUE to add                [lp98]
* HOSTNAME of remote server              [brother]  (this is the hostname in /etc/hosts)
* Name of QUEUE on remote server           []
 Type of print spooler on remote server        AIX Version 3 or 4   +
 Backend TIME OUT period (minutes)          []            #
 Send control file first?               no           +
 To turn on debugging, specify output        []
   file pathname
 DESCRIPTION of printer on remote server       [Brother MFC-8870DW]
I found the following in the Brother Network User Guide:
When specifying the Queue Name, use the value brn_xxxxxx_p1_at where xxxxxx are the last 6
digits of the Ethernet address.
Is the Ethernet address they refer to above the IP Address or something else?
I don't have access to the printer right now.
Thanks again for your reply,
Dan
You will either have to look at the "Network Configuration" Page of the printer for the entry "Ethernet Address" (you'll need access to the printer via telnet or http, obviously),
or you will have to ask your network people if they can find the MAC address for you at the wireless device the printer is communicating with.
I assume the printer is not in the same IP subnet as the AIX machine?
If it were, you could issue "arp -a" on AIX and check the ouput for the IP address or hostname of the printer. The MAC address can then be found in the same row (colon-separated, maybe without leading zeroes, depending on the AIX version).
As a last resort: perhaps the MAC address is written on a label at the printer? (But if you don't have access ...)
I have to leave now, sorry! Let's continue tomorrow, if needed.
wmp






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I will get the Network Configuration Page from the printer tomorrow.
Talk to you then.
Dan
Sorry it took so long to get back, hectic day. Â I had the user fax me the configuration.
The Ethernet Address is 00-16-ce-2a-e0-24
The NetBIOS Name is BRW_2AE024.
It shows one of the Active Services as BRN_90EE27_P1_AT.
Below is what I did with smit AIX Add A Queue using remote:
                            [Entry Fields]
* Name of QUEUE to add                [lp98]
* HOSTNAME of remote server              [brother]  (this is the hostname in /etc/hosts)
* Name of QUEUE on remote server           [BRN_2AE024_P1_AT]
 Type of print spooler on remote server        AIX Version 3 or 4   +
 Backend TIME OUT period (minutes)          []            #
 Send control file first?               no           +
 To turn on debugging, specify output        []
   file pathname
 DESCRIPTION of printer on remote server       [Brother MFC-8870DW]
Brother Network User Guide states when specifying the Queue Name, use the value brn_xxxxxx_p1_at where xxxxxx are the last 6 digits of the Ethernet address.
I used BRN_2AE0234_P1_AT as the * Name of QUEUE on remote server.
The Brother Configuration Page shows one of the Active Services as BRN_90EE27_P1_AT.
There is nothing on the configuration page that says QUEUE Name so I'm not sure if the BRN_2AE024_P1_AT is even the correct response to the question.
Below is the current configuration of the Queue:
 Name of queue                    lp98
 ACTIVATE the queue?                 yes           +
 Queuing DISCIPLINE                  first come first serv> +
 ACCOUNTING FILE pathname              [FALSE]          /
 HOSTNAME of remote server              [brother]
 Name of QUEUE on remote server           [BRN_2AE024_P1_AT]
 Pathname of the SHORT FORM FILTER for queue     [/usr/lib/lpd/aixshort] +/
  status output
 Pathname of the LONG FORM FILTER for queue     [/usr/lib/lpd/aixlong]  +/
  status output
==========================
I spooled the /etc/inittab files as follows:
lp -dlp98 /etc/inittab
==========================
Below is the message I got after a period of time:
Message from root on glwilson (UNKNOWN) [Tue Mar 23 17:01:09 EDT 2010] ...
Message from queueing system:
: (WARNING) 0781-375 Connection to server failed.
rembak: errno = 4: A system call received an interrupt.
<EOT>
Message from root on glwilson (UNKNOWN) [Tue Mar 23 17:01:09 EDT 2010] ...
Message from queueing system:
/usr/lib/lpd/rembak -S brother -P BRN_2AE024_P1_AT -N /usr/lib/lpd/aixshort /etc
/inittab <EOT>
Message from root on glwilson (UNKNOWN) [Tue Mar 23 17:01:09 EDT 2010] ...
Message from queueing system:
0781-088 Queue lp98:@brother went down, job is still queued:
 Backend: /usr/lib/lpd/rembak -S brother -P BRN_2AE024_P1_AT -N \
      /usr/lib/lpd/aixshort /etc/inittab
 Backend Exit Value: EXITFATAL (0100)
 Job Submit Time: Mar 23 16:59:39 2010.  Current Time: Mar 23 17:01:09 2010
Use local problem reporting procedures.
<EOT>
==========================
Below is what the lpstat command shows (the command hangs at lp98)
lpstat -W
lp98         @brother    DOWN
                  QUEUED   216001 /etc/inittab    root
        7  1  1
==========================
I'm not sure if they left the printer on. Â Everyone was gone when I tried this.
I'm going to try another queue using the BRN_90EE27_P1_AT just to see what happens.
Any suggestions regarding the Queue Name?
Thanks,
Dan
After rechecking the  network configuration on the printer the gateway was not set properly.  Changing the IP address of the gateway and the printer emulation to HP LaserJet allowed the printer to be configured through smit as an HP JetDirect.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Unix OS
--
Questions
--
Followers
Top Experts
Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.