!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/share/doc/system-config-printer-0.6.131.3/   drwxr-xr-x
Free 3.79 GB of 27.03 GB (14.02%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     printconf-cmd-line.html (6.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Command Line

Chapter 12. Command Line

12.1. Command Line Configuration

If you do not have X installed and you do not want to use the text-based version, you can add a printer via the command line. This method is useful if you want to add a printer from a script or in the %post section of a kickstart installation.

12.1.1. Adding a Local Printer

To add a printer:

system-config-printer-tui --Xadd-local options

Options:

--device=node

(Required) The device node to use. For example, /dev/lp0.

--make=make

(Required) The IEEE 1284 MANUFACTURER string or the printer manufacturer's name as in the foomatic database if the manufacturer string is not available.

--model=model

(Required) The IEEE 1284 MODEL string or the printer model listed in the foomatic database if the model string is not available.

--name=name

(Optional) The name to be given to the new queue. If one is not given, a name based on the device node (such as "lp0") will be used.

--as-default

(Optional) Set this as the default queue.

After adding the printer, use the following command to start/restart the printer daemon:

service cups restart

12.1.2. Removing a Local Printer

A printer queue can also be removed via the command line.

As root, to remove a printer queue:

system-config-printer-tui --Xremove-local options

Options:

--device=node

(Required) The device node used such as /dev/lp0.

--make=make

(Required) The IEEE 1284 MANUFACTURER string, or (if none is available) the printer manufacturer's name as in the foomatic database.

--model=model

(Required) The IEEE 1284 MODEL string, or (if none is available) the printer model as listed in the foomatic database.

After removing the printer from the Printer Configuration Tool configuration, restart the printer daemon for the changes to take effect:

service cups restart

If all printers have been removed, and you do not want to run the printer daemon anymore, execute the following command:

service cups stop

12.1.3. Setting the Default Printer

To set the default printer, use the following command, and specify the queuename:

system-config-printer-tui --Xdefault --queue=queuename

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0029 ]--