lpadmin command options on solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris lpadmin command options on solaris 10
# 1  
Old 10-19-2011
lpadmin command options on solaris 10

lpadmin configuration issues on Solaris 10 Zone. I have configured a print queue using lpadmin command to print to print file server.
Source server is a Solaris Zone running Solaris 10.
Destination file print server is running OS AIX 5.3.

I do not get errors when issuing the lp command to send a print request to the system but the administrator of the AIX server is telling me he is not receiving anything, I have double checked the IP, hostname and queue name for the destination, I am able to ping the queue name on port 515 with no issues. I think my issue is with the options I used when setting up the print queue with the lpadmin command. Here is my configuration file

Banner: on
Content types: any
Device: /dev/null
Interface: /usr/lib/lp/model/netstandard
Printer type: unknown
Modules:
Options: dest=sarah.pwgsc.gc.ca:text,protocol=bsd,timeout=line_in_seconds


I have tried different options with TCP instead of BSD in dest and other things. I am not sending my print jobs to a printer directly but to a file print server, so I am not able to use hppi like I usually do.

I also tried using printmgr but not sure on options.


Smilie

---------- Post updated at 02:46 PM ---------- Previous update was at 08:58 AM ----------

Resolved



Configuring Print Clients

There are a couple of utilities you can use to create print clients:
1. Admintool -- to be used for Solaris 2.6 and Solaris 7
2. The printmgr utility in Solaris 8 (in /usr/sadm/admin/bin)
However, they both execute the same commands:
# lpadmin -p banana -s server!remote-queueNote that:
Image banana is the queue you are creating to print to on the client.
Image server is the machine you are sending the print job to.
Image remote-queue is the name of the print queue on the machine you are sending the print job to.
Image If the remote-queue is the same as the queue you are creating on the client then you won't need the !remote-queue part of the command.

Last edited by primeaup; 10-19-2011 at 11:32 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ls command options

Hi, If I want to list files with names containing a certain letter like " a " using just one ls command, is there any way of doing that? Note that it is containing a letter instead of one of the following (starting, ending with a letter or having the letter in between). what I want is to show... (1 Reply)
Discussion started by: AAAnni
1 Replies

2. Solaris

Available design options for a cluster hosting many different virtualized Solaris versions

Good day, everyone, and thanks first off for reading my question. So, I have been Googling and reading oracle documentation for the past couple weeks, and I am just getting more and more confused as to what I need to do, and I would really appreciate some guidance or at least pointing me to... (4 Replies)
Discussion started by: Lyxix
4 Replies

3. Solaris

grep options in solaris

Hi, I am interested in knowing the grep optiojs availabel in solaris box, to get the grep results in one line from the log files. only the matched values need to be displayed. I need ot find the values in a message where the search values will be in separate lines of the input. like:... (10 Replies)
Discussion started by: sudha143
10 Replies

4. UNIX for Dummies Questions & Answers

Running set options from the command line and bash command

I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing set you can also use them "on the command line when running a script..." and it lists this in a small table: set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies

5. Shell Programming and Scripting

Need to disable options from a command

Hi, I am working on a Linux machine. I need to disable 2 options from the available 6 options of a command. For eg. in the "ls" command we have various options like "l ,r, t, a, .... " From this, I need to disable option "a" So when the users type in "ls -a", they should get an error or... (4 Replies)
Discussion started by: aster007
4 Replies

6. Solaris

Solaris Single Sign on options

We are looking for implementing solaris single sign on with AD in our environment which as few hundred Solaris hosts and couple of hundred solaris zones ..IS there any third party software for the same or we can do it by just making the solaris servers as AD clients ? Any help is appreciated. (1 Reply)
Discussion started by: fugitive
1 Replies

7. Solaris

changing nfs options on Solaris 10

hi I changed nfs options in "/etc/auto_master": /net -hosts rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,ve rs=3,timeo=600,actimeo=0 then I did automount -v svcadm restart svc:/system/filesystem/autofs svcadm restart svc:/network/nfs/server:default When doing... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

8. Shell Programming and Scripting

how to? launch command with string of command line options

my description from another thread... here's my code: #!/bin/bash IFS=$'\n' function OutputName() { input=$1 echo $input input=`echo "$input" | sed -e 's/.//'` input=`echo "$input".avi` output_name=$input } if ]; then echo... (5 Replies)
Discussion started by: TinCanFury
5 Replies

9. UNIX for Advanced & Expert Users

Split Command options

HI! All iam using Split command to split a large .txt file in to smaller files, The syntax iam using split -25000 Product.txt iam getting four output files but not in .txt format but in some other format , when i checked the properties the Type of the output files is Type can any... (7 Replies)
Discussion started by: mohdtausifsh
7 Replies
Login or Register to Ask a Question