Tuesday, 21 September 2010

Printing tips in Linux


  • lpr sends print jobs to specified queue

  • Usually queue is a directory /var/spool/cups

  • CUPS daemon monitors queues and connections from network

  • Old printer daemon is LPD

  • CUPS sends print queues to printers

  • Ghost script translates from Postscript to specific printer language

  • Ghost sript is injected into the print queue via smartfilter

  • CUPS has it's own collection of smartfilters

  • CUPS is available via http://localhost:631

  • U can print some pages on one sheet using mpage command

  • lpq command is used to display print queues

  • lprm command is used to delete jobs from print queue

  • lpc command and CUPS web panel are used to manage print queues

  • Enable, disable queue: cupsenable, cupsdisable

  • lpmove command moves jobs from one queue to another

Ping does not work

Today I would like to discuss a banal situation: host A is directly connected to host B, ping from host A to host B does not work. What are...