Printer used from Preview?

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Alexander Traxler

Printer used from Preview?

Post by Alexander Traxler » 13 Nov 2008, 16:22

 Posted by:  Alexander Traxler 

Hi!

Has anyone a sample on how to get the printer, that is actually used, when
printing is started from the preview-window?

Cheers,
Alex

Ingo Pohl

Re: Printer used from Preview?

Post by Ingo Pohl » 14 Nov 2008, 08:09

 Posted by:  Ingo Pohl 

Do you mean SalPrtGetDefault ?

Alexander Traxler

Re: Printer used from Preview?

Post by Alexander Traxler » 18 Nov 2008, 15:32

 Posted by:  Alexander Traxler 

What I ment was, how to get the printer that is chosen by the user, when he
starts printing from the preview.
The set default printer is the preset for that. That's correct, and I know
about the "SalPrtGetDefault".
When the user starts printing from the preview-window (started with
"SalReportCmd ( hWndForm, RPT_CmdPrint )" by a button), he can choose on the
printer to use. That's the information I long to get ... this chosen
printer.
Any Idea?

Cheers,
Alex

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ahrefs], [Ccbot] and 0 guests