daps.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 1989 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* University Copyright- Copyright (c) 1982, 1986, 1988
* The Regents of the University of California
* All Rights Reserved
*
* University Acknowledgment- Portions of this document are derived from
* software developed by the University of California, Berkeley, and its
* contributors.
*/
/********************************************************************
* *
* The following defined constants and macros must be properly *
* set up for your APS-5 photo-typesetter. *
* *
********************************************************************/
#ifdef LENS1 /* standard 2.22X lens */
\
\
(Bsize * SCALEFACTOR)
#endif
#ifdef LENS2 /* standard 2.667X lens */
\
\
(Bsize * SCALEFACTOR)
#endif
#ifdef LENS3 /* 2.667X lens - special case */
\
\
#endif
/********************************************************************
* *
* POST-PROCESSOR DEFINED CONSTANTS *
* *
********************************************************************/
#define NON_FATAL 0 /* don't abort the job */
#define OFF 0 /* debug mode is off */
#define NO 0 /* don't ignore fatal errors - debug */
#define SAME_STR 0 /* strings are the same */
#define HSPACE4 0 /* start cut marks at this position */
/********************************************************************
* *
* POST-PROCESSOR MACROS *
* *
********************************************************************/
\
\
#define STR_CONVERT(s,i) /* convert string s to integer i */ \
\
do { \
i = 0; \
do \
i = 10 * i + *s++ - '0'; \
while ( isdigit(*s) ); \
} while ( 0 )
#define TOGGLE(a) /* toggle the value in argument a */ \
\
a = (a + 1) % 2
\
\
\
\
\
\
;
\
\
\
\
\
#ifdef pdp11 /* sign extension problems on pdp11s */
\
#else /* don't worry about char 0377 */
\
#endif
\
\
\
do { \
change_font(newfont); \
} /* End if */ \
} while ( 0 )
\
do { \
} while ( 0 )