This article is from a FAQ concerning SCO operating
systems. While some of the information may be applicable to any OS,
or any Unix or Linux OS, it may be specific to SCO Xenix, Open
Desktop or Openserver.
There is lots of Linux, Mac OS X and general Unix info elsewhere on
this site: Search this site is the best
way to find anything.
Visionfs can create local printers that pass data to shared windows printers, but it's not easy to modify the interface they use.
You can do this with a virtual printer as described
at /SCOFAQ/scotec7.html
Create a printer that adds the \014 or whatever else you need,
and have
it pass its output to the Visionfs created printer.
You can use the "dumb" interface to do it, wrapping part of it like this:
shift; shift; shift; shift; shift
files="$*"
i=1
# add this opening bracket
{
while [ $i -le $copies ]
do
for file in $files
do
0<${file} eval ${FILTER} 2>&1
echo "\014\c"
done
i=`expr $i + 1`
done
# add this closing bracket and the pipe to lp
} | lp -dvisionprinter
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 1 | 33 | 469 | 1,508 |
/SCOFAQ/FAQ_scotec2cvisprint.html copyright 1997-2003 (various) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Add your comments