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

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


Views for this page
Today This Week This Month This Year  Overall
11051544 1,583

/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://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


http://www.loch-raven.com/ Over 18 years of experience Unix and Linux servers. Linux and Unix consulting, system administration, remote administration, custom scripting, web desing and hosting.


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









Change Congress


Related Posts