Searched refs:LP_LP (Results 1 – 3 of 3) sorted by relevance
56 #define LP_LP(p) (((p)->lp_lp) ? ((p)->lp_lp) : DEFAULT_LP) macro
1055 lp_setstatus(lp, "opening %s", LP_LP(lp)); in prn_open()1095 lp_setstatus(lp, "printing to %s", LP_LP(lp)); in prn_open()1127 if ((fd = open(LP_LP(lp), mode)) == -1) { in prn_connect()1128 log_warn("failed to open %s", LP_LP(lp)); in prn_connect()
212 else if (strchr(LP_LP(lp), '@')) { in readent()214 lp->lp_port = strdup(LP_LP(lp)); in readent()