home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13098 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!usc!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!ekhadafi.austin.ibm.com!curt
  3. From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
  4. Subject: Re: Print queue control characters
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <C0HtHD.16rK@austin.ibm.com>
  7. Date: Thu, 7 Jan 1993 16:51:13 GMT
  8. References: <1993Jan6.220415.1@stc10.ctd.ornl.gov>
  9. Organization: IBM AWD, Austin
  10. Lines: 27
  11.  
  12. In article <1993Jan6.220415.1@stc10.ctd.ornl.gov> jgc@stc10.ctd.ornl.gov (Jack Craven) writes:
  13. >How do you setup several print queues for a single printer with each
  14. >queue inserting control characters in front of each print request
  15. >to switch the printer into the desired mode of operation? Is it
  16. >documenated anywhere?
  17. >
  18. >jgc@stc10.ctd.ornl.gov
  19.  
  20.  
  21. Say 'hi' to Phil Jardine for me, (who works with you.)
  22.  
  23. You can write your own queueing backend, see "How to Write Your Own
  24. Queueing System Backend" in Info.
  25.  
  26. In /etc/qconfig, each stanza has a 'backend=' line.  You can make this
  27. backend be an executable shell script or C program of your choice which
  28. does anything you wish to the input program, (whose name is the 1st arg
  29. on the command line,) and writes it to device, (which is on FD3,) or
  30. execs the standard backend 'piobe' from there.
  31.  
  32. There's nothing wrong with having several different queues point to one
  33. device.
  34.  
  35. -- 
  36. curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
  37. My views are unrelated to my employer's    |        Austin, TX
  38.  - Begin means testing of Social Security, Medicare and Farm Subsidies now. -
  39.