printing to a device


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: Tom Parsons <cis@tegan.com>
Subject: Re: Problem with Network Printers and Realworld 9.0 spooled printers
Date: Wed, 9 May 2001 15:11:04 GMT References: <3AF9127C.5F880AEF@aplawrence.com> <Pine.SC5.4.30.0105090823220.2406-100000@xenau>


Hate these ads?



Boyd Lynn Gerber enscribed:
| On Wed, 9 May 2001, Tony Lawrence wrote:
| > Boyd Lynn Gerber wrote:
| > > 3.  Realworld will not let the print job go to the printer till you exit
| > > with a yes or no to the question.  Have all the checks printed correctly?
| > > I do not know if they have printed correctly or not?
| >
| > For these things, Realworl wants to print to a device, not a
| > spooler.  Use the named pipe method described at
| > /SCOFAQ/scotec7.html#netdevice

| Thanks, I should have mentioned I had tried that first.  That method adds
| a problem 5 of random missing checks.  When I used the named pipe every
| printing will be missing some checks.  Never the same ones.  If I print 30
| checks 1-5 will be missing.  I do not get parts being printed with the
| rest missing, but the entire check missing.  Where with the spooler I can
| not get it to miss every time just once in a great while..



I use Kevin Smith's script and it works flawlessly.  I've one location 
that puts thousands of sequential print jobs through it every day.














 > #!/bin/sh
 > DEV=/dev/pseudo-printer-name-which-you-created-with-mknod-p
 > 
 > while :
 > do
 >     # exec will hang till someone opens DEV for writing
 >     exec <$DEV
 >     lp -dprinter-spool-name
 >     -or-
 >     hpnpf ...whateverittakestoprintfromstdin...
 > done
 > --
 > Do two rights make | Kevin Smith, ShadeTree Software, Philadelphia, PA, USA
 > a libertarian      | 001-215-487-3811  shady.com,kevin   bbs.cpcn.com,sysop
 >                    | dvtug.org,kevins--Deleware Valley Transit Users Group



--tom 
==========================================================================
 Tom Parsons            tom@tegan.com          
==========================================================================    








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

cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.


Views for this page
Today This Week This Month This Year  Overall
1210123 894

/Bofcusm/1148.html copyright 1997-2004 (various authors) 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:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


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


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.



Twitter
  • Nov 18 20:41
    I'll be out all day Wednesday the 19th, hard to reach even by phone. Leave a message and have patience.
  • Nov 18 10:07
    What am I doing? Not doing what I WANT to be doing! Oh, well, in every life a little work must fall..









Change Congress


Related Posts