Printer Paper Tray

Discussion forum about all things Report Builder (all versions).
lars

Printer Paper Tray

Post by lars » 24 Feb 2009, 05:28

Is there a way to find out the "friendly" names of the paper trays of a specific printer?
I need this to let my users parametrize from which tray their report shall be printed. In my app I will use the function "SalReportSetPrinterTray(..)" whith the user defined tray.
I forgot to tell: I´m using 5.1 SP5.

Martin Teetz

Re: Printer Paper Tray

Post by Martin Teetz » 24 Feb 2009, 06:13

Try SalPrtGetPrinterTrays(). I think this function is available since SP4 to get the friendly paper tray names.

Martin

lars

Re: Printer Paper Tray

Post by lars » 24 Feb 2009, 06:26

Cool. Thank you very much!

Right in front of my eyes - and I didn´t see it. I think I´m getting old :roll:

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests