1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/editors/ted/files/patch-appUtil::utilPrinter.c
Pete Fritchman ae840a3140 - use the proper lpc syntax to get a printer list
- bump PORTREVISION

PR:		37362
Submitted by:	maintainer
Reported by:	Greg Shenaut <gkshenaut@ucdavis.edu>
2003-08-18 02:48:32 +00:00

21 lines
596 B
C

$FreeBSD$
--- appUtil/utilPrinter.c Sun Aug 17 19:14:01 2003
+++ appUtil/utilPrinter.c Sun Aug 17 19:15:54 2003
@@ -281,14 +281,14 @@
/* 1 */
if ( count == 0 )
{
- utilPrinterGetLprPrinters( "( lpc status ) 2>/dev/null",
+ utilPrinterGetLprPrinters( "( lpc status all) 2>/dev/null",
&defaultPrinter, &count, &pd );
}
/* 1b */
if ( count == 0 )
{
- utilPrinterGetLprPrinters( "( /usr/sbin/lpc status ) 2>/dev/null",
+ utilPrinterGetLprPrinters( "( /usr/sbin/lpc status all) 2>/dev/null",
&defaultPrinter, &count, &pd );
}