[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reversing page order on lgp2 printers



    Date: Mon, 23 Apr 90 15:33:31 MDT
    From: drstrip@cs.sandia.gov (David R Strip [1411])

    Does anyone know how to do this? Genera 7.4 has a flavor instance variable
    in the lgp2-printer flavor for default-print-backwards, but changing its
    value has no effect (I guess because my machine isn't the print server.) The
    print server is running 7.2, and the corresponing flavor has no such
    iv. (It also doesn't have lgp3 defined.) So - is there an easy way to reverse the default
    print order, or should I wait for 8.0 ?

The LGP2 printer prints "backwards" (Last page first.) The most
straightforward way to make an LGP2 printer print "forwards" in 7.2 is
to redefine the HCI::HARDCOPY-STREAM-PAGE-BUFFERING-MIXIN so that the
default value of its HCI::PRINT-BACKWARDS iv is NIL. (This is assuming
you want all the LGP2's at your site to print forwards.)  See
the method (FLAVOR:METHOD :SEND-PAGE-BUFFERS LGP2-PAGE-BUFFERING-STREAM)
on how the HCI::PRINT-BACKWARDS iv is used.

Genera 8.0 will allow you to specify the printing "direction" of
LGP2 and LGP3 printers in the namespace object of the printer.
(By default, LGP2 printers print "backwards" (Last page first), and
LGP3 printers print "forwards.")