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
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