2 * Copyright 2010 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
8 #ifndef PRINT_ADD_ON_SERVER_PROTOCOL_H
9 #define PRINT_ADD_ON_SERVER_PROTOCOL_H
11 extern const char* kPrintAddOnServerApplicationSignature
;
13 extern const char* kPrintAddOnServerStatusAttribute
;
14 extern const char* kPrinterDriverAttribute
;
15 extern const char* kPrinterNameAttribute
;
16 extern const char* kPrinterFolderAttribute
;
17 extern const char* kPrintJobFileAttribute
;
18 extern const char* kPrintSettingsAttribute
;
21 // message constants for the five corresponding
22 // printer driver add-on hook functions
23 kMessageAddPrinter
= 'PSad',
25 // BString kPrinterDriverAttribute
26 // BString kPrinterNameAttribute
28 // int32 kPrintAddOnServerStatusAttribute
30 kMessageConfigPage
= 'PScp',
32 // BString kPrinterDriverAttribute
33 // BString kPrinterFolderAttribute
34 // BMessage kPrintSettingsAttribute
36 // int32 kPrintAddOnServerStatusAttribute
37 // BMessage kPrintSettingsAttribute (if status is B_OK)
39 kMessageConfigJob
= 'PScj',
41 // BString kPrinterDriverAttribute
42 // BString kPrinterFolderAttribute
43 // BMessage kPrintSettingsAttribute
45 // int32 kPrintAddOnServerStatusAttribute
46 // BMessage kPrintSettingsAttribute (if status is B_OK)
48 kMessageDefaultSettings
= 'PSds',
50 // BString kPrinterDriverAttribute
51 // BString kPrinterFolderAttribute
53 // int32 kPrintAddOnServerStatusAttribute
54 // BMessage kPrintSettingsAttribute (if status is B_OK)
56 kMessageTakeJob
= 'PStj',
58 // BString kPrinterDriverAttribute
59 // BString kPrintJobFileAttribute
60 // BString kPrinterFolderAttribute
62 // int32 kPrintAddOnServerStatusAttribute