feedburner
Enter your email address:

Delivered by FeedBurner

feedburner count

Author Speech

Solaris Interview Questions and Answers http://solarisinterview.blogspot.com is created by Naveen Kumar and Vivaan Kumar working as Unix Admins.The motive of the site is to help Freshers and Experience people in Solaris Administration to understand the different Interview held in many MNC and easy way to clear interviewer.This site also help users to clear the certification process of Solaris by reading the Database on different topics.

Do read the solaris Important section in the right side of the website to clear any interview asked in any logical way.

This site also contain Video's for live industrial experience.
Custom Search

Configuring Printer and commands

http://solarisinterview.blogspot.com/ Solaris interview questions and Answers

Configuring Printer Services

/etc/lp -- Directory contains a hierarchy of LP server configuration directories and files
/var/spool/lp -- Directory contains a list of current requests that are in the print queue.
/var/lp.logs -- On going history of print requests
/var/lp/logs/requests -- Completed print request job
$HOME/.printers file to set default printer (_default printername)
/etc/printers.conf -- Contains entry for printers

# lpadmin –p printerB –c -- Creating and adding printer class
# lpadmin –p printerD –c bldg2 -- Adding printerD to bldg2 class
# accept -- To queuing print request
# lpstat –t -- To check the status of the new printer class
# lp –d myfile -- To print myfile to printer class

# lpadmin –d printername (or) printer_classname -- To set it as default
# lpstat –d -- To check the system’s default printer
# lpadmin –d bldg2 -- To change the default printer
# lpadmin –x printername -- To remove a client’s printer configuration

# /usr/sadm/admin/bin/printmgr & -- Print Manager

Removing a Server’s Printer Configuration

# reject printerD -- Stop queuing print requests
# disable printerD -- Stop the printer
# lpadmin –x printerD -- Delete the printer config from the /etc/lp/printers and
/etc/printers.conf

# /usr/lib/lpsched -- Print services started
# /etc/init.d/lp start -- Starting by script
# /usr/lib/lpshut -- Stop print services
# /etc/init.d/lp stop -- Stopping by script



Using Print Commands


# /usr/bin/lp filename -- Print to default printer
# /usr/bin/lp –d printername filename
# /usr/ucb/lpr filename
# /usr/ucb/lpr –p printername filename

LP Print Service Administration Command

# /usr/sbin/accept printerD -- Permits print requests to be queued
# /usr/sbin/reject –r “Replacing cartridge” printerD -- Stop queuing print requests
# /usr/bin/enable printerD -- Activates the specified printers
# /usr/bin/disable -- Deactivates the specified printers
# lpmove printerC printerA -- Moves print requests from one printerC to printerA
# lpstat –o -- Viewing print queue
# lpstat –a printerA -- To check whether it accepting print jobs
# lpmove printerC –32 printerC –33 printerA -- Moving individual print requests



1 comments:
gravatar
Manoj Sharma said...
August 3, 2009 10:24 PM  

My lexmark 75 is not printing the color at all. the cartridge is new and the tape has been removed and it is installed properly.
black prints fine......any ideas?
Printer Cartridges | Inkjet Cartridges

Post a Comment