Unix Technical Forum

Re: Problem with implementing OutputFilter when printing to a network printer, SCO 5.0.6

This is a discussion on Re: Problem with implementing OutputFilter when printing to a network printer, SCO 5.0.6 within the Sco Unix forums, part of the Unix Operating Systems category; --> Ulf Häggkvist <ulf.haggkvist@datavis.se> wrote: >I want to send a FormFeed after every output to a printer connected to >a ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 10:22 AM
tony@aplawrence.com
 
Posts: n/a
Default Re: Problem with implementing OutputFilter when printing to a network printer, SCO 5.0.6

Ulf Häggkvist <ulf.haggkvist@datavis.se> wrote:
>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?


Ayup: http://aplawrence.com/Bofcusm/792.html

>Have I misunderstood the whole thing?


See http://aplawrence.com/SCOFAQ/FAQ_virtualprint.html

--
tony@aplawrence.com Unix/Linux/Mac OS X resources: http://aplawrence.com
Get paid for writing about tech: http://aplawrence.com/publish.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com