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

LOD Communications, Inc.

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


ad

Views for this page
Today This Week This Month This Year  Overall
1133469 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.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282


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


http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling









Change Congress

Related Posts