1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: directomatic
Command Library

NAME

directomatic - Print without spooler  

SYNOPSIS

directomatic -P <printdef> [-J jobtitle] [-o option=value [...]] [file]

 

DESCRIPTION

Directomatic is a filter script to print with free software printer drivers without the need of a print spooler. It is designed to be used together with a Foomatic printer definition file.

 

Options

-P <printdef>
where printdef is the printer definition file to use.
-J <jobtitle>
where job title will be printed in the head line of every page of a plain text job.
-o option=value
Set an arbitrary option.
file
The file to print.

 

Commands

Directomatic will print from standard input unless a file to print is specified on the command line. If your printer definition file is in /etc/foomatic/direct or ~/.foomatic/direct you do not need to specify its path. Put a (instructions in the file) to redirect the output of directomatic to your printer instead of standard output. To make normal users able to print this way add them to group lp and make sure the appropriate printer device file /dev/lpX is group-writable.

See http://www.linuxprinting.org/direct-doc.html

 


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.