blob: 88c1ff9996c5d130a01931af77ed68028ae92c4a [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef __com_sun_star_awt_XPrinterServer_idl__
#define __com_sun_star_awt_XPrinterServer_idl__
#ifndef __com_sun_star_uno_XInterface_idl__
#include <com/sun/star/uno/XInterface.idl>
#endif
#ifndef __com_sun_star_awt_XPrinter_idl__
#include <com/sun/star/awt/XPrinter.idl>
#endif
#ifndef __com_sun_star_awt_XInfoPrinter_idl__
#include <com/sun/star/awt/XInfoPrinter.idl>
#endif
//=============================================================================
module com { module sun { module star { module awt {
//=============================================================================
/** manages several printers on one machine.
*/
published interface XPrinterServer: com::sun::star::uno::XInterface
{
//-------------------------------------------------------------------------
/** returns a list of all available printer names.
*/
sequence<string> getPrinterNames();
//-------------------------------------------------------------------------
/** creates a new virtual printer.
<p>You must call
<member scope="com::sun::star::awt">XPrinter::start</member>
to put the job into the printer spooler.</p>
*/
com::sun::star::awt::XPrinter createPrinter( [in] string printerName );
//-------------------------------------------------------------------------
/** creates a new information printer.
<p>You can get all information from this printer,
but the printer cannot really print.</p>
*/
com::sun::star::awt::XInfoPrinter createInfoPrinter( [in] string printerName );
};
//=============================================================================
}; }; }; };
#endif