Printing from AIX 5.0 to windows


 
Thread Tools Search this Thread
Operating Systems AIX Printing from AIX 5.0 to windows
# 1  
Old 04-08-2009
Printing from AIX 5.0 to windows

Dear All,

I just want to know how we can print a report from unix server to that printer which has installed on windows.

As from UNIX i can use below command to print ,but what set-up i need to do .
lpr -P<printer name> <report Name>

Pls suggest me.

Thanks
Arpit
# 2  
Old 04-08-2009
Samba will probably help.
# 3  
Old 04-08-2009
As far as i understand you have a printer (network-attached?) and a Windows-based print queue pointing to that printer. You want to use the Windows server as print server for the UNIX print job. If so:

1.) You do not have to use the Windows host if the printer has a lpd (which usually printers have. Just create a print queue using the printer as queue device in AIX and start printing.

2.) If you want to use the Windows host as print server install UNIX print services on the Windows host (that is the M$'s euphemism of choice for the lpd service) and create a print queue on the AIX host pointing to the Windows host as a print server.

3.) If you want to use a Windows-based protocol you will have to install Samba. The reason is that Windows does not understand real TCP/IP protocols, it still uses the NetBIOS protocol suite. If a Windows host says it uses TCP/IP it means in fact that it uses TCP to transport NetBIOS-packets from one host to another, but the protocol is still NetBIOS, just transported in a different way. This is in fact not really TCP/IP but a protocol called "RFC1001 / RFC1002" after the RFCs defining this type of protocol tunneling.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. Programming

Printing Popen Output Using Windows 7

Hi Guys, I am new to python and I am trying to print ouput of Popen on my text screen (tkinter gui). I was able to make it work on Linux with this code: Linux: Working def PrintSomething2(): outputdata = commands.getstatusoutput("sudo fping -f host.list") for i in outputdata:... (2 Replies)
Discussion started by: tattoostreet
2 Replies

3. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

4. Shell Programming and Scripting

shellscript on AIX to download file from windows to AIX

i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue. error message :... (1 Reply)
Discussion started by: kvkc
1 Replies

5. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

6. UNIX for Advanced & Expert Users

Printing to Windows and maintaining control

I'm new at the entire spectrum of printing in Unix, and especially when--as I understand it--the printers are on a Windows server. At work we have a variety of printers and printing from Windows, or from Unix via lp or lpr works fine. The initial problem: Our users will be printing up to 20... (1 Reply)
Discussion started by: effigy
1 Replies

7. HP-UX

Printing from unix to windows.

Hi, This issue is killing me. I'm looking to get advise on setting up a remote printer in unix "HP-UX" which will print to a printer which sits remotely connected to a windows 2000 server. I guess I'm looking for an idiots guide - any assistance you may offer will be gratefully received. ... (2 Replies)
Discussion started by: pmaths
2 Replies

8. Solaris

Error message printing to Windows on port 515

Hello, We have an application which runs on Windows 2000 that responds to prrint requests by anyone using RFC1179 protocol on port 515. We are getting an error message when submitting print requests from Sun Solaris 9. "Windows 2000 LPD Server Error: Specified printer does not exist"... (0 Replies)
Discussion started by: pauls
0 Replies

9. UNIX for Advanced & Expert Users

Unix to Windows 2000 printing over the internet

I need help printing to the Windows 2000 Pro environement from a Unix box, that the Windows 2000 system dials into via a ISP. We are still waiting for our T1 line to be installed but will need to know if that process will change when that is installed. I know that you can print from Windows 2000... (1 Reply)
Discussion started by: supportit
1 Replies
Login or Register to Ask a Question