Any hope to get lp options like the following to work on AIX (6.1)?


 
Thread Tools Search this Thread
Operating Systems AIX Any hope to get lp options like the following to work on AIX (6.1)?
# 1  
Old 03-03-2010
Any hope to get lp options like the following to work on AIX (6.1)?

Greetings Aix gurus,
I have been appointed the task to port my SAS environment on HP-UX to AIX...
I have been able to solve most issues but I am stuck with the following lines (these were easy to find, since in shell scripts but I found out that there are plenty more and encapsulated in SAS code...)
eg
Code:
lp -osimplex -o hsi7 -o vsi6.2 -o lm2 -ocs0N -o tl085 $imp                                    
lp -dlp3 -o hsi8 -o vsi6.2 -o lm2 -o tl085 -ocs0N $imp                                        
lp -dlp8 -o hsi8 -o vsi6.2 -o lm2 -o tl085 -ocs0N $imp                                        
lp -dlp0 -oduplex -ohsi7 -ovsi6.2 -olm2 -otl085 $imp                                          
lp -dlp3 -o hsi7 -o vsi6.2 -o lm2 -o tl085 -onb $imp                                          
lp -dlp8 -o hsi7 -o vsi6.2 -o lm2 -o tl085 -onb $imp                                          
lp -osimplex -olandscape -ohsi8.5 -ovsi5.3 -olm12 -otl072 -ocs0N $imp                         
lp -dlp3 -olandscape -ohsi8.5 -ovsi5.3 -olm12 -otl072 -ocs0N $imp                             
lp -dlp8 -olandscape -ohsi8.5 -ovsi5.3 -olm12 -otl072 -ocs0N $imp                             
lp -osimplex -olandscape -ohsi6 -ovsi5 -olm2 -otl072 -ocs0N $imp                              
lp -dlp3 -olandscape -ohsi6 -ovsi5 -olm2 -otl072 -ocs0N $imp                                  
lp -dlp8 -olandscape -ohsi6 -ovsi5 -olm2 -otl072 -ocs0N $imp                                  
lp -odlp0 -osimplex -olandscape -ohsi11.95 -ovsi5 -olm0 -otl072 -ocs0N $imp                   
lp -dlp3 -olandscape -ohsi11.95 -ovsi5 -olm0 -otl072 -ocs0N $imp                              
lp -dlp8 -olandscape -ohsi11.95 -ovsi5 -olm0 -otl072 -ocs0N $imp                              
lp -dlp0 -oA3 -osimplex -ohsi6.6 -ovsi3.8 -onb $imp                                           
lp -dlp0 -oA3 -osimplex -olandscape -ohsi6.6 -ovsi6 -onb $imp                                 
lp -osimplex -olandscape -ohsi5 -ovsi5 -olm2 -otl072 -ocs0N $imp                              
lp -osimplex -o landscape -o hsi11.95 -o vsi5 -o lm0 -o tl072 $imp                            
lp -dlp0 -oA3 -osimplex -olandscape -ohsi11.95 -ovsi5 -olm0 -otl072 -ocs0N $imp               
lp -osimplex -ohsi7 -ovsi6.2 -olm2 -otl085 -ocs0N /tmp2/imp/$LOGNAME                          
lp -dlp3 -ohsi8 -ovsi6.2 -olm2 -otl085 -ocs0N /tmp2/imp/$LOGNAME                              
lp -dlp8 -ohsi8 -ovsi6.2 -olm2 -otl085 -ocs0N /tmp2/imp/$LOGNAME                              
lp -dlp0 -oduplex -ohsi7 -ovsi6.2 -olm2 -otl085 /tmp2/imp/$LOGNAME                            
lp -dlp3 -o hsi7 -o vsi6.2 -o lm2 -o tl085 /tmp2/imp/$LOGNAME                                 
lp -dlp8 -o hsi7 -o vsi6.2 -o lm2 -o tl085 /tmp2/imp/$LOGNAME                                 
lp -osimplex -olandscape -ohsi8.5 -ovsi5.3 -olm12 -otl072 -ocs0N /tmp2/imp/$LOGNAME           
lp -dlp3 -olandscape -ohsi8.5 -ovsi5.3 -olm12 -otl072 -ocs0N /tmp2/imp/$LOGNAME               
lp -dlp8 -olandscape -ohsi8.5 -ovsi5.3 -olm12 -otl072 -ocs0N /tmp2/imp/$LOGNAME               
lp -osimplex -olandscape -ohsi6 -ovsi5 -olm2 -otl072 -ocs0N /tmp2/imp/$LOGNAME g              
lp -dlp3 -olandscape -ohsi6 -ovsi5 -olm2 -otl072 -ocs0N /tmp2/imp/$LOGNAME g                  
lp -dlp8 -olandscape -ohsi6 -ovsi5 -olm2 -otl072 -ocs0N /tmp2/imp/$LOGNAME g                  
lp -osimplex -olandscape -ohsi11.95 -ovsi5 -olm1 -otl072 -ocs0N /tmp2/imp/$LOGNAME            
lp -dlp3 -olandscape -ohsi11.95 -ovsi5 -olm1 -otl072 -ocs0N /tmp2/imp/$LOGNAME                
lp -dlp8 -olandscape -ohsi11.95 -ovsi5 -olm1 -otl072 -ocs0N /tmp2/imp/$LOGNAME                
lp -dlp0 -oA3 -osimplex -olandscape -ohsi11.95 -ovsi5 -olm0 -otl072 -ocs0N

