mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-12-28 03:30:05 +00:00
Add a couple of diagnostic messages to printer support
This commit is contained in:
parent
8cf0e5c5fb
commit
19fb013161
@ -1,3 +1,24 @@
|
||||
/*
|
||||
GSport - an Apple //gs Emulator
|
||||
Copyright (C) 2010 - 2011 by GSport contributors
|
||||
|
||||
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the
|
||||
Free Software Foundation; either version 2 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2002-2004 The DOSBox Team
|
||||
*
|
||||
@ -323,7 +344,7 @@ void CPrinter::updateFont()
|
||||
if (FT_New_Face(FTlib, fontName, 0, &curFont))
|
||||
{
|
||||
|
||||
printf("Unable to load font %s");
|
||||
printf("Unable to load font %s\n");
|
||||
//LOG_MSG("Unable to load font %s", fontName);
|
||||
curFont = NULL;
|
||||
}
|
||||
@ -1821,7 +1842,7 @@ SDL_FreeSurface(image);*/
|
||||
psfile = fopen(fname, "wb");
|
||||
if (!psfile)
|
||||
{
|
||||
//LOG(LOG_MISC,LOG_ERROR)("PRINTER: Can't open file %s for printer output", fname);
|
||||
printf("PRINTER: Can't open file %s for printer output", fname);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2043,4 +2064,4 @@ extern "C" void printer_feed()
|
||||
{
|
||||
if(defaultPrinter == NULL) return;
|
||||
defaultPrinter->formFeed();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user