Professional Web Applications Themes

How to implement OutputFilter when printing to a network printer, SCO 5.0.6? - SCO

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 ...

  1. #1

    Default How to implement OutputFilter when printing to a network printer, SCO 5.0.6?

    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 Guest

  2. #2

    Default Re: How to implement OutputFilter when printing to a network printer, SCO 5.0.6?

    "Ulf Häggkvist" <ulf.haggkvistdatavis.se> wrote in message
    news:a1955423.0308242219.2e2d8628posting.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'
    ([url]http://aplawrence.com/SCOFAQ/scotec7.html#virtualprint[/url]).

    bkx


    Stuart J. Browne Guest

Similar Threads

  1. network printer problems
    By Robert_Burnquist@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 4
    Last Post: April 30th, 12:50 PM
  2. Printing with lpr and HP4100 Network Ready Printer
    By Jeffrey Sawyer in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: September 2nd, 05:45 PM
  3. Replies: 0
    Last Post: August 21st, 10:55 AM
  4. Multipage Printing - How do I Implement It?
    By Nigel in forum ASP.NET Building Controls
    Replies: 0
    Last Post: August 15th, 03:26 PM
  5. Adding a network printer
    By Jason Quinn in forum Sun Solaris
    Replies: 2
    Last Post: August 5th, 09:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139