Implemented copy number of pages for printers that do not support page copy command. Check if PrintToFile dialog was canceled and return without an error.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7072 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer
2004-03-27 07:08:38 +00:00
parent d3befe5f8a
commit 2c973bd1fc
4 changed files with 48 additions and 21 deletions
+4 -1
View File
@@ -88,7 +88,10 @@ public:
kOrientation,
kPrintStyle,
kBindingLocation,
kColor
kColor,
// Static boolean settings follow.
// For them isSupport() has to be implemented only.
kCopyCommand // supports printer page copy command?
};
virtual int countCap(CapID) const = 0;
@@ -37,6 +37,7 @@ public:
~Transport();
void write(const void *buffer, size_t size) throw(TransportException);
bool check_abort() const;
bool is_print_to_file_canceled() const;
const string &last_error() const;
protected: