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

Loaded Papersize

edited December 2009 in General
Hi support,

In some cases it's very handy to change the papersize for a label to the
loaded papersize.
Different brands, different naming, and even slight different sizes are very
common among labelprinters.

I know how to get the loaded papersize on the default printer, but I would
want to be able get the papername loaded on a different printer.
(for which I do know the printers name offcourse)

Is there a way to get this returned from the printer in RB ?

(I'm using the latest RB with Delphi 2010)

Regards,
Erik.

Comments

  • edited December 2009

    Here is an rbWiki example I created that shows how to get default
    PrinterSetup info for each installed printer.

    http://www.digital-metaphors.com/rbWiki/Output/Printer/How_To...Get_DefaultPrinterSetup

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2009
    In one word : aaawwwwwwsome !

    I've been fighting with it all day, and you have created the perfect example
    for me.
    The customer can now put any kind of label in the labelprinter and my
    program automatically make's sure the label is fully used,
    before the labelprinter would just hickup and say the wrong label kind was
    loaded when printing from RB.

    Thanks again Nard.

    Regards Erik.

This discussion has been closed.