Lpg
			
			
			
			
			This page is from Microsoft
			Updated: January 21, 2005
			
				Displays the status of a print queue on a computer running Line 
				Printer Daemon (LPD). Used without parameters, lpq 
				displays command-line help for the lpq command.
			
				 
			
				 
			Syntax
			
				lpq-SServerName-PPrinterName [-l]
			Parameters
			
				
					
						
							-SServerName
						
							Required. Specifies, by name, the computer that 
							hosts the print queue whose status you want to 
							display.
					 
					
						
							-PPrinterName
						
							Required. Specifies, by name, the printer for the 
							print queue whose status you want to display.
					 
					
						
							-l
						
							Specifies that you want to display details about the 
							status of the print queue.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			Formatting legend
			
				
					
					
						| Italic | Information that the user must supply | 
					
						| Bold | Elements that the user must type exactly as shown | 
					
						| Ellipsis (...) | Parameter that can be repeated several times in a 
						command line | 
					
						| Between brackets ([]) | Optional items | 
					
						| Between braces ({}); choices separated by pipe (|). 
						Example: {even|odd} | Set of choices from which the user must choose only 
						one | 
					
						| Courier font | Code or program output | 
				
			 
			
			
			
 |  |