41: begin
42:
43: select delivery_id
44: into printer_id
45: from fnd_cp_ipp_printers
46: where ipp_printer_name = printer_name;
47:
48: return add_ipp_printer(printer_id, copies, orientation, username, password, lang);
49:
78:
79:
80: select count(*)
81: into cnt
82: from fnd_cp_ipp_printers
83: where delivery_id = printer_id;
84:
85: if (cnt = 0) then
86: return false;
116: begin
117:
118: select delivery_id
119: into server_id
120: from fnd_cp_ipp_printers
121: where ipp_printer_name = server_name;
122:
123: return add_fax(server_id, fax_number, username, password, lang);
124:
145: end if;
146:
147: select count(*)
148: into cnt
149: from fnd_cp_ipp_printers
150: where delivery_id = server_id
151: and support_fax = 'Y';
152:
153: if (cnt = 0) then