Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aix printing to Windows NT Print Server

Status
Not open for further replies.

rksharma

Programmer
Dec 17, 2000
12
US
I setup remote print queues on AIX 4.3 using the settings as "remote printer" & "standard processing".
Then define the "local queue name", "windows print server name" & "windows print queue".

This printing worked fined with a novell print server before. But since we moved to Windows NT printing the printing does not work properly. We get no carriage returns on a printer or the queue goes into error.

Are there any setting that should be used on AIX for printing to Windows NT print server?


Thanks

Rocky.
 
rocky,

i think you need one of these - something like: facetwin, samba, hummingbird, etc. for you to connect the printer connected to your PC from/to AIX box.

here's how (if using facetwin):

A-WINDOWS
1. use PC administrator when logging in to your PC
2. share the printer on your windows' PC, take note of the share name.
3. take note of the IP add of your PC or Computer name

B-AIX
3. smit->print spooling->add a print queue->remote->standard processing
4. provide the necessary field info:
- name of queue to add (unique in AIX)
- host of remote server (Computer name or IP add of PC)
- name of queue on remote server (printer share name on PC)
5. run facetwin script:

# fct_rlpadmin -a<printer name> -n<remote name> -p<password> -r<remote printer> -u<user>

***it will create queue_name with fct before the queue_name you specified***

'just an idea to start with. you may try downloading trial copy and installing it is very straight-forward @
 
Rocky,

these are the steps I used to set up a printer. I devised these steps from a posting that aixqueen put here. You might try setting the processing to Local filtering before sending to the print queue rather than standard processing.

1. Determine the IP address for the printer to be set up.
2. Add the name of the printer and its IP address to the /etc/hosts file. Check that the AIX system can ping the printer.
3. Use the following path in smit to set up the printer: Print Spooling / Add a Print Queue.
4. From the select list that appears, select remote.
5. From the next list that appears, select Local filtering before sending to print server.
6. From the next list that appears, select the printer type.
7. From the next list that appears, select the model printer that is to be used. The Add a Remote Print Queue with Local Filter window appears.
8. In the text box, type the name of the print queue you want to add. This is the name which the AIX system will use to name the printer.
9. In the Hostname of remote server, type the name of the printer that is specified in the /etc/hosts file.
10. In the Name of Queue on remote server, type the name of the queue on the remote server.
11. In the type of print spooler on remote server, select BSD.
12. All other options are the default.
 
Rocky,

As &quot;bi&quot; writes, you shuold use BSD as &quot;type of print spooler on remote server&quot;, when you set up the queue. Not AIX or System V!

Fredrik
 
I am trying to print through an NT queue from AIX 4.3.3

I can print to this printer from AIX &quot;directly.&quot; But i can not print to this printer using the queue defined in the NT print server.

AIX -> NT print server -> Printer:queue_name -> Fails?
AIX -> Printer:queue_name -> works!

jupiter3:/> lpstat -pzebra
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
zebra @colu DOWN
QUEUED 11 test.zebra root 3 1 1

: (WARNING) 0781-374 Connection to server timed out after retrying.
rembak: errno = 79: A remote host refused an attempted connect operation.
zebra torch HOST_DOWN


What needs to be done on the NT-side (access??) so that a regular user can print via NT printer server defined Queue? ... and why would I do it???

 
the /etc/qconfig

+83 zebra_1:
+84 device = @10
+85 up = TRUE
+86 host = 10.35.9.12
+87 s_statfilter = /usr/lib/lpd/bsdshort
+88 l_statfilter = /usr/lib/lpd/bsdlong
+89 rq = torchq5zb1_pcl
+90 @10:
+91 backend = /usr/lib/lpd/rembak
+92 zebra:
+93 device = @columbia
+94 up = TRUE
+95 host = columbia --- NT printer server and I have it in the /etc/hosts file
+96 s_statfilter = /usr/lib/lpd/bsdshort
+97 l_statfilter = /usr/lib/lpd/bsdlong
+98 rq = torchq5zb1
+99 @columbia:
+100 backend = /usr/lib/lpd/rembak


jupiter3:/> lpstat -pzebra_1 ---Works!!
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
zebra_1 @10 READY
jupiter3:/>
 
Is the following statement TRUE?

Systems (i.e. AIX) that cannot be athenticate with windows, has to use direct to printer.

thanks!
 
Here's a guess. Make sure that you can at least ping the hostname and I'm pretty sure you will need both forward and reverse lookup working but that is good practice anyway. Might be good to see if you can get the Win box to resolve the AIX box's IP.

I don't know about authentication to Win but between AIX machines the nslookup has been a problem more than once. IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top