4 * Copyright 2012-2013 Samsung Electronics Co., Ltd
6 * Licensed under the Flora License, Version 1.1 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://floralicense.org/license/
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
23 #define MAX_PATH_SIZE 512
24 #define MAX_COMMAND_SIZE 128*128
25 #define MANUFACTURER_NUM 3
26 #define PPD_DIR "/opt/etc/cups/ppd"
29 * This function let the app get ppd file for the specified printer
30 * @return If success, return PT_ERR_NONE, else return PT_ERR_FAIL
31 * @param[in] ppd the pointer to the printer's ppd path
32 * @param[in] printer the printer entry
34 int pt_get_printer_ppd(pt_printer_mgr_t *printer);
35 ppd_size_t *pt_utils_paper_size_pts(const char *name);
37 #endif /*__PT_PPD_H__*/