654 Part V (Java web server) . Running Servers The root
654 Part V . Running Servers The root user can remove all the print jobs for a specific user by indicating that user on the lprm command line. For example, to remove all print jobs for the user named mike, the root user would type the following: $ lprm mike To remove an individual print job from the queue, indicate its job number on the lprm command line. To find the job number, type the lpq command. Here s what the output of that command may look like: $ lpq printer is ready and printing Rank Owner Job Files Total Size Time active root 133 /home/jake/pr1 467 2 root 197 /home/jake/mydoc 23948 The output shows two printable jobs waiting in the queue. (The printer is ready and printing the job listed as active.) Under the Job column, you can see the job number associated with each document. To remove the first print job, type the following: # lprm 133 Configuring Print Servers You ve configured a printer so that you and the other users on your computer can print to it. Now you want to share that printer with other people in your home, school, or office. Basically, that means configuring the printer as a print server. The printers that are configured on your Linux system can be shared in different ways with other computers on your network. Not only can your computer act as a Linux print server (by configuring CUPS), it can also look to client computers such as an SMB print server. After a local printer is attached to your Linux system and your computer is connected to your local network, you can use the procedures in this section to share it with client computers using a Linux (UNIX) or SMB interface. Configuring a Shared CUPS Printer Making the local printer added to your Linux computer available to other computers on your network is fairly easy. If a TCP/IP network connection exists between the computers sharing the printer, you simply grant permission to all hosts, individual hosts, or users from remote hosts to access your computer s printing service. To manually configure a printer entry in the /etc/cups/cupsd.conf file to accept print jobs from all other computers, add an Allow from All line. Using an example from a cupsd.conf entry earlier in this chapter, here s what the new entry would look like:
From our experience, we are can tell you that you can find a reliable and cheap webhost service at Java Web Hosting services.