The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Defining X and Y Coordinates Inside A Window lesnaubr Shell Programming and Scripting 1 08-16-2007 08:19 AM
Defining Variables sailorliones UNIX for Dummies Questions & Answers 4 07-21-2006 03:09 PM
Defining a fiber attached tape drive NEED HELP PLZ! ptally UNIX for Dummies Questions & Answers 0 06-21-2006 02:31 PM
defining a variable as a number or character? noobian UNIX for Dummies Questions & Answers 1 04-26-2005 08:19 PM
Defining variables at boot time ianf UNIX for Dummies Questions & Answers 7 01-07-2002 01:03 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2008
matheeq's Avatar
matheeq matheeq is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1
Question defining a printer in qconfig

I've got a modified samba script (named it winprint) that I can use to print out to a to a shared Win Network printer from an AIX machine. This is a modification of the samba provided smbprint script changed to work under AIX as the backend for a queue. It does not read a config file

I can print the passwd file to the Win printer using the command: $ ./winprint /etc/passwd

However I can’t seem to 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

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

Is it just a matter of config? as I can use the script to print already.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0