Learn how to a build a cloud-first strategyRegister Now


Redirect print Jobs off a AIX application sent to a networked printer to a local windows printer

Posted on 2004-11-18
Medium Priority
Last Modified: 2013-11-17
I am running a RISC 6000 server with AIX on it  in a Windows 2000/XP network. From the application running on the AIX server one can only print to a networked printer(one installed on a JetDirect box in this case). From my Workstation I open a Telnet session to access the application on the AIX server but I cannot print locally I have to print to a networked printer as I already explained.

There are several users printing that way, how can I redirect just my print jobs to my local windows printer?


Question by:JohnRamz
  • 2
  • 2
LVL 62

Accepted Solution

gheist earned 750 total points
ID: 12621047
You need to buy CIFS package for AIX to print to windows printers.

Other way is installing LPD service on NT
and then create another printer in AIX
and point it to that LPD
then set variable LPDEST to name of that printer in your session
and it will work the way you expect

PS Does not work with winprinters...
LVL 20

Assisted Solution

Gns earned 750 total points
ID: 12635487
> You need to buy CIFS package for AIX to print to windows printers.
One could perhaps survive with smbprint from samba... from www.bullfreeware.com or similar source (which would be ... bot buying:-). Still might need do some scripting on the AIX queue side, or simply print to a file on the AIX, the smbprint that to your local printer.

But easiest all around is probably the "windows pservices for unix" thing (only servce they ever put in that group was ever LPD:-), just as gheist says.

-- Glenn
LVL 62

Expert Comment

ID: 12635519
smbprint does not integrate with smit, lpd does ...
LVL 20

Expert Comment

ID: 12648655
True, but with a bit of scripting you could probably concoct a queue that the qmgr could live with;)

-- Glenn

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month20 days, 17 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question