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.

OSR5 FAQ

How can I add a formfeed or other control to jobs sent to a Visionfs printer?

Visionfs can create local printers that pass data to shared windows printers, but it's not easy to modify the interface they use.


Hate these ads?

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




Comments /SCOFAQ/FAQ_scotec2cvisprint.html


Add your comments

ad

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


LOD Communications, Inc.

Views for this page
Today This Week This Month This Year  Overall
31345481 1,520

/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.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....









Change Congress

Related Posts