*
* Serial port backend for the Common UNIX Printing System (CUPS).
*
- * Copyright 2007-2009 by Apple Inc.
+ * Copyright 2007-2010 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
*/
#include "backend-private.h"
+#include <stdio.h>
#ifdef __hpux
# include <sys/modem.h>
if (errno != EAGAIN || errno != EINTR)
{
- _cupsLangPrintError(_("ERROR: Unable to read print data"));
+ perror("DEBUG: Unable to read print data");
tcsetattr(device_fd, TCSADRAIN, &origopts);
if (errno != EAGAIN && errno != EINTR && errno != ENOTTY)
{
- _cupsLangPrintError(_("ERROR: Unable to write print data"));
+ perror("DEBUG: Unable to write print data");
tcsetattr(device_fd, TCSADRAIN, &origopts);