|
Rich, You could create a program to monitor a data queue. Create an output queue using this data queue. Write your program to copy the spool file in the data queue to a data file. Then read the data file into your program and pump it out to the printer using your RPG program code. It's not very elegant but it'll get the job done. The Printer Device Programming manual on the IBM web site (http://publib.boulder.ibm.com/iseries/) describes the format of the entries placed on the data queue. Paul -- Paul Morgan Senior Programmer Analyst - Retail J. Jill Group 100 Birch Pond Drive, PO Box 2009 Tilton, NH 03276-2009 Phone: (603) 266-2117 Fax: (603) 266-2333 "Rich Duzenbury" wrote > Hi midrangers, > > I'm in a situation where I would like to support a printer that is > unsupported natively by the iSeries. > > I've got the technical specs for the printer, and I've written RPG code > in the past to drive the printer, but I want this printer to be able to > accept any *SCS spooled file on the system, not just spools especially > written for this printer. > > Can I write my own printer driver? > > Any particularly good resources for getting started? > > Thanks. > -- > Regards, > Rich
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.