Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

setting printer to draft

edited January 2004 in End User
Hi

Is it possible to set the printer to draft before printing. We have a
problem with HP Inkjet printers on a couple of machines that always revert
to normal mode when printing from the end user reporter. If you check the
preferences at run time they are set to FastDraft but it is ignored. If
however, I reselect FastDraft it prints afst for that print only and then
reverts back. Everything else, word, excel, ie are OK, it is just our app.

D5 Pro, RBEnt 7.03


Thanks

Andy

Comments

  • edited January 2004

    -------------------------------------------------
    Tech Tip: Configuring Printer Specific Options
    -------------------------------------------------

    The Report.PrinterSetup properties can be used to set the properties that
    are common to all printers. Internally RB applies these to the Windows
    DevMode structure.


    Report.PrinterSetup <----> Windows DevMode <-----> Printer Driver <--->
    Printer


    Printers often contains additional features, such as output bins, media
    types, etc. The Windows DevMode structure can contain a private area that is
    used the printer driver to store printer specific options. These can be
    configured by using the Printer Driver's built-in properties dialog. These
    options can theoritically be set programmatically, the trick is that you
    have to know where in the structure to store the option and what values are
    valid.

    The following example shows how to display the printer properties dialog and
    save the devmode for use within RB...

    http://www.digital-metaphors.com/tips/SavePrinterDevMode.zip


    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.