![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File filter | Dastard | Shell Programming and Scripting | 3 | 09-06-2007 10:50 AM |
| Filter using awk | arun_st | UNIX for Dummies Questions & Answers | 3 | 03-21-2007 04:20 AM |
| How do you send printer codes to an IP printer | jeffbugfree | IP Networking | 2 | 10-20-2005 03:15 PM |
| sexist filter | Quintab | UNIX for Dummies Questions & Answers | 5 | 01-02-2005 03:52 PM |
| know I do for to printer in printer deskjet 80colun | edvaldo | Linux | 1 | 07-13-2004 01:20 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
AIX printer filter
I am trying to setup remote printer queues on a AIX 5.2 system that sends all print requests through a filter by default.
The application that is running on the LPar is coded to call the lp command to produce a print. Ideally I would like a single queue per remote printer to pass the data through a filter (C Program) by the application just calling the lp command. I have found ways of doing this via 2 print queue's and using _f and the qprt command in a backend, but I need to include this all into 1 remote printer queue and the lp command. Any idea's? |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
|
|
|||
|
yes. you are right. I did this for some barcode printrs. It had run. But I added a new printer and checked and I saw that you can see only the local and file type printers. But If you have a printer that already added. You may not use smit ,you can use this command . I hope this will change printer attributes. ;
/usr/lib/lpd/pio/etc/piochpq -p quename -d devicename -a f1='......' -a ft='.....' -a f2='.....' f1 is the fisrt user defined filter, f2 second, f3...,f4... ft is the troff (smilar to sed etc.) filter fp is pastrough filter ff is fortran filter. with -a you can use more than one filter , but if it runs one will be enough I you will use your see program you may use this one -a f1='PATH/prg' we used troff filter . our application was sending just a normal file to printer and this filter was manuplating it. and adding someting tothe file before sending. Last edited by fazliturk; 08-29-2007 at 01:26 AM. |
|
|||
|
if you want to use smit ;
select programing tools->select printer attr.database (the first line) find printer there>enter enter ~v a colon formatted file will be shown which belons to that printer.you can do every thing there. find f1 with /f1 just add /PATH/prg at the END of the line. save >wq |
|||
| Google The UNIX and Linux Forums |