HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to list current printer model script for each ...
Operating System - HP-UX
        1839837
        Members
    
    
        2188
        Online
    
    
        110156
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2009 10:07 AM
06-12-2009 10:07 AM
			
				
					
						
							How to list current printer model script for each printer
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hello,
I have 50 printers attached HP_UX 11.11 server using HPPI.
I can find each printer model script one by one using HPPI but is there any easy way I can see each printer's model scripts.
So I can use same model script to assgine this printer to new UNIX box.
Thank you in advance,
Jeongbae
		
		
	
	
	
I have 50 printers attached HP_UX 11.11 server using HPPI.
I can find each printer model script one by one using HPPI but is there any easy way I can see each printer's model scripts.
So I can use same model script to assgine this printer to new UNIX box.
Thank you in advance,
Jeongbae
		1 REPLY 1
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2009 03:13 PM
06-13-2009 03:13 PM
			
				
					
						
							Re: How to list current printer model script for each printer
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						For all hppi printers, you can use this technique:
 
what /etc/lp/interface/model.orig/*
 
This shows the 'what string', a classic version/title string found in scripts and compiled programs. There is no guarantee every possible script will have a what string but a quick check of /opt/hpnpl/sh shows all of them do have the string:
 
what /opt/hpnpl/sh/*
 
Note that a particular printer's model script may have been modified for a special purpose. Good sysadmin technique would dictate that a modified script is copied to the /opt/hpnpl/sh directory with a new name *and* a modified what string. The what string starts like this:
 
#@(#) $Header: ...
 
If you haven't found this command: addqueue, this is the easiest way to add a lot of hppi printers.
	
Bill Hassell, sysadmin
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
what /etc/lp/interface/model.orig/*
This shows the 'what string', a classic version/title string found in scripts and compiled programs. There is no guarantee every possible script will have a what string but a quick check of /opt/hpnpl/sh shows all of them do have the string:
what /opt/hpnpl/sh/*
Note that a particular printer's model script may have been modified for a special purpose. Good sysadmin technique would dictate that a modified script is copied to the /opt/hpnpl/sh directory with a new name *and* a modified what string. The what string starts like this:
#@(#) $Header: ...
If you haven't found this command: addqueue, this is the easiest way to add a lot of hppi printers.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
