Saturday 20 May 2017

How to add a fake dummy null printer in linux machine

Their are several way to configure the printer in linux operating system like Red Hat Linux, CentOS etc. You can configure normal local printer with any of these operating system very easily but if some one asked you to configure the fake dummy null printer with linux system, then its goes tricky.

Here, you can find the step by step simple solution of tricky issue. To configure the null printer in linux not much complex but you have to knowledge about the basic command of how to add a printer.

Before moving the main topic we need to know about the package installation system on linux servers. Generally YUM utility and rpm package manager are used for installation of required package of printer.

You can check my below link , how to configure YUM server on linux operating system.

https://unixforsolutions.blogspot.in/2017/05/how-to-configure-yum-server-in-red-hat_14.html

Once you go with my above link you can get an idea about how yum server is configure. So now we will go to main topic.

➤ Initially you need to install the required packages to configure the null printer. Please refer the below command to install the rpm.

[root@localhost]# yum install system-config-printer*

Cups is also required for printer configuration , so please use the below command to install cups services package.

[root@localhost]# yum install cups*

➤ Once the printer packages are installed then start the cup services on the server. Please use the below command to start the cup service.

[root@localhost]# systemctl start cups

You can check the status of cups services using below command.

[root@localhost]# systemctl status cups
cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since SAT 2017-05-20 14:34:11 IST; 4s ago

➤ Also you need to changed the entry in printer configuration file. "/etc/cups/cupsd.conf is configuration file in linux machine. Open the configuration file and change the parameter FileDevice to yes.

➤ Now, please run the below command to add a printer on the server.

[root@localhost]# lpadmin -p myprinter -E -v file:///dev/null

above command is used for adding a null printer in linux machine, if you want to check the status of printer, then please use the below command.

[root@localhost]# lpstat -s
no system default destination
device for myprinter: ///dev/null

You can find the above output if you are successfully configured the printer. Using this you can check the current device printer status.

Please comment on the post, if you have any query regarding this null printer installation topic.

8 comments:

  1. The world class leading printing product company dell maintains their printing products on point in terms of quality and durability. Now we bring you all new 24×7 assistance which you can contact on our dell tech assistance number +1-855-292-5076 or you can visit us at: https://printercustomerservices.com/dell-printers-technical-assistance/

    ReplyDelete
  2. That is the reason focus on you must specific groundwork well before authoring. Will be possible to more desirable blog post in this manner. Best printer | printers for graphic designers

    ReplyDelete
  3. Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. Electric flat screen printing machine

    ReplyDelete
  4. This blog is really valuable to pass on upgraded enlightening endeavors over web which is genuinely examination. Homeowners insurance

    ReplyDelete
  5. Before you try to understand when she is faking an orgasm you need to understand why she is faking it. There are several reasons why women fake an orgasm and one of the top reasons being she is not truly getting what she desires but is not confident enough to discuss it with you. fake id usa

    ReplyDelete
  6. Information Technology (IT) debt is basically the cost of maintenance needed to bring all applications up to date. Shockingly, global "Information Technology (IT) debt" will reach $500 billion this year and could rise to $1 trillion by 2015! But why should you take IT debt seriously and begin to take steps to eliminate this issue from your business? 2021 fake id

    ReplyDelete
  7. The growth of the internet and social media has made it very easy for fake news stories to proliferate. Whereas some sites are intentional in writing false, but humorous stories, there are some sites that work hard to pass themselves as real and others only see to peddle salacious false tales just to drive traffic and enjoy ad revenue to the sites. 2021 fake id

    ReplyDelete
  8. Mynigo, we have learned about their thirst for learning more. That is why we have created this amazing blogging platform to give you daily updates on gadgets, fashion, and other lifestyle-related topics. Our aim is to draw the attention of a diverse group of voracious readers, who like to increase their knowledge.
    Top 5 Best Printer For Office Use In India 2021
    Top 5 Best Phones Under 15000 In 2021
    Best 4k Smart Tv Under 50000 In India 2021

    ReplyDelete