HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: PRINTER PROBLEM
 
Operating System - HP-UX
        1840180
        Members
    
    
        3472
        Online
    
    
        110162
        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
 
05-05-2008 11:45 PM
05-05-2008 11:45 PM
			
				
					
						
							PRINTER PROBLEM
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi All,
I have a printer attached to a server which is used at a remote location.
Some times the user complaints that the printer is giving junk printing and ask to flush the print queue.
When I run lpstat it gives me status that the printer is running but don't show which requests are in queue.
now please suggest how to see the number of prints in that queue, how to find the request id for each and how to cancel that particular job.
Regards:
Arun Jain 
					
				
			
			
				
		
		
	
	
	
I have a printer attached to a server which is used at a remote location.
Some times the user complaints that the printer is giving junk printing and ask to flush the print queue.
When I run lpstat
now please suggest how to see the number of prints in that queue, how to find the request id for each and how to cancel that particular job.
Regards:
Arun Jain
	speak less say more
			
			
				
			
			
			
			
			
			
		
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-05-2008 11:59 PM
05-05-2008 11:59 PM
			
				
					
						
							Re: PRINTER PROBLEM
						
					
					
				
			
		
	
			
	
	
	
	
	
Arun,
You can use the lpstat -o
# lp -dssolj4_1 /etc/profile
request id is ssolj4_1-2 (1 file)
# lpstat -o
ssolj4_1-2 root priority 0 May 6 15:34 on ssolj4_1
profile 2974 bytes
# cancel ssolj4_1-2
request "ssolj4_1-2" cancelled
#
Hope this help
WK
don't forget to assign points
	Problem never ends, you must know how to fix it
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-06-2008 01:51 AM
05-06-2008 01:51 AM
			
				
					
						
							Re: PRINTER PROBLEM
						
					
					
				
			
		
	
			
	
	
	
	
	
Dear Arun
see man page of lpstat command
thanks and regards
Sajjad
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