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

Ask a Question related to SCO, Design and Development.

  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. Similar Questions and Discussions

    1. network printer problems
      Hi I'm having problems with the network printer here and whenever I try to print a PDF out, nothing happens - it doesn't go to the printer, yet...
    2. Printing with lpr and HP4100 Network Ready Printer
      I have setup a Red Hat 7.3 GNU/Linux server for printing, on it I setup a printer using lpr which prints to an hp network ready printer (HP 4100...
    3. Problem with implementing OutputFilter when printing to a network printer, SCO 5.0.6
      Ulf Häggkvist <ulf.haggkvist@datavis.se> wrote: Ayup: http://aplawrence.com/Bofcusm/792.html See...
    4. Multipage Printing - How do I Implement It?
      The Visual Basic .NET Step by Step book has the following code and text: Imports System.Drawing.Printing Private Sub PrintText(ByVal sender As...
    5. Printer sharing on network
      I upgraded my desktop to XP and I am having problems connecting to printer connected to computer (that is on Windows 98 SE)on my home network. The...
  3. #2

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

    "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'
    ([url]http://aplawrence.com/SCOFAQ/scotec7.html#virtualprint[/url]).

    bkx


    Stuart J. Browne Guest

Posting Permissions

  • You may not post new threads
  • You may 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