I am a bit desperate, I am working on the possibility to convert in cups format but it is truly nightmare (for someone who never used cups before) to find a good approaching equivalence...

Is there any hope?
What is the point of have HP Jetdirect drivers on AIX if it doesnt support the options?
# 2  
Old 03-04-2010
You can probably find a way to handle these options changing the local queue backend "/usr/lpd/rembak", which is a shell script itself and therefore easy to change.

See rembak program for further information on this.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find command does not work on AIX 6.1

I have AiX system version 6.1 I wish the below find command to work on AiX system ksh shell and give similar output as this works fine on RedHat Linux centos 7. find /app/logs/fname1.out -printf "%M %u %TY-%Tm-%Td %TH:%TM %h/%f $(cksum<fname1.out | cut -d' ' -f1)\n" Output: -rw-r--r--... (7 Replies)
Discussion started by: mohtashims
7 Replies

2. UNIX for Beginners Questions & Answers

Options for AIX server backups

Hello, I'm new to this forum. Forgive a question that may have been asked, but I would like to get advice on options for backups of an AIX server. The AIX server in question has about 2TB of storage, with 3 Oracle databases configured on it We're currently using tar backups to tape, LTO... (1 Reply)
Discussion started by: terrya
1 Replies

3. AIX

Bash does not work on AIX 7.2

We have a new LPAR with AIX 7.2. We want to work with bash, so installed bash from Perzl (bash_64-4.4.5.aix5.1.ppc.rpm). But after install bash does not work. If I call "bash", nothing happens. The xterm, where I started bash, is totally dead. I tried the bash from aixtools.net, too. Same... (4 Replies)
Discussion started by: BuSchu
4 Replies

4. AIX

AIX available cifs mount options

Hi, I can't find any documentation of all available mount options of mount -v cifs Unfortunately you can specify any fantasy options, no complains, and the mount command shows this option In particular I want to know if there is a possibility to completely disable cifs caching in aix,... (3 Replies)
Discussion started by: funksen
3 Replies

5. AIX

How to X-window to work on AIX 5.3?

Hey all. My h50 is up, but now i need some guidance. How to i get X11 (X-Windows0 working on the system, so i can use the H50 via my main pc? is that makes sense. The X11 system is installed, but i am lost as how to get it working Can anyone please help? (2 Replies)
Discussion started by: ADS2459
2 Replies

6. UNIX for Dummies Questions & Answers

List of 'if -f' options - AIX / Korn Shell

Hi all, Can someone point me in the right direction for a manual on the various statement options for 'if'. Basically I have a piece of code which says: if ] and I wondered what the -f was. I know the '!' means not equal.. As usual any help much appreciated.. (5 Replies)
Discussion started by: Grueben
5 Replies

7. Advertise with Us

Looking for AIX work in Vancouver

Hi I am an <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 9"><meta name="Originator" content="Microsoft Word 9"><link rel="File-List"... (0 Replies)
Discussion started by: kimyo
0 Replies

8. AIX

Can Valgrind work well on AIX?

As Valgrind announced, 3.3.0 and 3.3.1 version can support AIX 5.3. But I met a block issue when I used Valgrind on AIX After installing Valgrind3.3.1 successfully on AIX5.3, I typed the following command of Valgrind: valgrind -d --tool=memcheck ls Then, the following result from Valgrind is... (0 Replies)
Discussion started by: adasong
0 Replies

9. Shell Programming and Scripting

find options don't work in script

Hi, I'm trying to write a bash script to find some files. However it seems that the find command is not behaving the same way when the script is executed as it does when executed from the command line: Script extract: #!/bin/bash ... NEW="/usr/bin/find current/applications/ -name '*jar'... (3 Replies)
Discussion started by: mattd
3 Replies

10. Shell Programming and Scripting

Mount options - AIX

I'm trying to write a script to verify that file systems mounted properly after a reboot or a script that any system admin can run to verify that all file systems are mounted properly. With HP-UX, I can run a mount -aQ and it will mount file systems not already mounted and report back any... (1 Reply)
Discussion started by: DRPearce
1 Replies
Login or Register to Ask a Question