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
LPDOMATIC(8) System Manager's Manual LPDOMATIC(8)NAME
lpdomatic - Foomatic filter script for LPD, LPRng, and GNUlpr
SYNOPSIS
lpdomatic [OPTION]... <PPD-filename>
DESCRIPTION
The lpdomatic print filter serves as an input filter for the lp family of print spoolers. The print spooler will use it if there is an
entry if=/usr/sbin/lpdomatic in the appropriate printer section in /etc/printcap. You can generate such an entry using foomatic-configure.
A listing of the attached printer drivers options is printed, when the option docs is passed to this filter. This can be achieved by issu-
ing one of the following commands:
for LPRng use
echo | lpr -Z docs
for other spoolers
echo | lpr -J docs
Options
-j option (all but LPRng) Pass option to the printer driver. May also be read from the environment.
-J jobtitle
(LPRng only) Set the job title to jobtitle. This may be used to set a title header when printing plain text.
-Z option (LPRng only) Pass option to the printer driver.
SEE ALSO printcap(5), foomatic-configure(1)FILES
/etc/printcap
EXIT STATUS
lpdomatic 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 known. If you find one please report to <foomatic-devel@linuxprinting.org>
Foomatic Project 2001-05-07 LPDOMATIC(8)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)