Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

directomatic(1) [redhat man page]

DIRECTOMATIC(1) 					      General Commands Manual						   DIRECTOMATIC(1)

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 FILES
/etc/foomatic/direct/<queue> The foomatic printer definition file. EXIT STATUS
directomatic returns 0 unless something unexpected happens. AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary. BUGS
None so far. Foomatic Project 2001-05-07 DIRECTOMATIC(1)

Check Out this Related Man Page

FOOMATIC-PPDFILE(1)					      General Commands Manual					       FOOMATIC-PPDFILE(1)

NAME
foomatic-ppdfile - Generate a PPD file for a given printer/driver combo SYNOPSIS
foomatic-ppdfile [-w] [-d <driver>] -p <printerid> foomatic-ppdfile [-A] [-P pattern] foomatic-ppdfile -h DESCRIPTION
The first form of the foomatic-ppdfile to compute the spooler-independent Foomatic PPD file for any valid printer/driver combo available in the Foomatic database, both for printing with foomatic-rip(1) and for applications/clients being able to access the printer's options. The PPD file is returned on standard ouput. If the driver is not specified, the default driver is used. The second form of the foomatic-ppdfile program will search the printer database and return either all printer entries or those whose name and/or model information match a regular expression. The last form prints a help message and exits. Options -d drivername The (optional) driver name to use. If the driver name is not supplied, the default or first driver in the printers compatible driver list is used. -p printer id The printer id. -w Return a PPD file that conforms to the Microsoft Windows format limitations. -A Return all printer entries in the database. -Ppattern Return all printer entries in the database which match the regular expression. SEE ALSO foomatic-rip(1) EXIT STATUS
foomatic-ppdfile returns 0 on success, 1 otherwise. AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary. Modified and updated by Patrick Powell <papowell at astart.com>. BUGS
None so far. Please post bug reports on http://lists.freestandards.org/mailman/listinfo/printing-foomatic Foomatic Project 2001-05-07 FOOMATIC-PPDFILE(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sending control sequence to printer before job

I am having difficulty sending a control sequence ESC&l5H (print to middle tray) to a HP printer (lp4).It is ignoring the command. I am using the following syntax in an executable file : echo "'/033'&l5H" > /dev/lp4 lp -dlp4 filename a) Is /033 'escape' ? b) What is the correct syntax ? (5 Replies)
Discussion started by: ianc
5 Replies

2. UNIX for Dummies Questions & Answers

Print Queues

I have a print queue set up with the following options: remote, standard processing, Hostname=(A Windows 2000 Server), bsd print spooler. It takes about 1 minute to transfer a 100 kb file and it times out (downs the queue) on larger files. When tested on a different system at a different location... (2 Replies)
Discussion started by: Scottb7711
2 Replies

3. UNIX for Dummies Questions & Answers

help.. I am in way over my head !!!!

my boss has done it again I have been sent to fix a unix issue and I ma hoping you can help three issues 1st. I have a printer that when you try to print to it the print job comes out on a diffrent printer. If I take the printer ( dot matrix thourgh a serail connection) to a diffrent local the... (3 Replies)
Discussion started by: oberon42
3 Replies

4. AIX

Hp Laserjet 4600 jetdirct card printr drivers

Iam facing dificulty in installing hp color laserjet 4600 printer in IBM-AIX 5.1. Where i can find a drivers for this printer ,Or pls suggest me another way to get it install this printer Thanx Ravi (2 Replies)
Discussion started by: ravikantchavan
2 Replies

5. UNIX for Advanced & Expert Users

Formfeed after each file

Have a line printer that uses the script /etc/lp/interfaces/citoh script when processing print jobs. I've developed the header so that it will print a page break before the start of each page. When you print single files, this works fine. But, if you print multiple files (e.g. lp -d citoh... (8 Replies)
Discussion started by: jgordon
8 Replies

6. UNIX for Dummies Questions & Answers

lpd printing and a IP based printer on SCO

I am attempting to setup an IP based printer in a SCO environment. It is a cognitive printer. I attempted to add it via the HP interface but I could not get anything sent from the spooler to the printer in SCO? My questions is or are should this be setup as a local or remote printer? When I... (6 Replies)
Discussion started by: spglass
6 Replies

7. UNIX for Dummies Questions & Answers

Printing problems

I am not able to print plain text in a correct manner. When I issue the command "lp -ddestination_printer myfile.txt" the printer prints a page with the following contents: Feb 24 11:26 2005 myfile.txt Page 1 ## Configured using SAM by root on Tue The line beginning... (3 Replies)
Discussion started by: ascanestro
3 Replies

8. UNIX for Dummies Questions & Answers

direct output to a file then email it

Ok so i have this script and I dont know how to have the output go to a file and then email that file to someone. #!/bin/ksh print "AL" print "AM" print "AN" print "RL\n" nawk '/PROD/ {print $3, $2}' /home/user/switch_listtest | sort -k1,2 print "End of Report" Thank you in... (2 Replies)
Discussion started by: llsmr777
2 Replies

9. SCO

steps to add printer

hi, i want help plz i connect my xerox printer under sco os , someone can tell me by steps how i can add it ? what i need to do that ? (2 Replies)
Discussion started by: lid-j-one
2 Replies

10. UNIX for Dummies Questions & Answers

Question about spooler

I use software in Unix, I am trying to edit the file before final printing. Because the software only let me enter the data into, then print out, during printing, unix will save file buffer in some where to be ready print, if now I cancel the printing job, the file's buffer should be in spool, and... (3 Replies)
Discussion started by: wendyz
3 Replies

11. AIX

lsvirprt

Hello Thanks in advance for your time. I am using lsvitprt in interactive mode to attempt to modify a virtual printer file for a queue to add a definition for a size 13 font. After selecting the proper print queue, I am taken to the screen to edit the file. After selectinr ~v to edit,... (2 Replies)
Discussion started by: mhenryj
2 Replies

12. Shell Programming and Scripting

print formatted text to the printer

Hello!!! I am using shell script that print some formated text on the screen (example) ======== hello I am ... ======== Is it possible to print this information to the printer exactly as I see it on the screen??? (6 Replies)
Discussion started by: tdev457
6 Replies

13. AIX

Print queue problems

I am using AIX 5. Just swapped over an HP printer. The old printer was on a JetDirect box. The new printer connects directly to the network. Using the same IP address to print to, so the only alteration I made was to edit the etc/qconfig file to alter the port setting from 9103 to 9100. I can... (2 Replies)
Discussion started by: charding
2 Replies

14. UNIX for Dummies Questions & Answers

Setting Printer margins

Hi, I have Aix 6.1. Installed the Ricoh Unix print filter, to allow us to print to a Ricoh 5001. So I send text documents to the printer using the qprt command and set the print job finishing options using the Ricoh commands passed using -o options. Eg. qprt -Pfin200 -o collate=on -o text... (7 Replies)
Discussion started by: max5000
7 Replies

15. UNIX for Beginners Questions & Answers

Read line and print output

need help to print the below .. Content of file looks like below .. SCHEMA1. TABLE1 SCHEMA2. TABLE2 SCHEMA3. TABLE3 read lines from above file and print o/p as below print output like read 1st line and print SELECT SCHEMA1.TABLE1 print output like read 2st line and print ... (4 Replies)
Discussion started by: rocking77
4 Replies