Printer used from Preview?

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

Printer used from Preview?

Post by NewsgroupServer » 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

NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

Printer used from Preview?

Post by NewsgroupServer » 14 Nov 2008, 08:09

 Posted by:  Ingo Pohl 

Do you mean SalPrtGetDefault ?

NewsgroupServer
Robot
Robot
Posts: 115421
Joined: 24 Feb 2017, 12:00
Location: World wide

Printer used from Preview?

Post by NewsgroupServer » 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: [Ccbot] and 0 guests