Linux Accept Example - Linux

How to use accept command in linux?

Snippet Code


  
Rate this page :
  [ 0 votes]

The accept command which allows you to extract the print requests for the named destination. The destination can be printer or class of printer. Here, a printer named HUAWEIMobile-Pcui attached to your PC running Linux/Unix system. The steps to print a document is given below.

To enable printer: $ enable HUAWEIMobile-Pcui To check the status of printer, run lpstat command: $lpstat -a -p HUAWEIMobile-Pcui The output shown will be as follows: HUAWEIMobile-Pcui not accepting requests since Oct 01 00:00 printer HUAWEIMobile-Pcui is idle. enabled since Oct 01 00:00 Use accept command to have the printer accept requests: $accept HUAWEIMobile-Pcui

Tags


Ask Questions

Ask Question