This is a discussion on How to implement OutputFilter when printing to a network printer, SCO 5.0.6? within the Sco Unix forums, part of the Unix Operating Systems category; --> I want to send a FormFeed after every output to a printer connected to a Netgear PS110 printserver. I ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I want to send a FormFeed after every output to a printer connected to a Netgear PS110 printserver. I have implemented the filter mentioned in TA 112842 found in SCO Knowledge database. I have tried it exactly as in the TA and also a variant where the exec starts the filter with $1 appended and the script read $1 instead of standard input. If I use the filter manually like in 'addcrff file1 | lp -d printer1' a FormFeed is appended to the output and it looks nice but if I then put of=/usr/bin/sh_addcrff in the /etc/printcap for printer1 and use the command 'lp -d printer1 file1' no FormFeed is appended and the printer halts in the middle of the page. Have I missed something? Have I misunderstood the whole thing? I haven't restarted the lpd deamon, can that be a problem? Any other suggestions? Kind regards, Ulf Häggkvist |
| ||||
| "Ulf Häggkvist" <ulf.haggkvist@datavis.se> wrote in message news:a1955423.0308242219.2e2d8628@posting.google.c om... > I want to send a FormFeed after every output to a printer connected to > a Netgear PS110 printserver. I have implemented the filter mentioned > in TA 112842 found in SCO Knowledge database. I have tried it exactly > as in the TA and also a variant where the exec starts the filter with > $1 appended and the script read $1 instead of standard input. If I use > the filter manually like in 'addcrff file1 | lp -d printer1' a > FormFeed is appended to the output and it looks nice but if I then put > of=/usr/bin/sh_addcrff in the /etc/printcap for printer1 and use the > command 'lp -d printer1 file1' no FormFeed is appended and the printer > halts in the middle of the page. > Have I missed something? > Have I misunderstood the whole thing? > I haven't restarted the lpd deamon, can that be a problem? > Any other suggestions? Look at Tony Lawrence's page for 'virtual printer' (http://aplawrence.com/SCOFAQ/scotec7.html#virtualprint). bkx |
| Thread Tools | |
| Display Modes | |
|
|