/***************************************************************************
                            QPrinter.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QPRINTER_H
#define QPRINTER_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QPaintDevice.h>

@class QWidget;
@class QSize;

@interface QPrinter : QPaintDevice 
- initWithInt: (int)mode;
- init;
- (void) dealloc;
- (NSString *) printerName;
- setPrinterName: (NSString *)arg1;
- (BOOL) outputToFile;
- setOutputToFile: (BOOL)arg1;
- (NSString *) outputFileName;
- setOutputFileName: (NSString *)arg1;
- (NSString *) printProgram;
- setPrintProgram: (NSString *)arg1;
- (NSString *) printerSelectionOption;
- setPrinterSelectionOption: (NSString *)arg1;
- (NSString *) docName;
- setDocName: (NSString *)arg1;
- (NSString *) creator;
- setCreator: (NSString *)arg1;
- (int) orientation;
- setOrientation: (int)arg1;
- (int) pageSize;
- setPageSize: (int)arg1;
//- (short) winPageSize;
- setPageOrder: (int)arg1;
- (int) pageOrder;
- setResolution: (int)arg1;
- (int) resolution;
- setColorMode: (int)arg1;
- (int) colorMode;
- setFullPage: (BOOL)arg1;
- (BOOL) fullPage;
- (QSize*) margins;
- (int) fromPage;
- (int) toPage;
- setFromTo: (int)fromPage toPage: (int)toPage;
- (int) minPage;
- (int) maxPage;
- setMinMax: (int)minPage maxPage: (int)maxPage;
- (int) numCopies;
- setNumCopies: (int)arg1;
- (BOOL) collateCopiesEnabled;
- setCollateCopiesEnabled: (BOOL)arg1;
- (BOOL) collateCopies;
- setCollateCopies: (BOOL)arg1;
- (BOOL) newPage;
- (BOOL) abort;
- (BOOL) aborted;
- (BOOL) setup: (QWidget *)parent;
- (BOOL) setup;
- (int) paperSource;
- setPaperSource: (int)arg1;
//- (BOOL) cmd: (int)arg1 painter: (QPainter *)arg2 pdevcmdparam: (QPDevCmdParam*)arg3;
- (int) metric: (int)arg1;
//- setActive;
//- setIdle;
+ (int) ScreenResolution;
+ (int) PrinterResolution;
+ (int) HighResolution;
+ (int) Compatible;
+ (int) Portrait;
+ (int) Landscape;
+ (int) A4;
+ (int) B5;
+ (int) Letter;
+ (int) Legal;
+ (int) Executive;
+ (int) A0;
+ (int) A1;
+ (int) A2;
+ (int) A3;
+ (int) A5;
+ (int) A6;
+ (int) A7;
+ (int) A8;
+ (int) A9;
+ (int) B0;
+ (int) B1;
+ (int) B10;
+ (int) B2;
+ (int) B3;
+ (int) B4;
+ (int) B6;
+ (int) B7;
+ (int) B8;
+ (int) B9;
+ (int) C5E;
+ (int) Comm10E;
+ (int) DLE;
+ (int) Folio;
+ (int) Ledger;
+ (int) Tabloid;
+ (int) Custom;
+ (int) NPageSize;
+ (int) FirstPageFirst;
+ (int) LastPageFirst;
+ (int) GrayScale;
+ (int) Color;
+ (int) OnlyOne;
+ (int) Lower;
+ (int) Middle;
+ (int) Manual;
+ (int) Envelope;
+ (int) EnvelopeManual;
+ (int) Auto;
+ (int) Tractor;
+ (int) SmallFormat;
+ (int) LargeFormat;
+ (int) LargeCapacity;
+ (int) Cassette;
+ (int) FormSource;
@end

#endif
