09d4059621
PostScript printers. Its features are numerous, and it supports PostScript printers connected to parallel or serial ports, or over the network through AppleTalk, LanManager, LPD, and TCP/IP protocols. It accepts jobs from SMB clients (such as Microsoft Windows), Macintosh, and Unix clients. PPR is designed for PostScript printing, so it can detect PostScript errors. If the input file is not PostScript, it can pipe the input through a filter. PPR has been designed to manage large numbers of printers with minimal operator attention. Builds, installs and pkglints. For anything else, see the TODO.
22 lines
597 B
Text
22 lines
597 B
Text
$NetBSD: patch-ag,v 1.1 2005/05/06 08:58:01 hfath Exp $
|
|
|
|
--- papd/papd.c.orig 2004-11-09 17:15:39.000000000 +0100
|
|
+++ papd/papd.c
|
|
@@ -114,6 +114,17 @@ void debug(const char string[], ... )
|
|
va_end(va);
|
|
} /* end of debug() */
|
|
|
|
+/* This is needed by try_fontindex(). */
|
|
+void error(const char string[], ... )
|
|
+ {
|
|
+ va_list va;
|
|
+ char temp[256];
|
|
+ va_start(va,string);
|
|
+ vsnprintf(temp, sizeof(temp), string, va);
|
|
+ write_logline("ERROR", temp);
|
|
+ va_end(va);
|
|
+ } /* end of error() */
|
|
+
|
|
/*
|
|
** Return a copy of a string with control characters
|
|
** (non-printable characters) replaced with dots.
|