/* DO NOT EDIT THIS FILE. It contains C->PostScript communication definitions that were automatically generated from tcap.cps */ #define PSDefs(P__0) pprintf(PostScript, _CPS_PSDefs, 240, P__0) static char _CPS_PSDefs[] = "\246\310/LoadingPSTerm_1\246y{\246\037\265\246\006/Name [ /PSTimer /PSTermLoaded_1 ]\264\246D\246R\246\037\265\246\006/Name /PSTimer\264/TimeStamp\2465\200\001\311\264\246D\246\251\246\005\275}\246k\246\222\246\310/PSTermDict_1\246y\246\217%d\200\000\246\214\246\221{\246\310/LoadingPSTerm_1\246\316\246\226\246\310/PSTermDict_1\246\322\233psterm_1.psLoadFile\275}\246k\246\222\246\310/PSTermDict_1\246y{\222y\n\246\225} {\222n\n\246\225}\246l"; #define PSInitCode(P__0) pprintf(PostScript, _CPS_PSInitCode, 210, P__0, P__0) static char _CPS_PSInitCode[] = "PSTermDict_1 /UserCodeLoaded\246y\246\217{\231.pstermrcLoadFile\275PSTermDict_1 /UserCodeLoaded\246\316\246\226\246\310/LoadingPSTerm_1\246\322\246\037\265\246\006/Name /PSTermLoaded_1\264/TimeStamp\2465\264\246D\246\251}\246k\246\222\246\323\246DPSTermDict_1\246\006\246\006PSTermInit PSTermDict_1%s\246y{%s\246<\246M}\246k"; #define CreateWindow(P__0,P__1,P__2,P__3,P__4,P__5,P__6,P__7,P__8,P__9,P__10) pprintf(PostScript, _CPS_CreateWindow, 35, P__0, P__1, P__2, P__3, P__4, P__5, P__6, P__7, P__8, P__9, P__10) static char _CPS_CreateWindow[] = "%d%d%d%d%d%s%s%s%d%d%dcreatewindow "; #define StartInput() pprintf(PostScript, _CPS_StartInput, 11) static char _CPS_StartInput[] = "startinput "; #define ReInitialize() pprintf(PostScript, _CPS_ReInitialize, 11) static char _CPS_ReInitialize[] = "resetscale "; #define CursorUp(P__0,P__1,P__2,L__2) pprintf(PostScript, _CPS_CursorUp, 10, L__2, P__2, P__0, P__1) static char _CPS_CursorUp[] = "%*s%d%dCU "; #define CursorDown(P__0,P__1,P__2,L__2) pprintf(PostScript, _CPS_CursorDown, 10, L__2, P__2, P__0, P__1) static char _CPS_CursorDown[] = "%*s%d%dCD "; #define PaintUnderRev(P__0,L__0) pprintf(PostScript, _CPS_PaintUnderRev, 6, L__0, P__0) static char _CPS_PaintUnderRev[] = "%*sUR "; #define PaintUnderNor(P__0,L__0) pprintf(PostScript, _CPS_PaintUnderNor, 6, L__0, P__0) static char _CPS_PaintUnderNor[] = "%*sUN "; #define PaintRev(P__0,L__0) pprintf(PostScript, _CPS_PaintRev, 6, L__0, P__0) static char _CPS_PaintRev[] = "%*sPR "; #define PaintNor(P__0,L__0) pprintf(PostScript, _CPS_PaintNor, 6, L__0, P__0) static char _CPS_PaintNor[] = "%*sPN "; #define MoveTo(P__0,P__1) pprintf(PostScript, _CPS_MoveTo, 7, P__0, P__1) static char _CPS_MoveTo[] = "%d%dMT "; #define ClearToEndOfLine() pprintf(PostScript, _CPS_ClearToEndOfLine, 3) static char _CPS_ClearToEndOfLine[] = "CE "; #define CopyLines(P__0,P__1,P__2,P__3) pprintf(PostScript, _CPS_CopyLines, 11, P__1, P__2, P__0, P__3) static char _CPS_CopyLines[] = "%d%d%d%dCL "; #define BeginRepair() pprintf(PostScript, _CPS_BeginRepair, 4) static char _CPS_BeginRepair[] = "BRP "; #define EndRepair() pprintf(PostScript, _CPS_EndRepair, 4) static char _CPS_EndRepair[] = "ERP "; #define EndRefresh() pprintf(PostScript, _CPS_EndRefresh, 4) static char _CPS_EndRefresh[] = "EOR "; #define SetFrameLabel(P__0) pprintf(PostScript, _CPS_SetFrameLabel, 5, P__0) static char _CPS_SetFrameLabel[] = "%sSL "; #define SetSelContents(P__0,P__1,P__2,P__3,L__3) pprintf(PostScript, _CPS_SetSelContents, 24, L__3, P__3, P__1, P__2, P__0) static char _CPS_SetSelContents[] = "%*s%d%d%dsetselcontents "; #define RingBell() pprintf(PostScript, _CPS_RingBell, 3) static char _CPS_RingBell[] = "VB "; #define VisibleBell() pprintf(PostScript, _CPS_VisibleBell, 3) static char _CPS_VisibleBell[] = "VB "; #define SetPageMode(P__0) pprintf(PostScript, _CPS_SetPageMode, 5, P__0) static char _CPS_SetPageMode[] = "%dPM "; #define SetAutoMargins(P__0) pprintf(PostScript, _CPS_SetAutoMargins, 5, P__0) static char _CPS_SetAutoMargins[] = "%dAM "; #define StartHiLighting(P__0) pprintf(PostScript, _CPS_StartHiLighting, 4, P__0) static char _CPS_StartHiLighting[] = "%d[ "; #define HiLightLine(P__0) pprintf(PostScript, _CPS_HiLightLine, 2, P__0) static char _CPS_HiLightLine[] = "%d"; #define EndHiLighting(P__0,P__1,P__2) pprintf(PostScript, _CPS_EndHiLighting, 10, P__0, P__1, P__2) static char _CPS_EndHiLighting[] = "%d]%d%dHL "; #define ClearSelectionPath() pprintf(PostScript, _CPS_ClearSelectionPath, 19) static char _CPS_ClearSelectionPath[] = "clearselectionpath "; #define RePaintHiLight() pprintf(PostScript, _CPS_RePaintHiLight, 13) static char _CPS_RePaintHiLight[] = "PaintHiLight "; #define StrHiLightLine(P__0,L__0) pprintf(PostScript, _CPS_StrHiLightLine, 3, L__0, P__0) static char _CPS_StrHiLightLine[] = "%*s"; #define StrEndHiLighting(P__0,L__0,P__1,L__1,P__2) pprintf(PostScript, _CPS_StrEndHiLighting, 12, L__0, P__0, L__1, P__1, P__2) static char _CPS_StrEndHiLighting[] = "%*s]%*s%dHL "; #define TakeDownOutline() pprintf(PostScript, _CPS_TakeDownOutline, 16) static char _CPS_TakeDownOutline[] = "takedownoutline "; #define StartSavingSelection() pprintf(PostScript, _CPS_StartSavingSelection, 12) static char _CPS_StartSavingSelection[] = "startselset "; #define SaveSelectionPiece(P__0,L__0) pprintf(PostScript, _CPS_SaveSelectionPiece, 10, L__0, P__0) static char _CPS_SaveSelectionPiece[] = "%*sextsel "; #define FinishSavingSelection() pprintf(PostScript, _CPS_FinishSavingSelection, 13) static char _CPS_FinishSavingSelection[] = "finishselset "; #define HiLightRect(P__0,P__1,P__2,P__3,P__4) pprintf(PostScript, _CPS_HiLightRect, 22, P__4, P__0, P__1, P__2, P__3) static char _CPS_HiLightRect[] = "%d%d%d%d%dHiLightRect "; #define ToggleScrollBar(P__0) pprintf(PostScript, _CPS_ToggleScrollBar, 6, P__0) static char _CPS_ToggleScrollBar[] = "%dTSB "; #define SetScrollBarValue(P__0,P__1) pprintf(PostScript, _CPS_SetScrollBarValue, 9, P__0, P__1) static char _CPS_SetScrollBarValue[] = "%d%dSSBV "; #define PopMsg(P__0) pprintf(PostScript, _CPS_PopMsg, 25, P__0) static char _CPS_PopMsg[] = "\272framebuffer\246\252\246/%spopmsg\271"; #define _CPS_SEENDEFS #ifndef FILE #include #endif #ifndef PSFILE #include #endif extern PSFILE *PostScript, *PostScriptInput; PSFILE *ps_open_PostScript(); #define ps_flush_PostScript() (psio_flush(PostScript),(psio_error(PostScript) ? exit(0) : 0)) #define ps_close_PostScript() (psio_close(PostScript),PostScript = 0) #define ps_moveto(P__0,P__1) pprintf(PostScript, _CPS_ps_moveto, 5, P__0, P__1) extern char _CPS_ps_moveto[]; #define ps_rmoveto(P__0,P__1) pprintf(PostScript, _CPS_ps_rmoveto, 5, P__0, P__1) extern char _CPS_ps_rmoveto[]; #define ps_lineto(P__0,P__1) pprintf(PostScript, _CPS_ps_lineto, 5, P__0, P__1) extern char _CPS_ps_lineto[]; #define ps_rlineto(P__0,P__1) pprintf(PostScript, _CPS_ps_rlineto, 5, P__0, P__1) extern char _CPS_ps_rlineto[]; #define ps_closepath() psio_putc('\263', PostScript) #define ps_arc(P__0,P__1,P__2,P__3,P__4) pprintf(PostScript, _CPS_ps_arc, 11, P__0, P__1, P__2, P__3, P__4) extern char _CPS_ps_arc[]; #define ps_stroke() psio_putc('\305', PostScript) #define ps_fill() psio_putc('\267', PostScript) #define ps_show(P__0) pprintf(PostScript, _CPS_ps_show, 3, P__0) extern char _CPS_ps_show[]; #define ps_cshow(P__0,L__0) pprintf(PostScript, _CPS_ps_cshow, 4, L__0, P__0) extern char _CPS_ps_cshow[]; #define ps_findfont(P__0) pprintf(PostScript, _CPS_ps_findfont, 3, P__0) extern char _CPS_ps_findfont[]; #define ps_scalefont(P__0) pprintf(PostScript, _CPS_ps_scalefont, 3, P__0) extern char _CPS_ps_scalefont[]; #define ps_setfont() psio_putc('\302', PostScript) #define ps_gsave() psio_putc('\272', PostScript) #define ps_grestore() psio_putc('\271', PostScript) extern int ps_next_user_token; #define ps_define_stack_token(u) ps_DO_defuser(u/**/_token = ps_next_user_token++) #define ps_define_value_token(u) (pprintf(PostScript, "/u load ", sizeof "/u load " - 1), \ ps_define_stack_token(u)) #define ps_define_word_token(u) (pprintf(PostScript, "/u cvx ", sizeof "/u cvx " - 1), \ ps_define_stack_token(u)) #define ps_DO_defuser(P__0) pprintf(PostScript, _CPS_ps_DO_defuser, 4, P__0) extern char _CPS_ps_DO_defuser[]; #define ps_DO_finddef(P__0,P__1) pprintf(PostScript, _CPS_ps_DO_finddef, 7, P__0, P__1) extern char _CPS_ps_DO_finddef[]; #define ps_finddef(font,usertoken) ps_DO_finddef(font,(usertoken)=ps_next_user_token++) #define ps_DO_scaledef(P__0,P__1,P__2) pprintf(PostScript, _CPS_ps_DO_scaledef, 9, P__0, P__1, P__2) extern char _CPS_ps_DO_scaledef[]; #define ps_scaledef(font,scale,usertoken) ps_DO_scaledef(font,scale,(usertoken) = ps_next_user_token++) #define ps_usetfont(P__0) pprintf(PostScript, _CPS_ps_usetfont, 3, P__0) extern char _CPS_ps_usetfont[];