diff options
author | L Peter Deutsch <lpd@ghostscript.com> | 2000-03-18 01:45:16 +0000 |
---|---|---|
committer | L Peter Deutsch <lpd@ghostscript.com> | 2000-03-18 01:45:16 +0000 |
commit | 563c719b7dd752510e0cacd7c03d0e2a6dfbe33b (patch) | |
tree | dad804206300ef01cdc7326f236fe9ac7b785e5f /gs/src/gp.h | |
parent | 61d6eda0b31d7766b2cd3975efefc72d4b2c296b (diff) |
Fix: For printer devices, a non-null definition for OutputFile was required
even on platforms that had a default printer (as implemented by
gp_open_printer for that platform).
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@94 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gp.h')
-rw-r--r-- | gs/src/gp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gs/src/gp.h b/gs/src/gp.h index d1ad46a68..0c2dccae6 100644 --- a/gs/src/gp.h +++ b/gs/src/gp.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved. +/* Copyright (C) 1991, 2000 Aladdin Enterprises. All rights reserved. This file is part of Aladdin Ghostscript. @@ -212,8 +212,10 @@ const char *gp_file_name_concat_string(P4(const char *prefix, uint plen, * values of filedevice are handled by calling the fopen procedure * associated with that kind of "file". * - * Note that if the file name is null (0-length), it may be replaced with - * the name of a scratch file. + * Note that if the file name is null (0-length) and a default printer is + * available, the file name may be replaced with the name of a scratch file + * for spooling. If the file name is null and no default printer is + * available, this procedure returns 0. */ FILE *gp_open_printer(P2(char fname[gp_file_name_sizeof], int binary_mode)); |