Re: [dev] Re: Selecting Output Bin When Printing
Cor Nouws wrote (31-3-2008 19:46) I've no time yet to dive into details, but clear is that, as far as we know now, it is not possible to find the available printers (as they can be seen in File|PrintSetup) through API. Added issue #87883 -- The Year of 3 -2008- Het jaar van 3 Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Re: Selecting Output Bin When Printing
Ariel Constenla-Haile wrote: According to http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=6496 (from 2003 but still applies) the interface was designed for an OOo/SO running on a server where the printers are connected at the client. Thus. for printing the client is a print server. So if Cor is looking for something he can use in OOoBasic with a normal printer, c.s.s.awt.XPrinterServer won't work (at least in my notebook where I have no printer server, createUnoService(com.sun.star.awt.PrinterServer) instantiates an object only supporting com.sun.star.uno.XInterface , that is, c.s.s.awt.XPrinterServer is not available) Regards Ariel. Sigh! Yes, that's true. No XPrinterServer, no printer names. Sorry, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Re: Selecting Output Bin When Printing
Hi Andreas, Ariel, Andreas Saeger wrote (31-3-2008 11:38) Ariel Constenla-Haile wrote: According to http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=6496 (from 2003 but still applies) [...] Sigh! Yes, that's true. No XPrinterServer, no printer names. Thanks for these info dead pointer ;-) I've no time yet to dive into details, but clear is that, as far as we know now, it is not possible to find the available printers (as they can be seen in File|PrintSetup) through API. Regards, Cor -- The Year of 3 -2008- Het jaar van 3 Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Re: Selecting Output Bin When Printing
Hi Cor, Andreas, * Andreas Saeger escribió: Cor Nouws wrote: Hmm, now I remember another thing I missed: finding the available printers through API, as they can be found in File|PrintSetup. I guess that another service is, or should be, involved. Cor Hi Cor, Try c.s.s.awt.XPrinterServer.getPrinterNames() are you suggesting something you have tried and verify that works? According to http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=6496 (from 2003 but still applies) the interface was designed for an OOo/SO running on a server where the printers are connected at the client. Thus. for printing the client is a print server. So if Cor is looking for something he can use in OOoBasic with a normal printer, c.s.s.awt.XPrinterServer won't work (at least in my notebook where I have no printer server, createUnoService(com.sun.star.awt.PrinterServer) instantiates an object only supporting com.sun.star.uno.XInterface , that is, c.s.s.awt.XPrinterServer is not available) Regards Ariel. -- Ariel Constenla-Haile La Plata, Argentina [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.ArielConstenlaHaile.com.ar/ooo/ Aus der Kriegsschule des Lebens - Was mich nicht umbringt, macht mich härter. Nietzsche Götzendämmerung, Sprüche und Pfeile, 8. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Re: Selecting Output Bin When Printing
Cor Nouws wrote: Hmm, now I remember another thing I missed: finding the available printers through API, as they can be found in File|PrintSetup. I guess that another service is, or should be, involved. Cor Hi Cor, Try c.s.s.awt.XPrinterServer.getPrinterNames() - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]