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!

Print to Remote Win Network Printers from AIX using modfied smbprint s

Status
Not open for further replies.

matheeq

Programmer
Mar 17, 2008
1
GB
I've got a modified version of smbprint script (named it winprint) that I can use to print out to a to a shared Win printer from an AIX machine.

However I can’t define the script as a printer in the qconfig as mentioned below.

winprint:
device = dwinprint
up = TRUE
discipline = sjn
dwinprint:
backend = /usr/local/samba/lib/printers/winprint

Checking on lpstat -t shows that this printer wasn't defined and when I try to print with lp –d winprint /etc/passwd I get the error : “lp: The printer or class was not found.”

It's just a matter of config as I can use the script to print already.
Could anyone suggest how I could go about defining the script as a printer?

Thanks in advance..

Matheeq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top