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

Unable to print a custom form to a Xerox Phaser 4400

edited September 2003 in General
I am using Delphi 5 with report builder 6.03 and am trying to print a custom
form to a Xerox Phaser 4400 printer. When running through the following
code I have found that it will retain the new BinName but If I check the
PaperName right after I have set it I find that it has reverted back to
'Letter'.

Report.PrinterSetup.PaperName := 'U-339';
Report.PrinterSetup.BinName := 'Automatically Select';
Report.Print;

I have verified that the custom form is installed and available to be
printed to. If I look through the paper names string list I find that
'U-339' is indeed listed and available to report builder. Any ideas as to
why it won't retain the new paper name and how to fix this problem? Thanks!

Brian

Comments

  • edited September 2003
    Hi Brian,

    In my testing, I am unable to recreate the behavior you describe. I created
    a simple project that sets the PaperName and BinName inside a button click
    event just before the report prints. Then while the report is running, I
    re-checked the values and they remained the same. If possible, please send
    an example Delphi project that demonstrates the behavior you are
    experiencing in .zip format to support@digital-metaphors.com and I'll take a
    look at it.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.