Debian Codegraph @

fax/filters/cdmfax/jetlib.h

raw symbols SCIP
1 /*****************************************************************************\
2
3 This program is free software; you can redistribute it and/or
4 modify it under the terms of the GNU General Public License as
5 published by the Free Software Foundation; either version 2 of the
6 License, or (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful, but
9 WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16 MA 02111-1307, USA.
17
18 \
19 \*****************************************************************************/
20 /*
21 * file: jetlib.h
22 *
23 * PCL XL Stream library header file
24 *
25 * Revision : tracks jetlib.c
26 *
27 */
28
29 #ifndef JETLIB_H
30 #define JETLIB_H
31
32 #define HP_BYTE_STREAM_PROTOCOL /* define this for byte stream protocols */
33 #define FAX_10
34
35 /* PCL XL Stream library error codes: */
36 #define HP_NoError 0
37 #define HPERR_InitError -1
38 #define HPERR_UndefinedOp -2
39 #define HPERR_UndefinedAttrId -3
40 #define HPERR_OutOfMemory -4
41 #define HPERR_ZeroBufferSize -5
42 #define HPERR_OutBufferOverflow -6
43 #define HPERR_FlushBufferFailed -7
44 #define HPERR_NullFlushFunction -8
45
46 /********************************************************************
47 *
48 * Some handy typedefs
49 *
50 *******************************************************************/
51 typedef unsigned char U8 ;
52 typedef unsigned int U16 ;
53 typedef int S16 ;
54 typedef unsigned long U32 ;
55 typedef long S32 ;
56
57 typedef unsigned char HP_UByte;
58 typedef signed char HP_SByte;
59 typedef unsigned short int HP_UInt16;
60 typedef short int HP_SInt16;
61 typedef unsigned long HP_UInt32;
62 typedef long HP_SInt32;
63 typedef float HP_Real32;
64 typedef int HP_BOOL;
65
66 #ifdef HP_WindowsAPI
67 #include "jetlibhw.h"
68 #else
69
70 /* Added for the Method 2 compression stuff */
71
72 typedef unsigned char *HP_pCharHuge; /* Added for windows 3.1x compatibility */
73 typedef unsigned char *HP_pChar; /* Added for windows 3.1x compatibility */
74
75 /* End of the Method 2 compression stuff */
76
77 typedef unsigned char *HP_pUByte;
78 typedef unsigned short int *HP_pUInt16;
79 typedef unsigned long *HP_pUInt32;
80 typedef short int *HP_pSInt16;
81 typedef long *HP_pSInt32;
82 typedef float *HP_pReal32;
83 typedef HP_SInt16 HP_ErrorCodeType;
84 #endif
85
86 /* Added for the Method 2 compression stuff */
87
88 #define START 0 /* states of the compression state machine */
89 #define IN_RUN 1 /* building a run of repeating chars */
90 #define IN_NON_RUN 2 /* building a run of non repeating chars */
91 #define COMP_DONE 3 /* all chars have been processed */
92 #define TERM 4 /* end of a run or non-run */
93 #define RUN_LEN 127 /* 129 */
94 #define NON_RUN_LEN 127 /* 128 */
95
96 #define eHP_M2TIFF 3
97
98 typedef struct tagCOMPRESSIONINFO {
99 HP_UInt32 CompSize;
100 HP_SInt16 CompRatio;
101 HP_UInt32 CompressionFormat;
102 HP_SInt32 biWidth;
103 HP_SInt32 biHeight;
104 HP_SInt32 biAdjWidth;
105 } HP_COMPRESSIONINFO;
106
107 /* End of the Method 2 compression stuff */
108
109 #ifndef HP_WindowsAPI
110 /* UNIX or DOS API */
111
112 #ifndef OO_INTERFACE
113 #define HP_StdFuncPrefix void
114 #define HP_SInt32FuncPrefix HP_SInt32
115 #define HP_UInt32FuncPrefix HP_UInt32
116 #else
117 /* Use different declarations for C++ */
118
119 #define HP_StdFuncPrefix extern "C" void
120 #define HP_SInt32FuncPrefix extern "C" HP_SInt32
121 #define HP_UInt32FuncPrefix extern "C" HP_UInt32
122
123 /* This forward declarations is so that pClient can be
124 * in the structure below.
125 */
126 class MJetlibClient;
127 #endif
128
129 typedef struct HP_StreamHandleStructDef
130 {
131 HP_pUByte HP_OutBuffer; /* byte-oriented output buffer for
132 * byte-stream protocols : referenced
133 * by external programs via .h file
134 * extern declaration
135 */
136 HP_SInt32 HP_OutBufferMaxSize;/* maximum size of when created in
137 * HP_InitLib function
138 *
139 * referenced by external programs via
140 * .h file extern declaration
141 */
142 HP_SInt32 HP_CurrentBufferLen;/* current output buffer index: set to
143 * zero by HP_InitLib and following
144 * library routine calls to
145 * HP_FlushOutBuffer function.
146 *
147 * User's HP_FlushOutBuffer function
148 * should
149 * also set the index to zero.
150 *
151 * referenced by external programs via
152 * .h file extern declaration
153 */
154
155 HP_SInt32 HP_CurrentStreamLen;/* current stream length in bytes:
156 * set to zero by HP_InitLib
157 *
158 */
159
160 HP_ErrorCodeType HP_ErrorCode; /* Global error code accessed by
161 * HP_SetErrorCode, HP_GetErrorCode
162 * macros
163 */
164
165 HP_UInt16 HP_ErrorCount; /* Counts how many errors were set
166 */
167 #ifndef OO_INTERFACE
168 /* pointer to flush buffer function: */
169 HP_StdFuncPrefix (*pFlushOutBuffer) (void *, unsigned long, HP_pUByte, HP_SInt32);
170 #else
171 MJetlibClient *pClient;
172 #endif
173
174 unsigned long cookie; /* magic cookie used by callers any way they like
175 * this cookie is passed to callbacks like
176 * pFlushOutBuffer
177 */
178
179 } HP_StreamStructType;
180
181 typedef HP_StreamStructType *HP_StreamHandleType;
182
183 #ifndef OO_INTERFACE
184 #define HP_InitFuncPrefix HP_StreamHandleType
185 typedef HP_StdFuncPrefix (*flushFunctionType) (HP_StreamHandleType, unsigned long, HP_pUByte, HP_SInt32);
186 #else
187 #define HP_InitFuncPrefix extern "C" HP_StreamHandleType
188
189 /* Also, declare a mixin class that defines an interface that should
190 * be used to flush the buffer. In C++, this is preferred over
191 * pointers to functions.
192 *
193 * Any client class that needs to use Jetlib should publicly derive
194 * from MJetlibClient. The client class then defines the
195 * FlushOutBuffer method.
196 */
197 class MJetlibClient
198 {
199 public:
200 virtual void FlushOutBuffer(HP_StreamHandleType pStream,
201 unsigned long cookie,
202 HP_pUByte pOutBuffer,
203 HP_SInt32 currentBufferLen) = 0;
204
205 /* Compiler generated default constructor, copy constructor,
206 * operator=, and destructor.
207 */
208
209 };
210
211 #endif /* OO_INTERFACE */
212
213
214 #endif
215
216
217 #ifdef HP_BYTE_STREAM_PROTOCOL
218 #ifndef HP_WindowsAPI
219
220
221
222 #ifndef ERRORFUNC
223 #define HP_SetErrorCode(pStream, value) \
224 (pStream)->HP_ErrorCode = (HP_ErrorCodeType) value; \
225 (pStream)->HP_ErrorCount++
226 #else
227 extern void HP_SetErrorCode(HP_StreamHandleType pStream, HP_ErrorCodeType value);
228 #endif
229 #define HP_GetErrorCode(pStream) (pStream)->HP_ErrorCode
230 #define HP_GetErrorCount(pStream) (pStream)->HP_ErrorCount
231 #define HP_NoErrors(pStream) (!(pStream)->HP_ErrorCode)
232 #define HP_LibErrors(pStream) (pStream->HP_ErrorCode < 0)
233
234 #define HP_OutBufferRemaining(pStream) \
235 (pStream->HP_OutBufferMaxSize - pStream->HP_CurrentBufferLen)
236
237 #define HP_BufferOverflow (pStream) \
238 (pStream->HP_CurrentBufferLen > pStream->HP_OutBufferMaxSize)
239
240 #endif
241 #endif
242
243 #define HP_BeginSession 0x41
244 #define HP_EndSession 0x42
245 #define HP_BeginPage 0x43
246 #define HP_EndPage 0x44
247 #define HP_VendorUnique 0x46
248 #define HP_Comment 0x47
249 #define HP_OpenDataSource 0x48
250 #define HP_CloseDataSource 0x49
251 #define HP_EchoComment 0x4a
252 #define HP_Query 0x4b
253
254 #define HP_BeginFontHeader 0x4f
255 #define HP_ReadFontHeader 0x50
256 #define HP_EndFontHeader 0x51
257 #define HP_BeginChar 0x52
258 #define HP_ReadChar 0x53
259 #define HP_EndChar 0x54
260 #define HP_RemoveFont 0x55
261 #define HP_SetCharAttribute 0x56
262 #define HP_SetDefaultGS 0x57
263 #define HP_SetColorTreatment 0x58
264
265 #define HP_BeginStream 0x5b
266 #define HP_ReadStream 0x5c
267 #define HP_EndStream 0x5d
268 #define HP_ExecStream 0x5e
269 #define HP_RemoveStream 0x5F
270 #define HP_PopGS 0x60
271 #define HP_PushGS 0x61
272 #define HP_SetClipReplace 0x62
273 #define HP_SetBrushSource 0x63
274 #define HP_SetCharAngle 0x64
275 #define HP_SetCharScale 0x65
276 #define HP_SetCharShear 0x66
277 #define HP_SetClipIntersect 0x67
278 #define HP_SetClipRectangle 0x68
279 #define HP_SetClipToPage 0x69
280 #define HP_SetColorSpace 0x6a
281 #define HP_SetCursor 0x6b
282 #define HP_SetCursorRel 0x6c
283 #define HP_SetHalftoneMethod 0x6d
284 #define HP_SetFillMode 0x6e
285 #define HP_SetFont 0x6f
286 #define HP_SetLineDash 0x70
287 #define HP_SetLineCap 0x71
288 #define HP_SetLineJoin 0x72
289 #define HP_SetMiterLimit 0x73
290 #define HP_SetPageDefaultCTM 0x74
291 #define HP_SetPageOrigin 0x75
292 #define HP_SetPageRotation 0x76
293 #define HP_SetPageScale 0x77
294 #define HP_SetPaintTxMode 0x78
295 #define HP_SetPenSource 0x79
296 #define HP_SetPenWidth 0x7a
297 #define HP_SetROP 0x7b
298 #define HP_SetSourceTxMode 0x7c
299 #define HP_SetCharBoldValue 0x7d
300
301 #ifdef XL_30
302 #define HP_SetNeutralAxis 0x7e
303 #endif
304
305 #define HP_SetClipMode 0x7f
306 #define HP_SetPathToClip 0x80
307 #define HP_SetCharSubMode 0x81
308
309 #define HP_CloseSubPath 0x84
310 #define HP_NewPath 0x85
311 #define HP_PaintPath 0x86
312
313
314 #define HP_ArcPath 0x91
315
316 #ifdef XL_30
317 #define HP_SetColorTrapping 0x92
318 #endif
319
320 #define HP_BezierPath 0x93
321
322 #ifdef XL_30
323 #define HP_SetAdaptiveHalftoning 0x94
324 #endif
325
326 #define HP_BezierRelPath 0x95
327 #define HP_Chord 0x96
328 #define HP_ChordPath 0x97
329 #define HP_Ellipse 0x98
330 #define HP_EllipsePath 0x99
331
332 #define HP_LinePath 0x9b
333
334 #define HP_LineRelPath 0x9d
335 #define HP_Pie 0x9e
336 #define HP_PiePath 0x9f
337 #define HP_Rectangle 0xa0
338 #define HP_RectanglePath 0xa1
339 #define HP_RoundRectangle 0xa2
340 #define HP_RoundRectanglePath 0xa3
341
342 #define HP_Text 0xa8
343 #define HP_TextPath 0xa9
344 #define HP_SystemText 0xaa
345
346 #define HP_BeginImage 0xb0
347 #define HP_ReadImage 0xb1
348 #define HP_EndImage 0xb2
349 #define HP_BeginRastPattern 0xb3
350 #define HP_ReadRastPattern 0xb4
351 #define HP_EndRastPattern 0xb5
352 #define HP_BeginScan 0xb6
353
354 #define HP_EndScan 0xb8
355 #define HP_ScanLineRel 0xb9
356
357 #ifdef XL_30
358 #define HP_PassThrough 0xbf
359 #endif
360
361 #ifdef FAX_10
362
363 #define HP_SetJobAttribute 0x45
364
365 /* Add new fax operators here */
366
367
368 #endif
369
370 /* end of #defines for operators */
371
372 /* defines for data tags */
373 #define HP_UByteData 0xc0
374 #define HP_UInt16Data 0xc1
375 #define HP_UInt32Data 0xc2
376 #define HP_SInt16Data 0xc3
377 #define HP_SInt32Data 0xc4
378 #define HP_Real32Data 0xc5
379 /* 0xc6 */
380 #define HP_String 0xc7
381 #define HP_UByteArray 0xc8
382 #define HP_UInt16Array 0xc9
383 #define HP_UInt32Array 0xca
384 #define HP_SInt16Array 0xcb
385 #define HP_SInt32Array 0xcc
386 #define HP_Real32Array 0xcd
387 /* 0xce */
388 /* 0xcf */
389 #define HP_UByteXy 0xd0
390 #define HP_UInt16Xy 0xd1
391 #define HP_UInt32Xy 0xd2
392 #define HP_SInt16Xy 0xd3
393 #define HP_SInt32Xy 0xd4
394 #define HP_Real32Xy 0xd5
395
396 #define HP_UByteBox 0xe0
397 #define HP_UInt16Box 0xe1
398 #define HP_UInt32Box 0xe2
399 #define HP_SInt16Box 0xe3
400 #define HP_SInt32Box 0xe4
401 #define HP_Real32Box 0xe5
402 /* 0xe6 */
403 /* 0xe7 */
404
405 #define HP_8BitAttrId 0xf8
406 #define HP_16BitAttrId 0xf9
407
408 #define HP_EmbeddedData 0xfa
409 #define HP_EmbeddedDataByte 0xfb
410 /* end of #defines for data tags */
411
412
413 /* defines for attribute identifier enumerations: */
414
415 #define HP_CMYColor 1
416 #define HP_PaletteDepth 2
417 #define HP_ColorSpace 3
418 #define HP_NullBrush 4
419 #define HP_NullPen 5
420 #define HP_PaletteData 6
421 #define HP_PaletteIndex 7
422 #define HP_PatternSelectID 8
423 #define HP_GrayLevel 9
424
425 #define HP_RGBColor 11
426 #define HP_PatternOrigin 12
427 #define HP_NewDestinationSize 13
428
429 #define HP_PrimaryArray 14
430 #define HP_PrimaryDepth 15
431 #define HP_ColorimetricColorSpace 17
432 #define HP_XYChromaticities 18
433 #define HP_WhitePointReference 19
434 #define HP_CRGBMinMax 20
435 #define HP_GammaGain 21
436
437 #ifdef XL_30
438 #define HP_AllObjectTypes 29
439 #define HP_TextObjects 30
440 #define HP_VectorObjects 31
441 #define HP_RasterObjects 32
442 #endif
443
444 #define HP_DeviceMatrix 33
445 #define HP_DitherMatrixDataType 34
446 #define HP_DitherOrigin 35
447 #define HP_MediaDest 36
448 #define HP_MediaSize 37
449 #define HP_MediaSource 38
450 #define HP_MediaType 39
451 #define HP_Orientation 40
452 #define HP_PageAngle 41
453 #define HP_PageOrigin 42
454 #define HP_PageScale 43
455 #define HP_ROP3 44
456 #define HP_TxMode 45
457 #define HP_CustomMediaSize 47
458 #define HP_CustomMediaSizeUnits 48
459 #define HP_PageCopies 49
460 #define HP_DitherMatrixSize 50
461 #define HP_DitherMatrixDepth 51
462 #define HP_SimplexPageMode 52
463 #define HP_DuplexPageMode 53
464 #define HP_DuplexPageSide 54
465
466
467 #define HP_ArcDirection 65
468 #define HP_BoundingBox 66
469 #define HP_DashOffset 67
470 #define HP_EllipseDimension 68
471 #define HP_EndPoint 69
472 #define HP_FillMode 70
473 #define HP_LineCapStyle 71
474 #define HP_LineJoinStyle 72
475 #define HP_MiterLength 73
476 #define HP_LineDashStyle 74
477 #define HP_PenWidth 75
478 #define HP_Point 76
479 #define HP_NumberOfPoints 77
480 #define HP_SolidLine 78
481 #define HP_StartPoint 79
482 #define HP_PointType 80
483 #define HP_ControlPoint1 81
484 #define HP_ControlPoint2 82
485 #define HP_ClipRegion 83
486 #define HP_ClipMode 84
487
488 #define HP_ColorDepthArray 97
489 #define HP_ColorDepth 98
490 #define HP_PixelDepth HP_ColorDepth
491 #define HP_BlockHeight 99
492 #define HP_ColorMapping 100
493 #define HP_PixelEncoding HP_ColorMapping
494 #define HP_CompressMode 101
495 #define HP_DestinationBox 102
496 #define HP_DestinationSize 103
497 #define HP_PatternPersistence 104
498 #define HP_PatternDefineID 105
499 #define HP_SourceHeight 107
500 #define HP_SourceWidth 108
501 #define HP_StartLine 109
502 #define HP_PadBytesMultiple 110
503 #define HP_BlockByteLength 111
504 #define HP_NumberOfScanLines 115
505
506 #define HP_PrintableArea 116
507 #define HP_TumbleMode 117
508 #define HP_ContentOrientation 118
509 #define HP_FeedOrientation 119
510
511 #define HP_ColorTreatment 120
512
513
514 #define HP_CommentData 129
515 #define HP_DataOrg 130
516 #define HP_Measure 134
517 #define HP_SourceType 136
518 #define HP_UnitsPerMeasure 137
519 #define HP_QueryKey 138
520 #define HP_StreamName 139
521 #define HP_StreamDataLength 140
522 #define HP_PCLSelectFont 141
523 #define HP_ErrorReport 143
524 #define HP_IOReadTimeOut 144
525
526 #define HP_WritingMode 173
527
528 /* Generic VI attributes */
529
530 #define HP_VUExtension 145
531 #define HP_VUDataLength 146
532
533 #define HP_VUAttr1 147
534 #define HP_VUAttr2 148
535 #define HP_VUAttr3 149
536 #define HP_VUAttr4 150
537 #define HP_VUAttr5 151
538 #define HP_VUAttr6 152
539 #define HP_VUAttr7 153
540 #define HP_VUAttr8 154
541 #define HP_VUAttr9 155
542 #define HP_VUAttr10 156
543 #define HP_VUAttr11 157
544 #define HP_VUAttr12 158
545
546 #ifdef FAX_10
547
548 /* Add new fax VI attributes here */
549
550 //TODO: Clean this up
551 /* JetReady 3.0 defines ***********************************
552 *
553 * In my document on page 42 I have an extension to the VU
554 * command VUJetReadyBeginScan called VUColorConfig with three
555 * enumerated values eGray, eCMY, eCMK_YKn.
556 *********************************************************/
557
558 #define eJR_Gray 0
559 #define eJR_CMY 1
560 #define eJR_CMK_YKn 2
561
562 /* Also, I have VUStripCount, VUStripHeight, VUJetReadyVersion. */
563
564 #define HP_VUStripCount HP_VUAttr1
565 #define HP_VUStripHeight HP_VUAttr2
566 #define HP_VUJetReadyVersion HP_VUAttr3
567
568 /* On page 49 for VUJetReadyReadScan, I have VUObjectType. */
569
570 #define HP_VUObjectType HP_VUAttr4
571 #define HP_VUJR3ColorConfig HP_VUAttr5
572
573 #endif //FAX_10
574
575
576 /* Media Source Defines. It is OK that these are the same as VUAttr1-12 */
577
578 #define HP_VUTableSize 146
579
580 #define HP_VUMediaFinish HP_VUAttr1
581
582 #define HP_VUMediaSource 147
583 #define HP_VUMediaType 148
584
585 #define HP_VUColorTableID 147
586 #define HP_VUTypeOfTable 148
587
588 #define HP_VUDeviceMatrix 147
589 #define HP_VUDeviceMatrixByID 148
590
591 #define HP_VUColorTreatment 147
592 #define HP_VUColorTreatmentByID 148
593
594
595 /* MET Defines */
596
597 #define HP_VUXcoord HP_VUAttr1
598 #define HP_VUYcoord HP_VUAttr2
599 #define HP_VUHeight HP_VUAttr3
600 #define HP_VUWidth HP_VUAttr4
601 #define HP_VUCount HP_VUAttr5
602 #define HP_VUCompType HP_VUAttr6
603 #define HP_VUHorizScale HP_VUAttr7
604 #define HP_VUVertScale HP_VUAttr8
605 #define HP_VUTerms HP_VUAttr9
606
607 /********** MET OPERATOR DEFINES ********************/
608
609 /* Control Operations */
610 #define hp_MET_NEXT_OP 0x6870301B
611 #define hp_MET_STOP_OP 0x6870301C
612 #define hp_MET_START_CHAR 0x6870301D
613 #define hp_MET_STOP_CHAR 0x6870301E
614 /* State Operations */
615 #define hp_MET_THRESHOLD_OP 0x68703001
616 #define hp_MET_CLIP_SOURCE_OP 0x68703002
617 #define hp_MET_DECOMP_BUFF_OP 0x68703003
618 #define hp_MET_PIXEL_CENTER_OP 0x68703004
619 #define hp_MET_WINDOW_OP 0x68703005
620 #define hp_MET_LOGICAL_OP 0x68703006
621 #define hp_MET_PATTERN_OP 0x68703007
622 #define hp_MET_RACE_BUFF_OP 0x68703008
623 /* Marking Operations */
624 #define hp_MET_IMAGE_16_OP 0x68703009
625 #define hp_MET_IMAGE_32_OP 0x6870300A
626 #define hp_MET_OR_IMAGE_32_OP 0x6870300B
627 #define hp_MET_SCALE_IMAGE_OP 0x6870300C
628 #define hp_MET_IMAGE_BLOCK_OP 0x6870300D
629 #define hp_MET_UIP_IMAGE_OP 0x6870300E
630 #define hp_MET_HT_IMAGE_OP 0x6870300F
631 #define hp_MET_POINT_OP 0x68703010
632 #define hp_MET_XLINE_OP 0x68703011
633 #define hp_MET_YLINE_OP 0x68703012
634 #define hp_MET_RUN_OP 0x68703013
635 #define hp_MET_RULE_OP 0x68703014
636 #define hp_MET_PATTERN_RULE_OP 0x68703015
637 #define hp_MET_THIN_VECTOR_OP 0x68703016
638 #define hp_MET_TRIANGLE_OP 0x68703017
639 #define hp_MET_VECTOR_OP 0x68703018
640 #define hp_MET_TRAPEZOID_OP 0x68703019
641 #define hp_MET_DECOMP_STRIP_OP 0x6870301A
642
643 #define HP_PassThroughCommand 158
644 #define HP_PassThroughArray 159
645 #define HP_Diagnostics 160
646 #define HP_CharAngle 161
647 #define HP_CharCode 162
648 #define HP_CharDataSize 163
649 #define HP_CharScale 164
650 #define HP_CharShear 165
651 #define HP_CharSize 166
652 #define HP_FontHeaderLength 167
653 #define HP_FontName 168
654 #define HP_FontFormat 169
655 #define HP_SymbolSet 170
656 #define HP_TextData 171
657 #define HP_CharSubModeArray 172
658 #define HP_WritingMode 173
659 #define HP_BitmapCharScale 174
660 #define HP_XSpacingData 175
661 #define HP_YSpacingData 176
662 #define HP_CharBoldValue 177
663
664 #ifdef FAX_10
665 /* Add new fax attribute ID enumerations here */
666
667 #define HP_SendType 178
668
669 /* Attributes for SetJobAttribute operator */
670 #define HP_JobAttributeName 179
671 #define HP_JobAttributeValue 180
672 #define HP_JobAttributeType 181
673
674 #endif
675
676 /* end of attribute identifier enumerations */
677
678 /* defines for attribute value enumerations: */
679
680 #define HP_eDontCare 4
681 #define HP_eDefault 4
682
683 /* Global Attribute Enumerations *******************************************/
684 #define INVALID_ATTRIBUTE 0
685 #define VALID_ATTRIBUTE 1
686 #define GLOBAL_ATTRIBUTE 2
687
688 /* enable Enumeration ******************************************************/
689 #define HP_eOn 0
690 #define HP_eOff 1
691
692 /* boolean Enumeration *****************************************************/
693 #define HP_eFalse 0
694 #define HP_eTrue 1
695
696 /* SetCharAttributes Wrint Mode Enumerations ****************************************/
697 #define HP_eWriteHorizontal 0
698 #define HP_eWriteVertical 1
699
700 /* BitmapCharScaling Enumerations */
701 #define HP_eDisable 0
702 #define HP_eEnable 1
703
704 /* unitOfMeasure Enumeration *******************************************/
705 #define HP_eInch 0
706 #define HP_eMillimeter 1
707 #define HP_eTenthsOfAMillimeter 2
708
709 /* errorReportingEnumeration *********************************************/
710 #define HP_eNoReporting 0
711 #define HP_eBackChannel 1
712 #define HP_eErrorPage 2
713 #define HP_eBackChAndErrPage 3
714 #define HP_eBackChanAndErrPage 3 /* for backward compatibilty only */
715 #define HP_eNWBackChannel 4
716 #define HP_eNWErrorPage 5
717 #define HP_eNWBackChAndErrPage 6
718
719 /* dataOrganizationEnumeration ********************************************/
720 #define HP_eBinaryHighByteFirst 0
721 #define HP_eBinaryLowByteFirst 1
722
723 /* duplexPageModeEnumeration **********************************************/
724 #define HP_eDuplexHorizontalBinding 0
725 #define HP_eDuplexVerticalBinding 1
726
727 /* duplexPageSideEnumeration **********************************************/
728 #define HP_eFrontMediaSide 0
729 #define HP_eBackMediaSide 1
730
731 /* simplexPageModeEnumeration *********************************************/
732 #define HP_eSimplexFrontSide 0
733
734 /* Orientation Enumeration *************************************************/
735 /* Content Orientation Enumeration *****************************************/
736 /* Feed Orientation Enumeration ********************************************/
737 #define HP_ePortraitOrientation 0
738 #define HP_eLandscapeOrientation 1
739 #define HP_eReversePortrait 2
740 #define HP_eReverseLandscape 3
741 #define HP_eImageOrientation 4
742
743
744 /* mediaSize Enumeration ***************************************************/
745 #define HP_eLetterPaper 0
746 #define HP_eLegalPaper 1
747 #define HP_eA4Paper 2
748 #define HP_eExecPaper 3
749 #define HP_eLedgerPaper 4
750 #define HP_eA3Paper 5
751 #define HP_eCOM10Envelope 6
752 #define HP_eMonarchEnvelope 7
753 #define HP_eC5Envelope 8
754 #define HP_eDLEnvelope 9
755 #define HP_eJB4Paper 10
756 #define HP_eJB5Paper 11
757 #define HP_eB5Envelope 12
758 #define HP_eB5Paper 13
759 #define HP_eJPostcard 14
760 #define HP_eJDoublePostcard 15
761 #define HP_eA5Paper 16
762 #define HP_eA6Paper 17
763 #define HP_eJB6Paper 18
764 #define HP_eJIS8KPaper 19
765 #define HP_eJIS16KPaper 20
766 #define HP_eJISExecPaper 21
767
768 #define HP_eDefaultMediaSize 96
769
770 /* mediaSource Enumeration *************************************************/
771 #define HP_eDefaultSource 0
772 #define HP_eAutoSelect 1
773 #define HP_eManualFeed 2
774 #define HP_eMultiPurposeTray 3
775 #define HP_eUpperCassette 4
776 #define HP_eLowerCassette 5
777 #define HP_eEnvelopeTray 6
778 #define HP_eThirdCassette 7
779
780 /* mediaDestinationEnumeration ********************************************/
781 #define HP_eDefaultBin 0
782 #define HP_eFaceDownBin 1
783 #define HP_eFaceUpBin 2
784 #define HP_eJobOffsetBin 3
785
786 /* compressionEnumeration *************************************************/
787 #define HP_eNoCompression 0
788 #define HP_eRLECompression 1
789 #define HP_eJPEGCompression 2
790 #define HP_eDeltaRowCompression 3
791 #define HP_eFXCompression 6
792
793 /* arcDirectionEnumeration ************************************************/
794 #define HP_eClockWise 0
795 #define HP_eCounterClockWise 1
796
797 /* fillModeEnumeration ****************************************************/
798 #define HP_eNonZeroWinding 0
799 #define HP_eEvenOdd 1
800
801 /* lineEndEnumeration *****************************************************/
802 #define HP_eButtCap 0
803 #define HP_eRoundCap 1
804 #define HP_eSquareCap 2
805 #define HP_eTriangleCap 3
806
807 #define HP_eButtEnd 0 /* xxxEnd for backward compatibility */
808 #define HP_eRoundEnd 1 /* xxxEnd for backward compatibility */
809 #define HP_eSquareEnd 2 /* xxxEnd for backward compatibility */
810 #define HP_eTriangleEnd 3 /* xxxEnd for backward compatibility */
811
812 /* charSubModeEnumeration *************************************************/
813 #define HP_eNoSubstitution 0
814 #define HP_eVerticalSubstitution 1
815
816 /* lineJoinEnumeration ****************************************************/
817 #define HP_eMiterJoin 0
818 #define HP_eRoundJoin 1
819 #define HP_eBevelJoin 2
820 #define HP_eNoJoin 3
821
822 /* dataSourceEnumeration **************************************************/
823 #define HP_eDefaultDataSource 0
824
825 /* colorSpaceEnumeration **************************************************/
826 #define HP_eBiLevel 0
827 #define HP_eGray 1
828 #define HP_eRGB 2
829 #define HP_eCMY 3
830 #define HP_eCIELab 4
831 #define HP_eCRGB 5
832 #define HP_eSRGB 6
833 #define HP_eGraySub 7
834
835
836 /* ditherMatrixEnumeration ************************************************/
837
838 #define HP_eDeviceBest 0
839
840 #ifdef XL_30
841 /* 3.0 Color PQ Settings **************************************************/
842
843 /* HalftoneMethod Enums ***************************************************/
844 #define HP_eHighLPI 0
845 #define HP_eMediumLPI 1
846 #define HP_eLowLPI 2
847 #define HP_eFSED 4
848 #define HP_ePDEA 5
849 #define HP_eAMFM 6
850
851 /* ColorTrapping Enums ****************************************************/
852 /* #define HP_eDisable 0*/
853 #define HP_eMax 1
854 #define HP_eNormal 2
855 #define HP_eLight 3
856
857 /* NeutralAxis Enums ******************************************************/
858 #define HP_eTonerBlack 0
859 #define HP_eProcessBlack 1
860
861 /* AdaptiveHalftone Enums *************************************************/
862
863 /* use eDisable 0 */
864 /* and eEnable 1 */
865 #endif
866
867 /* ColorTreatment Enums ***************************************************/
868 #define HP_eNoTreatment 0
869 #define HP_eScreenMatch 1
870 #define HP_eVivid 2
871
872 /* Form Types Enumeration *************************************************/
873 #define HP_Quality 0
874 #define HP_Performance 1
875 #define HP_Static 2
876 #define HP_Background 3
877
878 /* colorDepthEnumeration **************************************************/
879 #define HP_e1Bit 0
880 #define HP_e4Bit 1
881 #define HP_e8Bit 2
882
883 /* colorMappingEumeration *************************************************/
884 #define HP_eDirectPixel 0
885 #define HP_eIndexedPixel 1
886 #define HP_eDirectPlane 2
887
888 /* diagnosticEumeration ***************************************************/
889 #define HP_eNoDiag 0
890 #define HP_eFilterDiag 1
891 #define HP_eCommandsDiag 2
892 #define HP_ePersonalityDiag 3
893 #define HP_ePageDiag 4
894
895 /* clipmodeEnumeration ***************************************************/
896 #define HP_eInterior 0
897 #define HP_eExterior 1
898
899 /* dataTypeEnumeration ***************************************************/
900 #define HP_eUByte 0
901 #define HP_eSByte 1
902 #define HP_eUInt16 2
903 #define HP_eSInt16 3
904 #define HP_eReal32 4
905
906 /* patternPersistenceEnumeration *****************************************/
907 #define HP_eTempPattern 0
908 #define HP_ePagePattern 1
909 #define HP_eSessionPattern 2
910
911 /* transparancyEnumeration ************************************************/
912 #define HP_eOpaque 0
913 #define HP_eTransparent 1
914
915 /* charSubModeEnumeration ***********************************************/
916 #define HP_eNoSubstitution 0
917 #define HP_eVerticalSubstitution 1
918
919 #ifdef XL_30_PPI
920 /* FormType Enumerations *****************************************/
921 #define HP_eQuality 0
922 #define HP_ePerformance 1
923 #define HP_eStatic 2
924 #define HP_eBackground 3
925 #endif
926
927 /* Color Treatment Enumerations *************************************/
928 #define HP_eNoTreatment 0
929 #define HP_eVivid 2
930 #define HP_eScreenMatch 1
931
932
933 /* ROP Enumerations ******************************************/
934
935 #define HP_eROP0Invalid 0
936 #define HP_eDPSoon 1
937 #define HP_eDPSona 2
938 #define HP_ePSon 3
939 #define HP_eSDPona 4
940 #define HP_eDPon 5
941 #define HP_ePDSxnon 6
942 #define HP_ePDSaon 7
943 #define HP_eSDPnaa 8
944 #define HP_ePDSxon 9
945 #define HP_eDPna 10
946 #define HP_ePSDnaon 11
947 #define HP_eSPna 12
948 #define HP_ePDSnaon 13
949 #define HP_ePDSonon 14
950 #define HP_ePn 15
951 #define HP_ePDSona 16
952 #define HP_eDSon 17
953 #define HP_eSDPxnon 18
954 #define HP_eSDPaon 19
955 #define HP_eDPSxnon 20
956 #define HP_eDPSaon 21
957 #define HP_ePSDPSanaxx 22
958 #define HP_eSPxDSxaxn 23
959 #define HP_eSPxPDxa 24
960 #define HP_eSDPSanaxn 25
961 #define HP_ePDSPaox 26
962 #define HP_eSDPSxaxn 27
963 #define HP_ePSDPaox 28
964 #define HP_eDSPDxaxn 29
965 #define HP_ePDSox 30
966 #define HP_ePDSoan 31
967 #define HP_eDPSnaa 32
968 #define HP_eSDPxon 33
969 #define HP_eDSna 34
970 #define HP_eSPDnaon 35
971 #define HP_eSPxDSxa 36
972 #define HP_ePDSPanaxn 37
973 #define HP_eSDPSaox 38
974 #define HP_eSDPSxnox 39
975 #define HP_eDPSxa 40
976 #define HP_ePSDPSaoxxn 41
977 #define HP_eDPSana 42
978 #define HP_eSSPxPDxaxn 43
979 #define HP_eSPDSoax 44
980 #define HP_ePSDnox 45
981 #define HP_ePSDPxox 46
982 #define HP_ePSDnoan 47
983 #define HP_ePSna 48
984 #define HP_eSDPnaon 49
985 #define HP_eSDPSoox 50
986 #define HP_eSn 51
987 #define HP_eSPDSaox 52
988 #define HP_eSPDSxnox 53
989 #define HP_eSDPox 54
990 #define HP_eSDPoan 55
991 #define HP_ePSDPoax 56
992 #define HP_eSPDnox 57
993 #define HP_eSPDSxox 58
994 #define HP_eSPDnoan 59
995 #define HP_ePSx 60
996 #define HP_eSPDSonox 61
997 #define HP_eSPDSnaox 62
998 #define HP_ePSan 63
999 #define HP_ePSDnaa 64
1000 #define HP_eDPSxon 65
1001 #define HP_eSDxPDxa 66
1002 #define HP_eSPDSanaxn 67
1003 #define HP_eSDna 68
1004 #define HP_eDPSnaon 69
1005 #define HP_eDSPDaox 70
1006 #define HP_ePSDPxaxn 71
1007 #define HP_eSDPxa 72
1008 #define HP_ePDSPDaoxxn 73
1009 #define HP_eDPSDoax 74
1010 #define HP_ePDSnox 75
1011 #define HP_eSDPana 76
1012 #define HP_eSSPxDSxoxn 77
1013 #define HP_ePDSPxox 78
1014 #define HP_ePDSnoan 79
1015 #define HP_ePDna 80
1016 #define HP_eDSPnaon 81
1017 #define HP_eDPSDaox 82
1018 #define HP_eSPDSxaxn 83
1019 #define HP_eDPSonon 84
1020 #define HP_eDn 85
1021 #define HP_eDPSox 86
1022 #define HP_eDPSoan 87
1023 #define HP_ePDSPoax 88
1024 #define HP_eDPSnox 89
1025 #define HP_eDPx 90
1026 #define HP_eDPSDonox 91
1027 #define HP_eDPSDxox 92
1028 #define HP_eDPSnoan 93
1029 #define HP_eDPSDnaox 94
1030 #define HP_eDPan 95
1031 #define HP_ePDSxa 96
1032 #define HP_eDSPDSaoxxn 97
1033 #define HP_eDSPDoax 98
1034 #define HP_eSDPnox 99
1035 #define HP_eSDPSoax 100
1036 #define HP_eDSPnox 101
1037 #define HP_eDSx 102
1038 #define HP_eSDPSonox 103
1039 #define HP_eDSPDSonoxxxn 104
1040 #define HP_ePDSxxn 105
1041 #define HP_eDPSax 106
1042 #define HP_ePSDPSoaxn 107
1043 #define HP_eSDPax 108
1044 #define HP_ePDSPDoaxxn 109
1045 #define HP_eSDPSnoax 110
1046 #define HP_ePDSxnan 111
1047 #define HP_ePDSana 112
1048 #define HP_eSSDxPDxaxn 113
1049 #define HP_eSDPSxox 114
1050 #define HP_eSDPnoan 115
1051 #define HP_eDSPDxox 116
1052 #define HP_eDSPnoan 117
1053 #define HP_eSDPSnaox 118
1054 #define HP_eDSan 119
1055 #define HP_ePDSax 120
1056 #define HP_eDSPDSoaxxn 121
1057 #define HP_eDPSDnoax 122
1058 #define HP_eSDPxnan 123
1059 #define HP_eSPDSnoax 124
1060 #define HP_eDPSxnan 125
1061 #define HP_eSPxDSxo 126
1062 #define HP_eDPSaan 127
1063 #define HP_eDPSaa 128
1064 #define HP_eSPxDSxon 129
1065 #define HP_eDPSxna 130
1066 #define HP_eSPDSnoaxn 131
1067 #define HP_eSDPxna 132
1068 #define HP_ePDSPnoaxn 133
1069 #define HP_eDSPDSoaxx 134
1070 #define HP_ePDSaxn 135
1071 #define HP_eDSa 136
1072 #define HP_eSDPSnaoxn 137
1073 #define HP_eDSPnoa 138
1074 #define HP_eDSPDxoxn 139
1075 #define HP_eSDPnoa 140
1076 #define HP_eSDPSxoxn 141
1077 #define HP_eSSDxPDxax 142
1078 #define HP_ePDSanan 143
1079 #define HP_ePDSxna 144
1080 #define HP_eSDPSnoaxn 145
1081 #define HP_eDPSDPoaxx 146
1082 #define HP_eSPDaxn 147
1083 #define HP_ePSDPSoaxx 148
1084 #define HP_eDPSaxn 149
1085 #define HP_eDPSxx 150
1086 #define HP_ePSDPSonoxx 151
1087 #define HP_eSDPSonoxn 152
1088 #define HP_eDSxn 153
1089 #define HP_eDPSnax 154
1090 #define HP_eSDPSoaxn 155
1091 #define HP_eSPDnax 156
1092 #define HP_eDSPDoaxn 157
1093 #define HP_eDSPDSaoxx 158
1094 #define HP_ePDSxan 159
1095 #define HP_eDPa 160
1096 #define HP_ePDSPnaoxn 161
1097 #define HP_eDPSnoa 162
1098 #define HP_eDPSDxoxn 163
1099 #define HP_ePDSPonoxn 164
1100 #define HP_ePDxn 165
1101 #define HP_eDSPnax 166
1102 #define HP_ePDSPoaxn 167
1103 #define HP_eDPSoa 168
1104 #define HP_eDPSoxn 169
1105 #define HP_eD 170
1106 #define HP_eDPSono 171
1107 #define HP_eSPDSxax 172
1108 #define HP_eDPSDaoxn 173
1109 #define HP_eDSPnao 174
1110 #define HP_eDPno 175
1111 #define HP_ePDSnoa 176
1112 #define HP_ePDSPxoxn 177
1113 #define HP_eSSPxDSxox 178
1114 #define HP_eSDPanan 179
1115 #define HP_ePSDnax 180
1116 #define HP_eDPSDoaxn 181
1117 #define HP_eDPSDPaoxx 182
1118 #define HP_eSDPxan 183
1119 #define HP_ePSDPxax 184
1120 #define HP_eDSPDaoxn 185
1121 #define HP_eDPSnao 186
1122 #define HP_eDSno 187
1123 #define HP_eSPDSanax 188
1124 #define HP_eSDxPDxan 189
1125 #define HP_eDPSxo 190
1126 #define HP_eDPSano 191
1127 #define HP_ePSa 192
1128 #define HP_eSPDSnaoxn 193
1129 #define HP_eSPDSonoxn 194
1130 #define HP_ePSxn 195
1131 #define HP_eSPDnoa 196
1132 #define HP_eSPDSxoxn 197
1133 #define HP_eSDPnax 198
1134 #define HP_ePSDPoaxn 199
1135 #define HP_eSDPoa 200
1136 #define HP_eSPDoxn 201
1137 #define HP_eDPSDxax 202
1138 #define HP_eSPDSaoxn 203
1139 #define HP_eS 204
1140 #define HP_eSDPono 205
1141 #define HP_eSDPnao 206
1142 #define HP_eSPno 207
1143 #define HP_ePSDnoa 208
1144 #define HP_ePSDPxoxn 209
1145 #define HP_ePDSnax 210
1146 #define HP_eSPDSoaxn 211
1147 #define HP_eSSPxPDxax 212
1148 #define HP_eDPSanan 213
1149 #define HP_ePSDPSaoxx 214
1150 #define HP_eDPSxan 215
1151 #define HP_ePDSPxax 216
1152 #define HP_eSDPSaoxn 217
1153 #define HP_eDPSDanax 218
1154 #define HP_eSPxDSxan 219
1155 #define HP_eSPDnao 220
1156 #define HP_eSDno 221
1157 #define HP_eSDPxo 222
1158 #define HP_eSDPano 223
1159 #define HP_ePDSoa 224
1160 #define HP_ePDSoxn 225
1161 #define HP_eDSPDxax 226
1162 #define HP_ePSDPaoxn 227
1163 #define HP_eSDPSxax 228
1164 #define HP_ePDSPaoxn 229
1165 #define HP_eSDPSanax 230
1166 #define HP_eSPxPDxan 231
1167 #define HP_eSSPxDSxax 232
1168 #define HP_eDSPDSanaxxn 233
1169 #define HP_eDPSao 234
1170 #define HP_eDPSxno 235
1171 #define HP_eSDPao 236
1172 #define HP_eSDPxno 237
1173 #define HP_eDSo 238
1174 #define HP_eSDPnoo 239
1175 #define HP_eP 240
1176 #define HP_ePDSono 241
1177 #define HP_ePDSnao 242
1178 #define HP_ePSno 243
1179 #define HP_ePSDnao 244
1180 #define HP_ePDno 245
1181 #define HP_ePDSxo 246
1182 #define HP_ePDSano 247
1183 #define HP_ePDSao 248
1184 #define HP_ePDSxno 249
1185 #define HP_eDPo 250
1186 #define HP_eDPSnoo 251
1187 #define HP_ePSo 252
1188 #define HP_ePSDnoo 253
1189 #define HP_eDPSoo 254
1190 #define HP_eROP255Invalid 255
1191
1192 /* Tumble Mode Enumerations *****************************************/
1193 #define HP_eAdd0Degrees 0
1194 #define HP_eAdd180Degrees 1
1195
1196 #ifdef FAX_10
1197 /* Add new fax attribute value enumerations here */
1198
1199 /* Send Destination Type Enumeration ********************************/
1200 /* this is defined to matche the DJSA component spec */
1201 #define HP_eSendUnspecified 0
1202 #define HP_eSendToEmail 1
1203 #define HP_eSendToSecondaryEmail 2
1204 #define HP_eSendToFax 3
1205 #define HP_eSendToNWFolder 4
1206
1207 #endif
1208
1209 /* VendorUnique Extensions *******************************************/
1210 #define hp_PAINT_SETCOLORTREATMENT 0x68701001
1211 #define hp_PAINT_SETHALFTONEMETHOD 0x68701002
1212 #define hp_PAINT_DOWNLOADCOLORTABLE 0x68701003
1213 #define hp_MEDIA_SELECTMEDIAFINISH 0x68702002
1214 #define hp_SetInternalLUT 0x68702004
1215
1216 #define hp_JR3BeginImage 0x68704000
1217 #define hp_JR3ReadImage 0x68704001
1218 #define hp_JR3EndImage 0x68704002
1219 #define hp_JR3ExecDemo 0x68704003
1220
1221 #define hp_DownloadDeviceTable 0x68705000 /* take table and download to VC */
1222
1223 #define hp_JetReady1p0 0x68702101
1224 #define hp_MET 0x68703000
1225 #define MI_MEMORYINFO_ALLOCATE 0x4D491001
1226 #define MI_MEMORYINFO_DEALLOCATE 0x4D491002
1227
1228 #define hp_JetReadyVersion30 0x00030000
1229 #define hp_JetReadyVersion40 0x00040000
1230
1231 #ifndef HP_WindowsAPI
1232
1233
1234 HP_InitFuncPrefix HP_NewStream(HP_SInt32 outBufferMaxSize, unsigned long cookie);
1235
1236
1237 HP_StdFuncPrefix HP_FlushStreamBuffer(HP_StreamHandleType pStream);
1238
1239 HP_UInt32FuncPrefix HP_FinishStream(HP_StreamHandleType pStream);
1240 #endif
1241
1242 #ifdef HP_TestHarness
1243 extern HP_StreamHandleType HP_GetStreamHandle();
1244 #endif
1245
1246 #define HP_GetStreamBuffLen(pStream) \
1247 ((HP_UInt32) (pStream)->HP_CurrentBufferLen)
1248
1249 #define HP_GetCurrentStreamLen(pStream) \
1250 ((HP_UInt32) (pStream)->HP_CurrentStreamLen)
1251
1252 #define HP_GetStreamBuffPtr(pStream) \
1253 (pStream)->HP_OutBuffer
1254
1255 HP_pUByte HP_GetStreamErrorText(HP_SInt16 errorNumber);
1256
1257 HP_StdFuncPrefix HP_Operator(HP_StreamHandleType pStream, HP_UInt16 operatorId);
1258
1259 HP_StdFuncPrefix HP_AttrId(HP_StreamHandleType pStream, HP_UInt16 attrId);
1260
1261 HP_StdFuncPrefix HP_AttrUByte(HP_StreamHandleType pStream, HP_UByte intValue);
1262
1263 HP_StdFuncPrefix HP_AttrUInt16(HP_StreamHandleType pStream, HP_UInt16 intValue);
1264
1265 HP_StdFuncPrefix HP_AttrSInt16(HP_StreamHandleType pStream, HP_SInt16 intValue);
1266
1267 HP_StdFuncPrefix HP_AttrUInt32(HP_StreamHandleType pStream, HP_UInt32 intValue);
1268
1269 HP_StdFuncPrefix HP_AttrSInt32(HP_StreamHandleType pStream, HP_SInt32 intValue);
1270
1271 HP_StdFuncPrefix HP_AttrReal32(HP_StreamHandleType pStream, HP_Real32 realValue);
1272
1273 HP_StdFuncPrefix HP_AttrXyUByte(HP_StreamHandleType pStream, HP_UByte xValue, HP_UByte yValue);
1274
1275 HP_StdFuncPrefix HP_AttrXyUInt16(HP_StreamHandleType pStream, HP_UInt16 xValue, HP_UInt16 yValue);
1276
1277 HP_StdFuncPrefix HP_AttrXySInt16(HP_StreamHandleType pStream, HP_SInt16 xValue, HP_SInt16 yValue);
1278
1279 HP_StdFuncPrefix HP_AttrXyUInt32(HP_StreamHandleType pStream, HP_UInt32 xValue, HP_UInt32 yValue);
1280
1281 HP_StdFuncPrefix HP_AttrXySInt32(HP_StreamHandleType pStream, HP_SInt32 xValue, HP_SInt32 yValue);
1282
1283 HP_StdFuncPrefix HP_AttrXyReal32(HP_StreamHandleType pStream, HP_Real32 xValue, HP_Real32 yValue);
1284
1285 HP_StdFuncPrefix HP_AttrBoxUByte(HP_StreamHandleType pStream, HP_UByte x1Value, HP_UByte y1Value,
1286 HP_UByte x2Value, HP_UByte y2Value);
1287
1288 HP_StdFuncPrefix HP_AttrBoxUInt16(HP_StreamHandleType pStream, HP_UInt16 x1Value, HP_UInt16 y1Value,
1289 HP_UInt16 x2Value, HP_UInt16 y2Value);
1290
1291 HP_StdFuncPrefix HP_AttrBoxSInt16(HP_StreamHandleType pStream, HP_SInt16 x1Value, HP_SInt16 y1Value,
1292 HP_SInt16 x2Value, HP_SInt16 y2Value);
1293
1294 HP_StdFuncPrefix HP_AttrBoxUInt32(HP_StreamHandleType pStream, HP_UInt32 x1Value, HP_UInt32 y1Value,
1295 HP_UInt32 x2Value, HP_UInt32 y2Value);
1296
1297 HP_StdFuncPrefix HP_AttrBoxSInt32(HP_StreamHandleType pStream, HP_SInt32 x1Value, HP_SInt32 y1Value,
1298 HP_SInt32 x2Value, HP_SInt32 y2Value);
1299
1300 HP_StdFuncPrefix HP_AttrBoxReal32(HP_StreamHandleType pStream, HP_Real32 x1Value, HP_Real32 y1Value,
1301 HP_Real32 x2Value, HP_Real32 y2Value);
1302
1303 HP_StdFuncPrefix HP_AttrUByteArray(HP_StreamHandleType pStream, HP_pUByte array, HP_UInt32 arrayLen);
1304
1305 HP_StdFuncPrefix HP_AttrString(HP_StreamHandleType pStream, HP_pUByte array, HP_UInt32 arrayLen);
1306
1307 HP_StdFuncPrefix HP_AttrUInt16Array(HP_StreamHandleType pStream, HP_pUInt16 array, HP_UInt32 arrayLen);
1308
1309 HP_StdFuncPrefix HP_AttrSInt16Array(HP_StreamHandleType pStream, HP_pSInt16 array, HP_UInt32 arrayLen);
1310
1311 HP_StdFuncPrefix HP_AttrUInt32Array(HP_StreamHandleType pStream, HP_pUInt32 array, HP_UInt32 arrayLen);
1312
1313 HP_StdFuncPrefix HP_AttrSInt32Array(HP_StreamHandleType pStream, HP_pSInt32 array, HP_UInt32 arrayLen);
1314
1315 HP_StdFuncPrefix HP_AttrReal32Array(HP_StreamHandleType pStream, HP_pReal32 array, HP_UInt32 arrayLen);
1316
1317 HP_StdFuncPrefix HP_DataUByteArray(HP_StreamHandleType pStream, HP_pUByte array, HP_UInt32 arrayLen);
1318
1319 HP_StdFuncPrefix HP_DataUInt16Array(HP_StreamHandleType pStream, HP_pUInt16 array, HP_UInt32 arrayLen);
1320
1321 HP_StdFuncPrefix HP_DataUInt32Array(HP_StreamHandleType pStream, HP_pUInt32 array, HP_UInt32 arrayLen);
1322
1323 HP_StdFuncPrefix HP_DataReal32Array(HP_StreamHandleType pStream, HP_pReal32 array, HP_UInt32 arrayLen);
1324
1325 HP_StdFuncPrefix HP_DataUInt16ArrayMSB(HP_StreamHandleType pStream, HP_pUInt16 array, HP_UInt32 arrayLen);
1326
1327 HP_StdFuncPrefix HP_DataUInt32ArrayMSB(HP_StreamHandleType pStream, HP_pUInt32 array, HP_UInt32 arrayLen);
1328
1329 HP_StdFuncPrefix HP_DataReal32ArrayMSB(HP_StreamHandleType pStream, HP_pReal32 array, HP_UInt32 arrayLen);
1330
1331 HP_StdFuncPrefix HP_DataUByteLine(HP_StreamHandleType pStream, HP_pUByte array, HP_UInt32 arrayLen);
1332
1333 HP_StdFuncPrefix HP_EmbeddedDataPrefix(HP_StreamHandleType pStream, HP_UInt32 dataLength);
1334
1335 HP_StdFuncPrefix HP_EmbeddedDataPrefix32(HP_StreamHandleType pStream, HP_UInt32 dataLength);
1336
1337 HP_StdFuncPrefix HP_RawUByte(HP_StreamHandleType pStream, HP_UByte intValue);
1338
1339 HP_StdFuncPrefix HP_RawUInt16(HP_StreamHandleType pStream, HP_UInt16 intValue);
1340
1341 HP_StdFuncPrefix HP_RawUInt16MSB(HP_StreamHandleType pStream, HP_UInt16 intValue);
1342
1343 HP_StdFuncPrefix HP_RawUInt32(HP_StreamHandleType pStream, HP_UInt32 intValue);
1344
1345 HP_StdFuncPrefix HP_RawUInt32MSB(HP_StreamHandleType pStream, HP_UInt32 intValue);
1346
1347 HP_StdFuncPrefix HP_RawReal32(HP_StreamHandleType pStream, HP_Real32 realValue);
1348
1349 HP_StdFuncPrefix HP_RawReal32MSB(HP_StreamHandleType pStream, HP_Real32 realValue);
1350
1351 HP_StdFuncPrefix HP_RawUByteArray(HP_StreamHandleType pStream, HP_pUByte array, HP_UInt32 arrayLen);
1352
1353 HP_StdFuncPrefix HP_RawUInt16ToByteArray(HP_StreamHandleType pStream, HP_pUInt16 array, HP_UInt32 arrayLen);
1354
1355 HP_StdFuncPrefix HP_RawHugeUByteArray(HP_StreamHandleType pStream, HP_pCharHuge array, HP_UInt32 arrayLen);
1356
1357 HP_StdFuncPrefix HP_RawUInt16Array(HP_StreamHandleType pStream, HP_pUInt16 array, HP_UInt32 arrayLen);
1358
1359 HP_StdFuncPrefix HP_RawUInt16ArrayMSB(HP_StreamHandleType pStream, HP_pUInt16 array, HP_UInt32 arrayLen);
1360
1361 HP_StdFuncPrefix HP_RawUInt32Array(HP_StreamHandleType pStream, HP_pUInt32 array, HP_UInt32 arrayLen);
1362
1363 HP_StdFuncPrefix HP_RawUInt32ArrayMSB(HP_StreamHandleType pStream, HP_pUInt32 array, HP_UInt32 arrayLen);
1364
1365 HP_StdFuncPrefix HP_RawReal32Array(HP_StreamHandleType pStream, HP_pReal32 array, HP_UInt32 arrayLen);
1366
1367 HP_StdFuncPrefix HP_RawReal32ArrayMSB(HP_StreamHandleType pStream, HP_pReal32 array, HP_UInt32 arrayLen);
1368
1369 /****************************************************************************
1370 *
1371 * This the the class definition for the ATTRIBUTE structure for the
1372 * all inclusive call HP_DataStream. Attributes created using this structure
1373 * carry data about themselves to the HP_DataStream call, are parsed, and
1374 * turned into the binary data the XL language uses.
1375 *
1376 ***************************************************************************/
1377
1378 struct ATTRIBUTE
1379 {
1380 HP_UByte Tag;
1381 HP_UByte Type;
1382 HP_UInt32 arrayLen;
1383 HP_UInt16 cksum;
1384 union DataValue
1385 {
1386 HP_UByte ubyte;
1387 HP_UInt16 uint16;
1388 HP_SInt16 sint16;
1389 HP_UInt32 uint32;
1390 HP_SInt32 sint32;
1391 HP_Real32 real32;
1392 HP_pUByte ubyte_array;
1393 HP_pUInt16 uint16_array;
1394 HP_pSInt16 sint16_array;
1395 HP_pUInt32 uint32_array;
1396 HP_pSInt32 sint32_array;
1397 HP_pReal32 real32_array;
1398
1399 struct {
1400 HP_UByte x, y;
1401 } UByte_XY;
1402 struct {
1403 HP_UInt16 x, y;
1404 } UInt16_XY;
1405 struct {
1406 HP_SInt16 x, y;
1407 } SInt16_XY;
1408 struct {
1409 HP_UInt32 x, y;
1410 } UInt32_XY;
1411 struct {
1412 HP_SInt32 x, y;
1413 } SInt32_XY;
1414 struct {
1415 HP_Real32 x, y;
1416 } Real32_XY;
1417
1418 struct {
1419 HP_UByte x1, y1, x2, y2;
1420 } UByte_BOX;
1421 struct {
1422 HP_UInt16 x1, y1, x2, y2;
1423 } UInt16_BOX;
1424 struct {
1425 HP_SInt16 x1, y1, x2, y2;
1426 } SInt16_BOX;
1427 struct {
1428 HP_UInt32 x1, y1, x2, y2;
1429 } UInt32_BOX;
1430 struct {
1431 HP_SInt32 x1, y1, x2, y2;
1432 } SInt32_BOX;
1433 struct {
1434 HP_Real32 x1, y1, x2, y2;
1435 } Real32_BOX;
1436 } val;
1437
1438
1439 #ifdef __cplusplus
1440 ATTRIBUTE( HP_UByte aTag, HP_UByte aType )
1441 {
1442 Tag = aTag;
1443 Type = aType;
1444 arrayLen = 0;
1445 cksum = (HP_UInt16)aTag * (HP_UInt16)aType;
1446 }
1447 #endif
1448
1449 };
1450
1451 #ifndef __cplusplus
1452 HP_StdFuncPrefix HP_InitAttribute(struct ATTRIBUTE *, HP_UByte, HP_UByte);
1453 #endif
1454
1455 HP_StdFuncPrefix HP_DataStream(HP_StreamHandleType pStream, HP_UByte Operator, ...);
1456
1457
1458
1459 #ifndef JETASM_BUILD
1460 /*------------------------------------------------------------------
1461 * <PCL XL Stream API Definitions>
1462 *
1463 * Descriptions:
1464 * Each of the following functions correspond to one of the Cheetah
1465 * operators in the Feature Reference Manual. All binary binding
1466 * stream translations are hidden behind those APIs.
1467 *
1468 * NOTE:
1469 * If there are optional sets of parameters for an operator
1470 * there will be multiple functions for the each operator.
1471 *
1472 *--------------------------------------------------------------------*/
1473
1474
1475 HP_StdFuncPrefix HP_AddStreamHeader_1( /* AddStreamHeader signature 1 */
1476 HP_StreamHandleType pStream, /* PCL XL Stream Handle */
1477 HP_UInt16 protocolClass, /* protocol class number */
1478 HP_UInt16 protocolRev, /* protocol class revision */
1479 HP_pUByte commentArray, /* any comment desired */
1480 HP_UInt32 commentArrayLen) /* length of comment array */
1481 ;
1482
1483
1484 HP_StdFuncPrefix HP_ArcPath_1( /* ArcPath signature 1 */
1485
1486 HP_StreamHandleType pStream, /* stream handle */
1487 HP_SInt16 x1Val, /* bounding box top left x */
1488 HP_SInt16 y1Val, /* bounding box top left y */
1489 HP_SInt16 x2Val, /* bounding box bottom right x */
1490 HP_SInt16 y2Val, /* bounding box bottom right y */
1491 HP_SInt16 StartPointX, /* starting point x */
1492 HP_SInt16 StartPointY, /* starting point y */
1493 HP_SInt16 EndPointX, /* ending point x */
1494 HP_SInt16 EndPointY, /* ending point y */
1495 HP_UByte arcDirectionEnum) /* arc direction enumeration */
1496 ;
1497
1498
1499
1500
1501 HP_StdFuncPrefix HP_ArcPath_2( /* ArcPath signature 2 */
1502
1503 HP_StreamHandleType pStream, /* stream handle */
1504 HP_UInt16 x1Val, /* bounding box top left x */
1505 HP_UInt16 y1Val, /* bounding box top left y */
1506 HP_UInt16 x2Val, /* bounding box bottom right x */
1507 HP_UInt16 y2Val, /* bounding box bottom right y */
1508 HP_UInt16 StartPointX, /* starting point x */
1509 HP_UInt16 StartPointY, /* starting point y */
1510 HP_UInt16 EndPointX, /* ending point x */
1511 HP_UInt16 EndPointY, /* ending point y */
1512 HP_UByte arcDirectionEnum) /* arc direction enumeration */
1513 ;
1514
1515
1516
1517
1518 HP_StdFuncPrefix HP_ArcPath_3( /* ArcPath signature 3 */
1519
1520 HP_StreamHandleType pStream, /* stream handle */
1521 HP_SInt32 x1Val, /* bounding box top left x */
1522 HP_SInt32 y1Val, /* bounding box top left y */
1523 HP_SInt32 x2Val, /* bounding box bottom right x */
1524 HP_SInt32 y2Val, /* bounding box bottom right y */
1525 HP_SInt32 StartPointX, /* starting point x */
1526 HP_SInt32 StartPointY, /* starting point y */
1527 HP_SInt32 EndPointX, /* ending point x */
1528 HP_SInt32 EndPointY, /* ending point y */
1529 HP_UByte arcDirectionEnum) /* arc direction enumeration */
1530 ;
1531
1532
1533
1534 HP_StdFuncPrefix HP_ArcPath_4( /* ArcPath signature 4 */
1535
1536 HP_StreamHandleType pStream, /* stream handle */
1537 HP_Real32 x1Val, /* bounding box top left x */
1538 HP_Real32 y1Val, /* bounding box top left y */
1539 HP_Real32 x2Val, /* bounding box bottom right x */
1540 HP_Real32 y2Val, /* bounding box bottom right y */
1541 HP_Real32 StartPointX, /* starting point x */
1542 HP_Real32 StartPointY, /* starting point y */
1543 HP_Real32 EndPointX, /* ending point x */
1544 HP_Real32 EndPointY, /* ending point y */
1545 HP_UByte arcDirectionEnum) /* arc direction enumeration */
1546 ;
1547
1548
1549
1550
1551 HP_StdFuncPrefix HP_BeginChar_1( /* BeginChar signature 1 */
1552
1553 HP_StreamHandleType pStream, /* stream handle */
1554 HP_pUByte fontName, /* array for character's font name */
1555 HP_UInt16 fontNameLen) /* length of font name array */
1556 ;
1557
1558
1559
1560
1561 HP_StdFuncPrefix HP_BeginFontHeader_1( /* BeginFontHeader signature 1 */
1562
1563 HP_StreamHandleType pStream, /* stream handle */
1564 HP_pUByte fontName, /* array for font name */
1565 HP_UInt16 fontNameLen, /* length of font name array */
1566 HP_UByte fontFormat) /* number of font format */
1567 ;
1568
1569
1570
1571 HP_StdFuncPrefix HP_BeginImage_1( /* BeginImage signature 1 */
1572
1573 HP_StreamHandleType pStream, /* stream handle */
1574 HP_UByte colorMappingEnum, /* color mapping enumeration */
1575 HP_UByte colorDepthEnum, /* color depth enumeration */
1576 HP_UInt16 sourceWidth, /* source image width */
1577 HP_UInt16 sourceHeight, /* source image height */
1578 HP_UInt16 destWidth, /* destination height in user units */
1579 HP_UInt16 destHeight) /* destination width in user units */
1580
1581 ;
1582
1583
1584
1585 HP_StdFuncPrefix HP_BeginImage_2( /* BeginImage signature 2 */
1586
1587 HP_StreamHandleType pStream, /* stream handle */
1588 HP_UByte colorMappingEnum, /* color mapping enumeration */
1589 HP_UByte colorDepthEnum, /* color depth enumeration */
1590 HP_UInt16 sourceWidth, /* source image width */
1591 HP_UInt16 sourceHeight, /* source image height */
1592 HP_UInt16 destWidth, /* destination height in user units */
1593 HP_UInt16 destHeight) /* destination width in user units */
1594
1595 ;
1596
1597
1598
1599
1600 HP_StdFuncPrefix HP_BeginImage_3( /* BeginImage signature 3 */
1601
1602 HP_StreamHandleType pStream, /* stream handle */
1603 HP_UByte colorMappingEnum, /* color mapping enumeration */
1604 HP_UByte colorDepthEnum, /* color depth enumeration */
1605 HP_UInt32 sourceWidth, /* source image width */
1606 HP_UInt32 sourceHeight, /* source image height */
1607 HP_UInt16 destWidth, /* destination height in user units */
1608 HP_UInt16 destHeight) /* destination width in user units */
1609
1610 ;
1611
1612
1613
1614
1615 HP_StdFuncPrefix HP_BeginPage_1( /* BeginPage signature 1 */
1616
1617 HP_StreamHandleType pStream, /* stream handle */
1618 HP_UByte orientationEnum, /* page orientation enumeration */
1619 HP_UByte mediaSizeEnum) /* media size enumeration */
1620 ;
1621
1622
1623 HP_StdFuncPrefix HP_BeginPage_2( /* BeginPage signature 2 */
1624
1625 HP_StreamHandleType pStream, /* stream handle */
1626 HP_UByte orientationEnum, /* page orientation enumeration */
1627 HP_UInt16 xSize, /* custom media x-axis size */
1628 HP_UInt16 ySize, /* custom media y-axis size */
1629 HP_UByte unitOfMeasureEnum) /* unit of measure enumeration */
1630 ;
1631
1632
1633 HP_StdFuncPrefix HP_BeginPage_3( /* BeginPage signature 3 */
1634
1635 HP_StreamHandleType pStream, /* stream handle */
1636 HP_UByte orientationEnum, /* page orientation enumeration */
1637 HP_UByte mediaSizeEnum, /* media size enumeration */
1638 HP_UByte mediaSourceEnum) /* media source enumeration */
1639 ;
1640
1641 HP_StdFuncPrefix HP_BeginPage_4( /* BeginPage signature 4 */
1642
1643 HP_StreamHandleType pStream, /* stream handle */
1644 HP_UByte orientationEnum, /* page orientation enumeration */
1645 HP_UInt16 xSize, /* custom media x-axis size */
1646 HP_UInt16 ySize, /* custom media y-axis size */
1647 HP_UByte unitOfMeasureEnum, /* unit of measure enumeration */
1648 HP_UByte mediaSourceEnum) /* media Source enumeration */
1649 ;
1650
1651 HP_StdFuncPrefix HP_BeginPage_5( /* BeginPage signature 1 */
1652
1653 HP_StreamHandleType pStream, /* stream handle */
1654 HP_UByte orientationEnum, /* page orientation enumeration */
1655 HP_UByte mediaSizeEnum, /* media size enumeration */
1656 HP_UByte DuplexModeEnum, /* Set/Clear duplex mode */
1657 HP_UByte DuplexPageSide) /* Front/Back to start */
1658 ;
1659
1660 HP_StdFuncPrefix HP_BeginRastPattern_1( /* BeginRastPattern signature 1 */
1661
1662 HP_StreamHandleType pStream, /* stream handle */
1663 HP_UByte colorMappingEnum, /* color mapping enumeration */
1664 HP_UByte colorDepthEnum, /* color depth enumeration */
1665 HP_UInt16 sourceWidth, /* source image width */
1666 HP_UInt16 sourceHeight, /* source image height */
1667 HP_UInt16 xHeight, /* destination size x-axis */
1668 HP_UInt16 yHeight, /* destination size y-axis */
1669 HP_SInt16 patternDefineID, /* pattern identifier */
1670 HP_UByte patternPersistence) /* pattern persistence */
1671 ;
1672
1673 HP_StdFuncPrefix HP_BeginRastPattern_2( /* BeginRastPattern signature 3 */
1674
1675 HP_StreamHandleType pStream, /* stream handle */
1676 HP_UByte colorMappingEnum, /* color mapping enumeration */
1677 HP_UByte colorDepthEnum, /* color depth enumeration */
1678 HP_UInt32 sourceWidth, /* source image width */
1679 HP_UInt32 sourceHeight, /* source image height */
1680 HP_UInt32 xHeight, /* destination size x-axis */
1681 HP_UInt32 yHeight, /* destination size y-axis */
1682 HP_SInt16 patternDefineID) /* pattern identifier */
1683 ;
1684
1685
1686
1687
1688
1689 HP_StdFuncPrefix HP_BeginScan_1( /* BeginScan signature 1 */
1690
1691 HP_StreamHandleType pStream) /* stream handle */
1692
1693 ;
1694
1695
1696
1697
1698
1699 HP_StdFuncPrefix HP_BeginSession_1( /* BeginSession signature 1 */
1700
1701 HP_StreamHandleType pStream, /* stream handle */
1702 HP_UInt16 xValue, /* x units of measure */
1703 HP_UInt16 yValue, /* y units of measure */
1704 HP_UByte MeasureEnum) /* measure enumeration */
1705 ;
1706
1707
1708 HP_StdFuncPrefix HP_BeginSession_2( /* BeginSession signature 2 */
1709
1710 HP_StreamHandleType pStream, /* stream handle */
1711 HP_UInt16 xValue, /* x units of measure */
1712 HP_UInt16 yValue, /* y units of measure */
1713 HP_UByte MeasureEnum, /* measure enumeration */
1714 HP_UByte errorReportingEnum) /* error reporting enumeration */
1715 ;
1716
1717
1718 HP_StdFuncPrefix HP_BeginStream_1( /* BeginStream signature 1 */
1719
1720 HP_StreamHandleType pStream, /* stream handle */
1721 HP_pUByte streamName, /* array for stream name */
1722 HP_UInt16 streamNameLen) /* length of stream name array */
1723 ;
1724
1725
1726 HP_StdFuncPrefix HP_BezierPath_1( /* BezierPath signature 1 */
1727
1728 HP_StreamHandleType pStream, /* stream handle */
1729 HP_UInt16 numberOfPoints, /* number of points */
1730 HP_UByte pointTypeEnum) /* enum for data type of points */
1731
1732 ;
1733
1734
1735
1736
1737 HP_StdFuncPrefix HP_BezierPath_2( /* BezierPath signature 2 */
1738
1739 HP_StreamHandleType pStream, /* stream handle */
1740 HP_SInt16 ControlPointX1, /* control point x1 */
1741 HP_SInt16 ControlPointY1, /* control point y1 */
1742 HP_SInt16 ControlPointX2, /* control point x2 */
1743 HP_SInt16 ControlPointY2, /* control point y2 */
1744 HP_SInt16 EndPointX, /* ending point x */
1745 HP_SInt16 EndPointY) /* ending point y */
1746 ;
1747
1748
1749
1750
1751 HP_StdFuncPrefix HP_BezierPath_3( /* BezierPath signature 3 */
1752
1753 HP_StreamHandleType pStream, /* stream handle */
1754 HP_UInt16 ControlPointX1, /* control point x1 */
1755 HP_UInt16 ControlPointY1, /* control point y1 */
1756 HP_UInt16 ControlPointX2, /* control point x2 */
1757 HP_UInt16 ControlPointY2, /* control point y2 */
1758 HP_UInt16 EndPointX, /* ending point x */
1759 HP_UInt16 EndPointY) /* ending point y */
1760 ;
1761
1762
1763
1764 HP_StdFuncPrefix HP_BezierPath_4( /* BezierPath signature 4 */
1765
1766 HP_StreamHandleType pStream, /* stream handle */
1767 HP_SInt32 ControlPointX1, /* control point x1 */
1768 HP_SInt32 ControlPointY1, /* control point y1 */
1769 HP_SInt32 ControlPointX2, /* control point x2 */
1770 HP_SInt32 ControlPointY2, /* control point y2 */
1771 HP_SInt32 EndPointX, /* ending point x */
1772 HP_SInt32 EndPointY) /* ending point y */
1773 ;
1774
1775
1776
1777 HP_StdFuncPrefix HP_BezierPath_5( /* BezierPath signature 5 */
1778
1779 HP_StreamHandleType pStream, /* stream handle */
1780 HP_Real32 ControlPointX1, /* control point x1 */
1781 HP_Real32 ControlPointY1, /* control point y1 */
1782 HP_Real32 ControlPointX2, /* control point x2 */
1783 HP_Real32 ControlPointY2, /* control point y2 */
1784 HP_Real32 EndPointX, /* ending point x */
1785 HP_Real32 EndPointY) /* ending point y */
1786 ;
1787
1788
1789
1790 HP_StdFuncPrefix HP_BezierRelPath_1( /* BezierRelPath signature 1 */
1791
1792 HP_StreamHandleType pStream, /* stream handle */
1793 HP_UInt16 numberOfPoints, /* number of points */
1794 HP_UByte pointTypeEnum) /* enum for data type of points */
1795
1796 ;
1797
1798
1799
1800
1801 HP_StdFuncPrefix HP_BezierRelPath_2( /* BezierRelPath signature 2 */
1802
1803 HP_StreamHandleType pStream, /* stream handle */
1804 HP_SInt16 ControlPointX1, /* control point x1 */
1805 HP_SInt16 ControlPointY1, /* control point y1 */
1806 HP_SInt16 ControlPointX2, /* control point x2 */
1807 HP_SInt16 ControlPointY2, /* control point y2 */
1808 HP_SInt16 EndPointX, /* ending point x */
1809 HP_SInt16 EndPointY) /* ending point y */
1810 ;
1811
1812
1813
1814
1815 HP_StdFuncPrefix HP_BezierRelPath_3( /* BezierRelPath signature 3 */
1816
1817 HP_StreamHandleType pStream, /* stream handle */
1818 HP_UInt16 ControlPointX1, /* control point x1 */
1819 HP_UInt16 ControlPointY1, /* control point y1 */
1820 HP_UInt16 ControlPointX2, /* control point x2 */
1821 HP_UInt16 ControlPointY2, /* control point y2 */
1822 HP_UInt16 EndPointX, /* ending point x */
1823 HP_UInt16 EndPointY) /* ending point y */
1824 ;
1825
1826
1827
1828 HP_StdFuncPrefix HP_BezierRelPath_4( /* BezierRelPath signature 4 */
1829
1830 HP_StreamHandleType pStream, /* stream handle */
1831 HP_SInt32 ControlPointX1, /* control point x1 */
1832 HP_SInt32 ControlPointY1, /* control point y1 */
1833 HP_SInt32 ControlPointX2, /* control point x2 */
1834 HP_SInt32 ControlPointY2, /* control point y2 */
1835 HP_SInt32 EndPointX, /* ending point x */
1836 HP_SInt32 EndPointY) /* ending point y */
1837 ;
1838
1839
1840
1841 HP_StdFuncPrefix HP_BezierRelPath_5( /* BezierRelPath signature 5 */
1842
1843 HP_StreamHandleType pStream, /* stream handle */
1844 HP_Real32 ControlPointX1, /* control point x1 */
1845 HP_Real32 ControlPointY1, /* control point y1 */
1846 HP_Real32 ControlPointX2, /* control point x2 */
1847 HP_Real32 ControlPointY2, /* control point y2 */
1848 HP_Real32 EndPointX, /* ending point x */
1849 HP_Real32 EndPointY) /* ending point y */
1850 ;
1851
1852
1853 HP_StdFuncPrefix HP_Chord_1( /* Chord signature 1 */
1854
1855 HP_StreamHandleType pStream, /* stream handle */
1856 HP_SInt16 x1Val, /* bounding box top left x */
1857 HP_SInt16 y1Val, /* bounding box top left y */
1858 HP_SInt16 x2Val, /* bounding box bottom right x */
1859 HP_SInt16 y2Val, /* bounding box bottom right y */
1860 HP_SInt16 StartPointX, /* starting point x */
1861 HP_SInt16 StartPointY, /* starting point y */
1862 HP_SInt16 EndPointX, /* ending point x */
1863 HP_SInt16 EndPointY) /* ending point y */
1864 ;
1865
1866
1867
1868
1869 HP_StdFuncPrefix HP_Chord_2( /* Chord signature 2 */
1870
1871 HP_StreamHandleType pStream, /* stream handle */
1872 HP_UInt16 x1Val, /* bounding box top left x */
1873 HP_UInt16 y1Val, /* bounding box top left y */
1874 HP_UInt16 x2Val, /* bounding box bottom right x */
1875 HP_UInt16 y2Val, /* bounding box bottom right y */
1876 HP_UInt16 StartPointX, /* starting point x */
1877 HP_UInt16 StartPointY, /* starting point y */
1878 HP_UInt16 EndPointX, /* ending point x */
1879 HP_UInt16 EndPointY) /* ending point y */
1880 ;
1881
1882
1883
1884 HP_StdFuncPrefix HP_Chord_3( /* Chord signature 3 */
1885
1886 HP_StreamHandleType pStream, /* stream handle */
1887 HP_SInt32 x1Val, /* bounding box top left x */
1888 HP_SInt32 y1Val, /* bounding box top left y */
1889 HP_SInt32 x2Val, /* bounding box bottom right x */
1890 HP_SInt32 y2Val, /* bounding box bottom right y */
1891 HP_SInt32 StartPointX, /* starting point x */
1892 HP_SInt32 StartPointY, /* starting point y */
1893 HP_SInt32 EndPointX, /* ending point x */
1894 HP_SInt32 EndPointY) /* ending point y */
1895 ;
1896
1897
1898
1899
1900 HP_StdFuncPrefix HP_Chord_4( /* Chord signature 4 */
1901
1902 HP_StreamHandleType pStream, /* stream handle */
1903 HP_Real32 x1Val, /* bounding box top left x */
1904 HP_Real32 y1Val, /* bounding box top left y */
1905 HP_Real32 x2Val, /* bounding box bottom right x */
1906 HP_Real32 y2Val, /* bounding box bottom right y */
1907 HP_Real32 StartPointX, /* starting point x */
1908 HP_Real32 StartPointY, /* starting point y */
1909 HP_Real32 EndPointX, /* ending point x */
1910 HP_Real32 EndPointY) /* ending point y */
1911 ;
1912
1913
1914
1915
1916 HP_StdFuncPrefix HP_ChordPath_1( /* ChordPath signature 1 */
1917
1918 HP_StreamHandleType pStream, /* stream handle */
1919 HP_SInt16 x1Val, /* bounding box top left x */
1920 HP_SInt16 y1Val, /* bounding box top left y */
1921 HP_SInt16 x2Val, /* bounding box bottom right x */
1922 HP_SInt16 y2Val, /* bounding box bottom right y */
1923 HP_SInt16 StartPointX, /* starting point x */
1924 HP_SInt16 StartPointY, /* starting point y */
1925 HP_SInt16 EndPointX, /* ending point x */
1926 HP_SInt16 EndPointY) /* ending point y */
1927 ;
1928
1929
1930
1931
1932 HP_StdFuncPrefix HP_ChordPath_2( /* ChordPath signature 2 */
1933
1934 HP_StreamHandleType pStream, /* stream handle */
1935 HP_UInt16 x1Val, /* bounding box top left x */
1936 HP_UInt16 y1Val, /* bounding box top left y */
1937 HP_UInt16 x2Val, /* bounding box bottom right x */
1938 HP_UInt16 y2Val, /* bounding box bottom right y */
1939 HP_UInt16 StartPointX, /* starting point x */
1940 HP_UInt16 StartPointY, /* starting point y */
1941 HP_UInt16 EndPointX, /* ending point x */
1942 HP_UInt16 EndPointY) /* ending point y */
1943 ;
1944
1945
1946
1947 HP_StdFuncPrefix HP_ChordPath_3( /* ChordPath signature 3 */
1948
1949 HP_StreamHandleType pStream, /* stream handle */
1950 HP_SInt32 x1Val, /* bounding box top left x */
1951 HP_SInt32 y1Val, /* bounding box top left y */
1952 HP_SInt32 x2Val, /* bounding box bottom right x */
1953 HP_SInt32 y2Val, /* bounding box bottom right y */
1954 HP_SInt32 StartPointX, /* starting point x */
1955 HP_SInt32 StartPointY, /* starting point y */
1956 HP_SInt32 EndPointX, /* ending point x */
1957 HP_SInt32 EndPointY) /* ending point y */
1958 ;
1959
1960
1961
1962
1963 HP_StdFuncPrefix HP_ChordPath_4( /* ChordPath signature 4 */
1964
1965 HP_StreamHandleType pStream, /* stream handle */
1966 HP_Real32 x1Val, /* bounding box top left x */
1967 HP_Real32 y1Val, /* bounding box top left y */
1968 HP_Real32 x2Val, /* bounding box bottom right x */
1969 HP_Real32 y2Val, /* bounding box bottom right y */
1970 HP_Real32 StartPointX, /* starting point x */
1971 HP_Real32 StartPointY, /* starting point y */
1972 HP_Real32 EndPointX, /* ending point x */
1973 HP_Real32 EndPointY) /* ending point y */
1974 ;
1975
1976
1977
1978
1979 HP_StdFuncPrefix HP_CloseDataSource_1( /* CloseDataSource signature 1 */
1980
1981 HP_StreamHandleType pStream) /* stream handle */
1982 ;
1983
1984
1985
1986
1987 HP_StdFuncPrefix HP_CloseSubPath_1( /* CloseSubPath signature 1 */
1988
1989 HP_StreamHandleType pStream) /* stream handle */
1990 ;
1991
1992
1993
1994
1995
1996 HP_StdFuncPrefix HP_Comment_1( /* Comment signature 1 */
1997
1998 HP_StreamHandleType pStream, /* stream handle */
1999 HP_pUByte array, /* array for comment data/text */
2000 HP_UInt32 arrayLen) /* length of comment data array */
2001 ;
2002
2003 HP_StdFuncPrefix HP_Comment_2( /* Comment signature 1 */
2004
2005 HP_StreamHandleType pStream, /* stream handle */
2006 HP_pCharHuge array) /* length of comment data array */
2007 ;
2008
2009 HP_StdFuncPrefix HP_EchoComment_1( /* EchoComment signature 1 */
2010
2011 HP_StreamHandleType pStream, /* stream handle */
2012 HP_pUByte array, /* array for comment data/text */
2013 HP_UInt32 arrayLen) /* length of comment data array */
2014 ;
2015
2016 HP_StdFuncPrefix HP_Ellipse_1( /* Ellipse signature 1 */
2017
2018 HP_StreamHandleType pStream, /* stream handle */
2019 HP_SInt16 x1Val, /* bounding box top left x */
2020 HP_SInt16 y1Val, /* bounding box top left y */
2021 HP_SInt16 x2Val, /* bounding box bottom right x */
2022 HP_SInt16 y2Val) /* bounding box bottom right y */
2023 ;
2024
2025
2026
2027
2028 HP_StdFuncPrefix HP_Ellipse_2( /* Ellipse signature 2 */
2029
2030 HP_StreamHandleType pStream, /* stream handle */
2031 HP_UInt16 x1Val, /* bounding box top left x */
2032 HP_UInt16 y1Val, /* bounding box top left y */
2033 HP_UInt16 x2Val, /* bounding box bottom right x */
2034 HP_UInt16 y2Val) /* bounding box bottom right y */
2035 ;
2036
2037
2038
2039 HP_StdFuncPrefix HP_Ellipse_3( /* Ellipse signature 3 */
2040
2041 HP_StreamHandleType pStream, /* stream handle */
2042 HP_SInt32 x1Val, /* bounding box top left x */
2043 HP_SInt32 y1Val, /* bounding box top left y */
2044 HP_SInt32 x2Val, /* bounding box bottom right x */
2045 HP_SInt32 y2Val) /* bounding box bottom right y */
2046 ;
2047
2048
2049
2050 HP_StdFuncPrefix HP_Ellipse_4( /* Ellipse signature 4 */
2051
2052 HP_StreamHandleType pStream, /* stream handle */
2053 HP_Real32 x1Val, /* bounding box top left x */
2054 HP_Real32 y1Val, /* bounding box top left y */
2055 HP_Real32 x2Val, /* bounding box bottom right x */
2056 HP_Real32 y2Val) /* bounding box bottom right y */
2057 ;
2058
2059
2060
2061
2062 HP_StdFuncPrefix HP_EllipsePath_1( /* EllipsePath signature 1 */
2063
2064 HP_StreamHandleType pStream, /* stream handle */
2065 HP_SInt16 x1Val, /* bounding box top left x */
2066 HP_SInt16 y1Val, /* bounding box top left y */
2067 HP_SInt16 x2Val, /* bounding box bottom right x */
2068 HP_SInt16 y2Val) /* bounding box bottom right y */
2069 ;
2070
2071
2072
2073
2074 HP_StdFuncPrefix HP_EllipsePath_2( /* EllipsePath signature 2 */
2075
2076 HP_StreamHandleType pStream, /* stream handle */
2077 HP_UInt16 x1Val, /* bounding box top left x */
2078 HP_UInt16 y1Val, /* bounding box top left y */
2079 HP_UInt16 x2Val, /* bounding box bottom right x */
2080 HP_UInt16 y2Val) /* bounding box bottom right y */
2081 ;
2082
2083
2084
2085 HP_StdFuncPrefix HP_EllipsePath_3( /* EllipsePath signature 3 */
2086
2087 HP_StreamHandleType pStream, /* stream handle */
2088 HP_SInt32 x1Val, /* bounding box top left x */
2089 HP_SInt32 y1Val, /* bounding box top left y */
2090 HP_SInt32 x2Val, /* bounding box bottom right x */
2091 HP_SInt32 y2Val) /* bounding box bottom right y */
2092 ;
2093
2094
2095
2096 HP_StdFuncPrefix HP_EllipsePath_4( /* EllipsePath signature 4 */
2097
2098 HP_StreamHandleType pStream, /* stream handle */
2099 HP_Real32 x1Val, /* bounding box top left x */
2100 HP_Real32 y1Val, /* bounding box top left y */
2101 HP_Real32 x2Val, /* bounding box bottom right x */
2102 HP_Real32 y2Val) /* bounding box bottom right y */
2103 ;
2104
2105
2106
2107 HP_StdFuncPrefix HP_EndChar_1( /* EndChar signature 1 */
2108
2109 HP_StreamHandleType pStream) /* stream handle */
2110 ;
2111
2112
2113
2114
2115 HP_StdFuncPrefix HP_EndFontHeader_1( /* EndFontHeader signature 1 */
2116
2117 HP_StreamHandleType pStream) /* stream handle */
2118 ;
2119
2120
2121
2122
2123 HP_StdFuncPrefix HP_EndImage_1( /* EndImage signature 1 */
2124
2125 HP_StreamHandleType pStream) /* stream handle */
2126 ;
2127
2128
2129
2130 HP_StdFuncPrefix HP_EndPage_1( /* EndPage signature 1 */
2131
2132 HP_StreamHandleType pStream) /* stream handle */
2133 ;
2134
2135
2136 HP_StdFuncPrefix HP_EndPage_2( /* EndPage signature 2 */
2137
2138 HP_StreamHandleType pStream, /* stream handle */
2139 HP_UInt16 pageCopies) /* number of copies */
2140 ;
2141
2142
2143 HP_StdFuncPrefix HP_EndPage_3( /* EndPage signature 3 */
2144
2145 HP_StreamHandleType pStream, /* stream handle */
2146 HP_UInt16 pageCopies, /* number of copies */
2147 HP_UByte mediaSourceEnum) /* media source enumeration */
2148 ;
2149
2150 HP_StdFuncPrefix HP_EndPage_4( /* EndPage signature 4 */
2151
2152 HP_StreamHandleType pStream, /* stream handle */
2153 HP_UByte mediaSourceEnum) /* media source enumeration */
2154 ;
2155
2156
2157 HP_StdFuncPrefix HP_EndRastPattern_1( /* EndRastPattern signature 1 */
2158
2159 HP_StreamHandleType pStream) /* stream handle */
2160 ;
2161
2162
2163
2164
2165 HP_StdFuncPrefix HP_EndScan_1( /* EndScan signature 1 */
2166
2167 HP_StreamHandleType pStream) /* stream handle */
2168 ;
2169
2170
2171
2172 HP_StdFuncPrefix HP_EndSession_1( /* EndSession signature 1 */
2173
2174 HP_StreamHandleType pStream) /* stream handle */
2175 ;
2176
2177
2178 HP_StdFuncPrefix HP_EndStream_1( /* EndStream signature 1 */
2179
2180 HP_StreamHandleType pStream) /* stream handle */
2181 ;
2182
2183
2184 HP_StdFuncPrefix HP_LinePath_1( /* LinePath signature 1 */
2185
2186 HP_StreamHandleType pStream, /* stream handle */
2187 HP_UInt16 numberOfPoints, /* number of points */
2188 HP_UByte pointTypeEnum) /* enum for data type of points */
2189
2190 ;
2191
2192
2193 HP_StdFuncPrefix HP_LinePath_2( /* LinePath signature 2 */
2194
2195 HP_StreamHandleType pStream, /* stream handle */
2196 HP_SInt16 EndPointX, /* ending point x */
2197 HP_SInt16 EndPointY) /* ending point y */
2198
2199 ;
2200
2201
2202
2203
2204 HP_StdFuncPrefix HP_LinePath_3( /* LinePath signature 3 */
2205
2206 HP_StreamHandleType pStream, /* stream handle */
2207 HP_UInt16 EndPointX, /* ending point x */
2208 HP_UInt16 EndPointY) /* ending point y */
2209
2210 ;
2211
2212
2213
2214
2215 HP_StdFuncPrefix HP_LinePath_4( /* LinePath signature 4 */
2216
2217 HP_StreamHandleType pStream, /* stream handle */
2218 HP_SInt32 EndPointX, /* ending point x */
2219 HP_SInt32 EndPointY) /* ending point y */
2220
2221 ;
2222
2223
2224
2225
2226 HP_StdFuncPrefix HP_LinePath_5( /* LinePath signature 5 */
2227
2228 HP_StreamHandleType pStream, /* stream handle */
2229 HP_Real32 EndPointX, /* ending point x */
2230 HP_Real32 EndPointY) /* ending point y */
2231
2232 ;
2233
2234
2235
2236
2237 HP_StdFuncPrefix HP_LineRelPath_1( /* LineRelPath signature 1 */
2238
2239 HP_StreamHandleType pStream, /* stream handle */
2240 HP_UInt16 numberOfPoints, /* number of points */
2241 HP_UByte pointTypeEnum) /* enum for data type of points */
2242
2243 ;
2244
2245
2246
2247
2248 HP_StdFuncPrefix HP_LineRelPath_2( /* LineRelPath signature 2 */
2249
2250 HP_StreamHandleType pStream, /* stream handle */
2251 HP_SInt16 EndPointX, /* ending point x */
2252 HP_SInt16 EndPointY) /* ending point y */
2253
2254 ;
2255
2256
2257
2258
2259 HP_StdFuncPrefix HP_LineRelPath_3( /* LineRelPath signature 3 */
2260
2261 HP_StreamHandleType pStream, /* stream handle */
2262 HP_UInt16 EndPointX, /* ending point x */
2263 HP_UInt16 EndPointY) /* ending point y */
2264
2265 ;
2266
2267
2268
2269
2270 HP_StdFuncPrefix HP_LineRelPath_4( /* LineRelPath signature 4 */
2271
2272 HP_StreamHandleType pStream, /* stream handle */
2273 HP_SInt32 EndPointX, /* ending point x */
2274 HP_SInt32 EndPointY) /* ending point y */
2275
2276 ;
2277
2278
2279
2280
2281 HP_StdFuncPrefix HP_LineRelPath_5( /* LineRelPath signature 5 */
2282
2283 HP_StreamHandleType pStream, /* stream handle */
2284 HP_Real32 EndPointX, /* ending point x */
2285 HP_Real32 EndPointY) /* ending point y */
2286
2287 ;
2288
2289
2290
2291
2292 HP_StdFuncPrefix HP_NewPath_1( /* NewPath signature 1 */
2293
2294 HP_StreamHandleType pStream) /* stream handle */
2295 ;
2296
2297
2298 /* This is a temporary API until the firmware catches up to the Vol. 2 spec */
2299
2300 HP_StdFuncPrefix HP_OpenDataSource_Temp1( /* OpenDataSource signature Temp1 */
2301
2302 HP_StreamHandleType pStream, /* stream handle */
2303 HP_UByte dataSourceEnum) /* dataSourceEnumeration */
2304 ;
2305
2306
2307 HP_StdFuncPrefix HP_OpenDataSource_1( /* OpenDataSource signature 1 */
2308
2309 HP_StreamHandleType pStream, /* stream handle */
2310 HP_UByte dataSourceEnum, /* dataSourceEnumeration */
2311 HP_UByte dataOrgEnum) /* dataOrgEnumeration */
2312 ;
2313
2314
2315
2316 HP_StdFuncPrefix HP_PaintPath_1( /* PaintPath signature 1 */
2317
2318 HP_StreamHandleType pStream) /* stream handle */
2319 ;
2320
2321
2322
2323
2324 HP_StdFuncPrefix HP_Pie_1( /* Pie signature 1 */
2325
2326 HP_StreamHandleType pStream, /* stream handle */
2327 HP_SInt16 x1Val, /* bounding box top left x */
2328 HP_SInt16 y1Val, /* bounding box top left y */
2329 HP_SInt16 x2Val, /* bounding box bottom right x */
2330 HP_SInt16 y2Val, /* bounding box bottom right y */
2331 HP_SInt16 StartPointX, /* starting point x */
2332 HP_SInt16 StartPointY, /* starting point y */
2333 HP_SInt16 EndPointX, /* ending point x */
2334 HP_SInt16 EndPointY) /* ending point y */
2335 ;
2336
2337
2338
2339
2340 HP_StdFuncPrefix HP_Pie_2( /* Pie signature 2 */
2341
2342 HP_StreamHandleType pStream, /* stream handle */
2343 HP_UInt16 x1Val, /* bounding box top left x */
2344 HP_UInt16 y1Val, /* bounding box top left y */
2345 HP_UInt16 x2Val, /* bounding box bottom right x */
2346 HP_UInt16 y2Val, /* bounding box bottom right y */
2347 HP_UInt16 StartPointX, /* starting point x */
2348 HP_UInt16 StartPointY, /* starting point y */
2349 HP_UInt16 EndPointX, /* ending point x */
2350 HP_UInt16 EndPointY) /* ending point y */
2351 ;
2352
2353
2354
2355 HP_StdFuncPrefix HP_Pie_3( /* Pie signature 3 */
2356
2357 HP_StreamHandleType pStream, /* stream handle */
2358 HP_SInt32 x1Val, /* bounding box top left x */
2359 HP_SInt32 y1Val, /* bounding box top left y */
2360 HP_SInt32 x2Val, /* bounding box bottom right x */
2361 HP_SInt32 y2Val, /* bounding box bottom right y */
2362 HP_SInt32 StartPointX, /* starting point x */
2363 HP_SInt32 StartPointY, /* starting point y */
2364 HP_SInt32 EndPointX, /* ending point x */
2365 HP_SInt32 EndPointY) /* ending point y */
2366 ;
2367
2368
2369
2370
2371 HP_StdFuncPrefix HP_Pie_4( /* Pie signature 4 */
2372
2373 HP_StreamHandleType pStream, /* stream handle */
2374 HP_Real32 x1Val, /* bounding box top left x */
2375 HP_Real32 y1Val, /* bounding box top left y */
2376 HP_Real32 x2Val, /* bounding box bottom right x */
2377 HP_Real32 y2Val, /* bounding box bottom right y */
2378 HP_Real32 StartPointX, /* starting point x */
2379 HP_Real32 StartPointY, /* starting point y */
2380 HP_Real32 EndPointX, /* ending point x */
2381 HP_Real32 EndPointY) /* ending point y */
2382 ;
2383
2384
2385
2386
2387 HP_StdFuncPrefix HP_PiePath_1( /* PiePath signature 1 */
2388
2389 HP_StreamHandleType pStream, /* stream handle */
2390 HP_SInt16 x1Val, /* bounding box top left x */
2391 HP_SInt16 y1Val, /* bounding box top left y */
2392 HP_SInt16 x2Val, /* bounding box bottom right x */
2393 HP_SInt16 y2Val, /* bounding box bottom right y */
2394 HP_SInt16 StartPointX, /* starting point x */
2395 HP_SInt16 StartPointY, /* starting point y */
2396 HP_SInt16 EndPointX, /* ending point x */
2397 HP_SInt16 EndPointY) /* ending point y */
2398 ;
2399
2400
2401
2402
2403 HP_StdFuncPrefix HP_PiePath_2( /* PiePath signature 2 */
2404
2405 HP_StreamHandleType pStream, /* stream handle */
2406 HP_UInt16 x1Val, /* bounding box top left x */
2407 HP_UInt16 y1Val, /* bounding box top left y */
2408 HP_UInt16 x2Val, /* bounding box bottom right x */
2409 HP_UInt16 y2Val, /* bounding box bottom right y */
2410 HP_UInt16 StartPointX, /* starting point x */
2411 HP_UInt16 StartPointY, /* starting point y */
2412 HP_UInt16 EndPointX, /* ending point x */
2413 HP_UInt16 EndPointY) /* ending point y */
2414 ;
2415
2416
2417
2418 HP_StdFuncPrefix HP_PiePath_3( /* PiePath signature 3 */
2419
2420 HP_StreamHandleType pStream, /* stream handle */
2421 HP_SInt32 x1Val, /* bounding box top left x */
2422 HP_SInt32 y1Val, /* bounding box top left y */
2423 HP_SInt32 x2Val, /* bounding box bottom right x */
2424 HP_SInt32 y2Val, /* bounding box bottom right y */
2425 HP_SInt32 StartPointX, /* starting point x */
2426 HP_SInt32 StartPointY, /* starting point y */
2427 HP_SInt32 EndPointX, /* ending point x */
2428 HP_SInt32 EndPointY) /* ending point y */
2429 ;
2430
2431
2432
2433
2434 HP_StdFuncPrefix HP_PiePath_4( /* PiePath signature 4 */
2435
2436 HP_StreamHandleType pStream, /* stream handle */
2437 HP_Real32 x1Val, /* bounding box top left x */
2438 HP_Real32 y1Val, /* bounding box top left y */
2439 HP_Real32 x2Val, /* bounding box bottom right x */
2440 HP_Real32 y2Val, /* bounding box bottom right y */
2441 HP_Real32 StartPointX, /* starting point x */
2442 HP_Real32 StartPointY, /* starting point y */
2443 HP_Real32 EndPointX, /* ending point x */
2444 HP_Real32 EndPointY) /* ending point y */
2445 ;
2446
2447
2448
2449
2450 HP_StdFuncPrefix HP_PopGS_1( /* PopGS signature 1 */
2451
2452 HP_StreamHandleType pStream) /* stream handle */
2453 ;
2454
2455
2456
2457
2458 HP_StdFuncPrefix HP_PushGS_1( /* PushGS signature 1 */
2459
2460 HP_StreamHandleType pStream) /* stream handle */
2461 ;
2462
2463
2464 HP_StdFuncPrefix HP_Query_1( /* Query signature 1 */
2465
2466 HP_StreamHandleType pStream, /* stream handle */
2467 HP_pUByte queryKey, /* array for query string */
2468 HP_UInt16 queryKeyLen) /* length of query string array */
2469 ;
2470
2471
2472 HP_StdFuncPrefix HP_ReadChar_1( /* ReadChar signature 1 */
2473
2474 HP_StreamHandleType pStream, /* stream handle */
2475 HP_UInt16 CharCodeData, /* character code value */
2476 HP_UInt32 CharSize) /* length of char code data */
2477 ;
2478
2479
2480 HP_StdFuncPrefix HP_ReadFontHeader_1( /* ReadFontHeader signature 1 */
2481
2482 HP_StreamHandleType pStream, /* stream handle */
2483 HP_UInt16 FontHeaderLen) /* font header length */
2484 ;
2485
2486
2487 HP_StdFuncPrefix HP_ReadImage_1( /* ReadImage signature 1 */
2488
2489 HP_StreamHandleType pStream, /* stream handle */
2490 HP_UInt16 startLine, /* start line for reading raster */
2491 HP_UInt16 blockHeight, /* line height of block */
2492 HP_UByte compressionEnum) /* compression mode enumeration */
2493 ;
2494
2495
2496
2497 HP_StdFuncPrefix HP_ReadImage_2( /* ReadImage signature 2 */
2498
2499 HP_StreamHandleType pStream, /* stream handle */
2500 HP_UInt32 startLine, /* start line for reading raster */
2501 HP_UInt32 blockHeight, /* line height of block */
2502 HP_UByte compressionEnum) /* compression mode enumeration */
2503 ;
2504
2505
2506
2507 HP_StdFuncPrefix HP_ReadRastPattern_1( /* ReadRastPattern signature 1 */
2508
2509 HP_StreamHandleType pStream, /* stream handle */
2510 HP_UInt16 startLine, /* start line for reading raster */
2511 HP_UInt16 blockHeight, /* line height of block */
2512 HP_UByte compressionEnum) /* compression mode enumeration */
2513 ;
2514
2515
2516
2517
2518 HP_StdFuncPrefix HP_ReadRastPattern_2( /* ReadRastPattern signature 2 */
2519
2520 HP_StreamHandleType pStream, /* stream handle */
2521 HP_UInt32 startLine, /* start line for reading raster */
2522 HP_UInt32 blockHeight, /* line height of block */
2523 HP_UByte compressionEnum) /* compression mode enumeration */
2524 ;
2525
2526
2527 HP_StdFuncPrefix HP_ReadStream_1( /* ReadStream signature 1 */
2528
2529 HP_StreamHandleType pStream, /* stream handle */
2530 HP_UInt32 streamDataLength) /* stream data length */
2531 ;
2532 HP_StdFuncPrefix HP_ExecStream_1( /* ExecStream signature 1 */
2533
2534 HP_StreamHandleType pStream, /* stream handle */
2535 HP_UInt32 streamDataLength) /* stream data length */
2536 ;
2537 HP_StdFuncPrefix HP_RemoveStream_1( /* RemoveStream signature 1 */
2538
2539 HP_StreamHandleType pStream, /* stream handle */
2540 HP_UInt32 streamDataLength) /* stream data length */
2541 ;
2542
2543
2544 HP_StdFuncPrefix HP_Rectangle_1( /* Rectangle signature 1 */
2545
2546 HP_StreamHandleType pStream, /* stream handle */
2547 HP_SInt16 x1Val, /* bounding box top left x */
2548 HP_SInt16 y1Val, /* bounding box top left y */
2549 HP_SInt16 x2Val, /* bounding box bottom right x */
2550 HP_SInt16 y2Val) /* bounding box bottom right y */
2551 ;
2552
2553
2554
2555 HP_StdFuncPrefix HP_Rectangle_2( /* Rectangle signature 2 */
2556
2557 HP_StreamHandleType pStream, /* stream handle */
2558 HP_UInt16 x1Val, /* bounding box top left x */
2559 HP_UInt16 y1Val, /* bounding box top left y */
2560 HP_UInt16 x2Val, /* bounding box bottom right x */
2561 HP_UInt16 y2Val) /* bounding box bottom right y */
2562 ;
2563
2564
2565
2566 HP_StdFuncPrefix HP_Rectangle_3( /* Rectangle signature 3 */
2567
2568 HP_StreamHandleType pStream, /* stream handle */
2569 HP_SInt32 x1Val, /* bounding box top left x */
2570 HP_SInt32 y1Val, /* bounding box top left y */
2571 HP_SInt32 x2Val, /* bounding box bottom right x */
2572 HP_SInt32 y2Val) /* bounding box bottom right y */
2573 ;
2574
2575 HP_StdFuncPrefix HP_Rectangle_4( /* Rectangle signature 4 */
2576
2577 HP_StreamHandleType pStream, /* stream handle */
2578 HP_Real32 x1Val, /* bounding box top left x */
2579 HP_Real32 y1Val, /* bounding box top left y */
2580 HP_Real32 x2Val, /* bounding box bottom right x */
2581 HP_Real32 y2Val) /* bounding box bottom right y */
2582 ;
2583
2584
2585
2586 HP_StdFuncPrefix HP_RectanglePath_1( /* RectanglePath signature 1 */
2587
2588 HP_StreamHandleType pStream, /* stream handle */
2589 HP_SInt16 x1Val, /* bounding box top left x */
2590 HP_SInt16 y1Val, /* bounding box top left y */
2591 HP_SInt16 x2Val, /* bounding box bottom right x */
2592 HP_SInt16 y2Val) /* bounding box bottom right y */
2593 ;
2594
2595
2596
2597 HP_StdFuncPrefix HP_RectanglePath_2( /* RectanglePath signature 2 */
2598
2599 HP_StreamHandleType pStream, /* stream handle */
2600 HP_UInt16 x1Val, /* bounding box top left x */
2601 HP_UInt16 y1Val, /* bounding box top left y */
2602 HP_UInt16 x2Val, /* bounding box bottom right x */
2603 HP_UInt16 y2Val) /* bounding box bottom right y */
2604 ;
2605
2606
2607
2608 HP_StdFuncPrefix HP_RectanglePath_3( /* RectanglePath signature 3 */
2609
2610 HP_StreamHandleType pStream, /* stream handle */
2611 HP_SInt32 x1Val, /* bounding box top left x */
2612 HP_SInt32 y1Val, /* bounding box top left y */
2613 HP_SInt32 x2Val, /* bounding box bottom right x */
2614 HP_SInt32 y2Val) /* bounding box bottom right y */
2615 ;
2616
2617
2618
2619 HP_StdFuncPrefix HP_RectanglePath_4( /* RectanglePath signature 4 */
2620
2621 HP_StreamHandleType pStream, /* stream handle */
2622 HP_Real32 x1Val, /* bounding box top left x */
2623 HP_Real32 y1Val, /* bounding box top left y */
2624 HP_Real32 x2Val, /* bounding box bottom right x */
2625 HP_Real32 y2Val) /* bounding box bottom right y */
2626 ;
2627
2628
2629
2630 HP_StdFuncPrefix HP_RemoveFont_1( /* RemoveFont signature 1 */
2631
2632 HP_StreamHandleType pStream, /* stream handle */
2633 HP_pUByte fontName, /* array for font name */
2634 HP_UInt16 fontNameLen) /* length of font name array */
2635 ;
2636
2637
2638
2639
2640 HP_StdFuncPrefix HP_RoundRectangle_1( /* RoundRectangle signature 1 */
2641
2642 HP_StreamHandleType pStream, /* stream handle */
2643 HP_SInt16 x1Val, /* bounding box top left x */
2644 HP_SInt16 y1Val, /* bounding box top left y */
2645 HP_SInt16 x2Val, /* bounding box bottom right x */
2646 HP_SInt16 y2Val, /* bounding box bottom right y */
2647 HP_UInt16 xEllipse, /* ellipse x dimension */
2648 HP_UInt16 yEllipse) /* ellipse y dimension */
2649 ;
2650
2651
2652
2653 HP_StdFuncPrefix HP_RoundRectangle_2( /* RoundRectangle signature 2 */
2654
2655 HP_StreamHandleType pStream, /* stream handle */
2656 HP_UInt16 x1Val, /* bounding box top left x */
2657 HP_UInt16 y1Val, /* bounding box top left y */
2658 HP_UInt16 x2Val, /* bounding box bottom right x */
2659 HP_UInt16 y2Val, /* bounding box bottom right y */
2660 HP_UInt16 xEllipse, /* ellipse x dimension */
2661 HP_UInt16 yEllipse) /* ellipse y dimension */
2662 ;
2663
2664
2665
2666
2667 HP_StdFuncPrefix HP_RoundRectangle_3( /* RoundRectangle signature 2 */
2668
2669 HP_StreamHandleType pStream, /* stream handle */
2670 HP_SInt32 x1Val, /* bounding box top left x */
2671 HP_SInt32 y1Val, /* bounding box top left y */
2672 HP_SInt32 x2Val, /* bounding box bottom right x */
2673 HP_SInt32 y2Val, /* bounding box bottom right y */
2674 HP_UInt32 xEllipse, /* ellipse x dimension */
2675 HP_UInt32 yEllipse) /* ellipse y dimension */
2676 ;
2677
2678
2679
2680
2681 HP_StdFuncPrefix HP_RoundRectangle_4( /* RoundRectangle signature 2 */
2682
2683 HP_StreamHandleType pStream, /* stream handle */
2684 HP_Real32 x1Val, /* bounding box top left x */
2685 HP_Real32 y1Val, /* bounding box top left y */
2686 HP_Real32 x2Val, /* bounding box bottom right x */
2687 HP_Real32 y2Val, /* bounding box bottom right y */
2688 HP_Real32 xEllipse, /* ellipse x dimension */
2689 HP_Real32 yEllipse) /* ellipse y dimension */
2690 ;
2691
2692
2693
2694 HP_StdFuncPrefix HP_RoundRectanglePath_1( /* RoundRectanglePath signature 1 */
2695
2696 HP_StreamHandleType pStream, /* stream handle */
2697 HP_SInt16 x1Val, /* bounding box top left x */
2698 HP_SInt16 y1Val, /* bounding box top left y */
2699 HP_SInt16 x2Val, /* bounding box bottom right x */
2700 HP_SInt16 y2Val, /* bounding box bottom right y */
2701 HP_UInt16 xEllipse, /* ellipse x dimension */
2702 HP_UInt16 yEllipse) /* ellipse y dimension */
2703 ;
2704
2705
2706
2707 HP_StdFuncPrefix HP_RoundRectanglePath_2( /* RoundRectanglePath signature 2 */
2708
2709 HP_StreamHandleType pStream, /* stream handle */
2710 HP_UInt16 x1Val, /* bounding box top left x */
2711 HP_UInt16 y1Val, /* bounding box top left y */
2712 HP_UInt16 x2Val, /* bounding box bottom right x */
2713 HP_UInt16 y2Val, /* bounding box bottom right y */
2714 HP_UInt16 xEllipse, /* ellipse x dimension */
2715 HP_UInt16 yEllipse) /* ellipse y dimension */
2716 ;
2717
2718
2719
2720
2721 HP_StdFuncPrefix HP_RoundRectanglePath_3( /* RoundRectanglePath signature 2 */
2722
2723 HP_StreamHandleType pStream, /* stream handle */
2724 HP_SInt32 x1Val, /* bounding box top left x */
2725 HP_SInt32 y1Val, /* bounding box top left y */
2726 HP_SInt32 x2Val, /* bounding box bottom right x */
2727 HP_SInt32 y2Val, /* bounding box bottom right y */
2728 HP_SInt32 xEllipse, /* ellipse x dimension */
2729 HP_SInt32 yEllipse) /* ellipse y dimension */
2730 ;
2731
2732
2733
2734
2735 HP_StdFuncPrefix HP_RoundRectanglePath_4( /* RoundRectanglePath signature 2 */
2736
2737 HP_StreamHandleType pStream, /* stream handle */
2738 HP_Real32 x1Val, /* bounding box top left x */
2739 HP_Real32 y1Val, /* bounding box top left y */
2740 HP_Real32 x2Val, /* bounding box bottom right x */
2741 HP_Real32 y2Val, /* bounding box bottom right y */
2742 HP_Real32 xEllipse, /* ellipse x dimension */
2743 HP_Real32 yEllipse) /* ellipse y dimension */
2744 ;
2745
2746
2747
2748 HP_StdFuncPrefix HP_ScanLineRel_1( /* ScanLineRel signature 1 */
2749
2750 HP_StreamHandleType pStream, /* stream handle */
2751 HP_SInt16 yStart, /* y start for scan line */
2752 HP_SInt16 xStart, /* x start for scan line */
2753 HP_UInt16 *XPairArray, /* array of x pairs */
2754 HP_UInt16 numberOfXPairs) /* number of x pairs in scan line */
2755 ;
2756
2757
2758 HP_StdFuncPrefix HP_ScanLineRelBuffInit_1( /* ScanLineRelBuffInit signature 1 */
2759
2760 HP_StreamHandleType pStream, /* stream handle */
2761 HP_UInt16 *scanLineBuff, /* scan line buffer */
2762 HP_UInt16 scanLineBuffLen) /* scan line buffer len */
2763 ;
2764
2765
2766 HP_StdFuncPrefix HP_ScanLineRelBuffFlush_1( /* ScanLineRelBuffFlush signature 1 */
2767
2768 HP_StreamHandleType pStream, /* stream handle */
2769 HP_UInt16 *scanLineBuff) /* scan line buffer */
2770 ;
2771
2772
2773 HP_StdFuncPrefix HP_ScanLineRelBuffAdd_1( /* ScanLineRelBuffAdd signature 1 */
2774
2775 HP_StreamHandleType pStream, /* stream handle */
2776 HP_UInt16 yStart, /* y start for scan line */
2777 HP_UInt16 xStart, /* x start for scan line */
2778 HP_UInt16 *XPairArray, /* x pair array */
2779 HP_UInt16 numberOfXPairs, /* number of x pairs in scan line */
2780 HP_UInt16 *scanLineBuff) /* scan line buffer */
2781 ;
2782
2783 HP_StdFuncPrefix HP_SetBrushSource_Gray1( /* SetBrushSource Gray sig. 1 */
2784
2785 HP_StreamHandleType pStream, /* stream handle */
2786 HP_Real32 grayLevel) /* gray level value (0-1.0) */
2787 ;
2788
2789
2790 HP_StdFuncPrefix HP_SetBrushSource_Gray2( /* SetBrushSource Gray sig. 2 */
2791
2792 HP_StreamHandleType pStream, /* stream handle */
2793 HP_UByte grayLevel); /* gray level value (0-255) */
2794
2795
2796 HP_StdFuncPrefix HP_SetBrushSource_Null1( /* SetBrushSource Null sig. 1 */
2797
2798 HP_StreamHandleType pStream) /* stream handle */
2799 ;
2800
2801
2802 HP_StdFuncPrefix HP_SetBrushSource_Patt1( /* SetBrushSource Pattern sig. 1 */
2803
2804 HP_StreamHandleType pStream, /* stream handle */
2805 HP_SInt16 patternSelectID) /* pattern select identifier */
2806 ;
2807
2808
2809 HP_StdFuncPrefix HP_SetBrushSource_Patt2( /* SetBrushSource Pattern sig. 2 */
2810
2811 HP_StreamHandleType pStream, /* stream handle */
2812 HP_SInt16 xExtent, /* pattern dest x extent */
2813 HP_SInt16 yExtent, /* pattern dest y extent */
2814 HP_SInt16 patternSelectID) /* pattern select identifier */
2815 ;
2816
2817
2818
2819 HP_StdFuncPrefix HP_SetBrushSource_RGB1( /* SetBrushSource RGB sig. 1 */
2820
2821 HP_StreamHandleType pStream, /* stream handle */
2822 HP_Real32 redValue, /* red value */
2823 HP_Real32 greenValue, /* green value */
2824 HP_Real32 blueValue) /* blue value */
2825 ;
2826
2827
2828 HP_StdFuncPrefix HP_SetBrushSource_RGB2( /* SetBrushSource RGB sig. 1 */
2829
2830 HP_StreamHandleType pStream, /* stream handle */
2831 HP_UByte redValue, /* red value */
2832 HP_UByte greenValue, /* green value */
2833 HP_UByte blueValue) /* blue value */
2834 ;
2835
2836
2837 HP_StdFuncPrefix HP_SetBrushSource_Primary(/* SetBrushSource Primary */
2838
2839 HP_StreamHandleType pStream, /* stream handle */
2840 HP_UByte colorSpaceEnum, /* Primary Depth */
2841 HP_pUByte colorData, /* array for color data */
2842 HP_UInt16 colorDataLen) /* length of color data array in bytes */
2843 ;
2844
2845 HP_StdFuncPrefix HP_SetCharAngle_1( /* SetCharAngle signature 1 */
2846
2847 HP_StreamHandleType pStream, /* stream handle */
2848 HP_SInt16 charAngle) /* character angle */
2849 ;
2850
2851
2852 HP_StdFuncPrefix HP_SetCharAngle_2( /* SetCharAngle signature 2 */
2853
2854 HP_StreamHandleType pStream, /* stream handle */
2855 HP_Real32 charAngle) /* character angle */
2856 ;
2857
2858
2859
2860
2861 HP_StdFuncPrefix HP_SetCharScale_1( /* SetCharScale signature 1 */
2862
2863 HP_StreamHandleType pStream, /* stream handle */
2864 HP_Real32 xVal, /* character x scale value */
2865 HP_Real32 yVal) /* character y scale value */
2866 ;
2867
2868
2869
2870
2871 HP_StdFuncPrefix HP_SetCharShear_1( /* SetCharShear signature 1 */
2872
2873 HP_StreamHandleType pStream, /* stream handle */
2874 HP_SInt16 xVal, /* character x shear value */
2875 HP_SInt16 yVal) /* character y shear value */
2876 ;
2877
2878
2879
2880
2881 HP_StdFuncPrefix HP_SetCharShear_2( /* SetCharShear signature 2 */
2882
2883 HP_StreamHandleType pStream, /* stream handle */
2884 HP_Real32 xVal, /* character x shear value */
2885 HP_Real32 yVal) /* character y shear value */
2886 ;
2887
2888 HP_StdFuncPrefix HP_SetCharAttribute_1( /* SetCharAttribute signature 1 */
2889 HP_StreamHandleType pStream, /* stream handle */
2890 HP_UByte writingMode) /* Writing mode enum */
2891 ;
2892
2893 HP_StdFuncPrefix HP_SetClipIntersect_1( /* SetClipIntersect signature 1 */
2894
2895 HP_StreamHandleType pStream, /* stream handle */
2896 HP_UByte clipRegionEnum) /* clip region enumeration */
2897 ;
2898
2899
2900 HP_StdFuncPrefix HP_SetClipMode_1( /* SetClipMode signature 1 */
2901
2902 HP_StreamHandleType pStream, /* stream handle */
2903 HP_UByte clipModeEnum ) /* clip mode enumeration */
2904 ;
2905
2906
2907
2908 HP_StdFuncPrefix HP_SetClipRectangle_1( /* SetClipRectangle signature 1 */
2909
2910 HP_StreamHandleType pStream, /* stream handle */
2911 HP_SInt16 x1Val, /* bounding box top left x */
2912 HP_SInt16 y1Val, /* bounding box top left y */
2913 HP_SInt16 x2Val, /* bounding box bottom right x */
2914 HP_SInt16 y2Val, /* bounding box bottom right y */
2915 HP_UByte clipRegionEnum) /* clip region enumeration */
2916 ;
2917
2918
2919
2920
2921 HP_StdFuncPrefix HP_SetClipRectangle_2( /* SetClipRectangle signature 2 */
2922
2923 HP_StreamHandleType pStream, /* stream handle */
2924 HP_UInt16 x1Val, /* bounding box top left x */
2925 HP_UInt16 y1Val, /* bounding box top left y */
2926 HP_UInt16 x2Val, /* bounding box bottom right x */
2927 HP_UInt16 y2Val, /* bounding box bottom right y */
2928 HP_UByte clipRegionEnum) /* clip region enumeration */
2929 ;
2930
2931
2932
2933
2934 HP_StdFuncPrefix HP_SetClipRectangle_3( /* SetClipRectangle signature 3 */
2935
2936 HP_StreamHandleType pStream, /* stream handle */
2937 HP_SInt32 x1Val, /* bounding box top left x */
2938 HP_SInt32 y1Val, /* bounding box top left y */
2939 HP_SInt32 x2Val, /* bounding box bottom right x */
2940 HP_SInt32 y2Val, /* bounding box bottom right y */
2941 HP_UByte clipRegionEnum) /* clip region enumeration */
2942 ;
2943
2944
2945
2946
2947 HP_StdFuncPrefix HP_SetClipRectangle_4( /* SetClipRectangle signature 4 */
2948
2949 HP_StreamHandleType pStream, /* stream handle */
2950 HP_Real32 x1Val, /* bounding box top left x */
2951 HP_Real32 y1Val, /* bounding box top left y */
2952 HP_Real32 x2Val, /* bounding box bottom right x */
2953 HP_Real32 y2Val, /* bounding box bottom right y */
2954 HP_UByte clipRegionEnum) /* clip region enumeration */
2955 ;
2956
2957
2958 HP_StdFuncPrefix HP_SetClipReplace_1( /* SetClipReplace signature 1 */
2959
2960 HP_StreamHandleType pStream, /* stream handle */
2961 HP_UByte clipRegionEnum) /* clip region enumeration */
2962 ;
2963
2964
2965 HP_StdFuncPrefix HP_SetClipToPage_1( /* SetClipToPage signature 1 */
2966
2967 HP_StreamHandleType pStream) /* stream handle */
2968 ;
2969
2970
2971
2972 HP_StdFuncPrefix HP_SetColorSpace_1( /* SetColorSpace signature 1 */
2973
2974 HP_StreamHandleType pStream, /* stream handle */
2975 HP_UByte colorSpaceEnum) /* color space enumeration */
2976 ;
2977
2978
2979 HP_StdFuncPrefix HP_SetColorSpace_2( /* SetColorSpace signature 3 */
2980
2981 HP_StreamHandleType pStream, /* stream handle */
2982 HP_UByte colorSpaceEnum, /* color space enumeration */
2983 HP_UByte paletteDepthEnum, /* palette depth enumeration */
2984 HP_pUByte array, /* palette data array */
2985 HP_UInt32 arrayLen) /* palette data array length */
2986 ;
2987
2988 HP_StdFuncPrefix HP_SetColorSpace_3( /* SetColorSpace signature 5 */
2989
2990 HP_StreamHandleType pStream, /* Stream handle */
2991 HP_UByte colorSpaceEnum, /* Colorimetric Enumeration */
2992 HP_pReal32 xyChroma, /* Array for XY Chromiticity Error */
2993 HP_pReal32 whitePoint, /* Array for WhitePointReference */
2994 HP_pReal32 crgbMinMax, /* Array for CRGBMinMax */
2995 HP_pReal32 gammaGain) /* Array for GammaGain */
2996 ;
2997
2998 HP_StdFuncPrefix HP_SetColorSpace_4( /* SetColorSpace Signature 6 */
2999
3000 HP_StreamHandleType pStream, /* Stream handle */
3001 HP_UByte colorSpaceEnum, /* Colorimetric Enumeration */
3002 HP_Real32 minL,
3003 HP_Real32 maxL,
3004 HP_Real32 minA,
3005 HP_Real32 maxA,
3006 HP_Real32 minB,
3007 HP_Real32 maxB)
3008 ;
3009
3010 #if 0
3011 HP_StdFuncPrefix HP_SetColorAdjustment_1( /* SetColorAdjustment Signature 6 */
3012
3013 HP_StreamHandleType pStream,
3014 HP_SInt16 lightness,
3015 HP_SInt16 saturation)
3016 ;
3017 #endif
3018
3019 HP_StdFuncPrefix HP_SetUserUnits_1( /* SetUserUnits signature 1 */
3020
3021 HP_StreamHandleType pStream, /* stream handle */
3022 HP_UByte measure,
3023 HP_Real32 xVal, /* absolute x location */
3024 HP_Real32 yVal) /* absolute y location */
3025
3026 ;
3027
3028 HP_StdFuncPrefix HP_SetCursor_1( /* SetCursor signature 1 */
3029
3030 HP_StreamHandleType pStream, /* stream handle */
3031 HP_SInt16 xVal, /* absolute x location */
3032 HP_SInt16 yVal) /* absolute y location */
3033
3034 ;
3035
3036
3037
3038
3039 HP_StdFuncPrefix HP_SetCursor_2( /* SetCursor signature 2 */
3040
3041 HP_StreamHandleType pStream, /* stream handle */
3042 HP_UInt16 xVal, /* absolute x location */
3043 HP_UInt16 yVal) /* absolute y location */
3044
3045 ;
3046
3047
3048
3049
3050 HP_StdFuncPrefix HP_SetCursor_3( /* SetCursor signature 3 */
3051
3052 HP_StreamHandleType pStream, /* stream handle */
3053 HP_SInt32 xVal, /* absolute x location */
3054 HP_SInt32 yVal) /* absolute y location */
3055
3056 ;
3057
3058
3059
3060
3061 HP_StdFuncPrefix HP_SetCursor_4( /* SetCursor signature 4 */
3062
3063 HP_StreamHandleType pStream, /* stream handle */
3064 HP_Real32 xVal, /* absolute x location */
3065 HP_Real32 yVal) /* absolute y location */
3066
3067 ;
3068
3069
3070
3071
3072 HP_StdFuncPrefix HP_SetCursorRel_1( /* SetCursorRel signature 1 */
3073
3074 HP_StreamHandleType pStream, /* stream handle */
3075 HP_SInt16 xVal, /* absolute x location */
3076 HP_SInt16 yVal) /* absolute y location */
3077
3078 ;
3079
3080
3081
3082
3083 HP_StdFuncPrefix HP_SetCursorRel_2( /* SetCursorRel signature 2 */
3084
3085 HP_StreamHandleType pStream, /* stream handle */
3086 HP_UInt16 xVal, /* absolute x location */
3087 HP_UInt16 yVal) /* absolute y location */
3088
3089 ;
3090
3091
3092
3093
3094 HP_StdFuncPrefix HP_SetCursorRel_3( /* SetCursorRel signature 3 */
3095
3096 HP_StreamHandleType pStream, /* stream handle */
3097 HP_SInt32 xVal, /* absolute x location */
3098 HP_SInt32 yVal) /* absolute y location */
3099
3100 ;
3101
3102
3103
3104
3105 HP_StdFuncPrefix HP_SetCursorRel_4( /* SetCursorRel signature 4 */
3106
3107 HP_StreamHandleType pStream, /* stream handle */
3108 HP_Real32 xVal, /* absolute x location */
3109 HP_Real32 yVal) /* absolute y location */
3110
3111 ;
3112
3113
3114
3115
3116 HP_StdFuncPrefix HP_SetHalftoneMethod_1( /* SetHalftoneMethod signature 1 */
3117
3118 HP_StreamHandleType pStream, /* stream handle */
3119 HP_UByte ditherMatrixEnum) /* dither matrix enumeration */
3120 ;
3121
3122
3123
3124
3125 HP_StdFuncPrefix HP_SetHalftoneMethod_2( /* SetHalftoneMethod signature 2 */
3126
3127 HP_StreamHandleType pStream, /* stream handle */
3128 HP_UInt16 matrixSizeX, /* dither matrix x size */
3129 HP_UInt16 matrixSizeY, /* dither matrix y size */
3130 HP_UByte ditherMatrixDepth, /* dither matrix depth */
3131 HP_UByte ditherMatrixDataType) /* dither matrix data type */
3132 ;
3133
3134
3135
3136
3137 HP_StdFuncPrefix HP_SetHalftoneMethod_3( /* SetHalftoneMethod signature 3 */
3138
3139 HP_StreamHandleType pStream, /* stream handle */
3140 HP_UInt16 matrixSizeX, /* dither matrix x size */
3141 HP_UInt16 matrixSizeY, /* dither matrix y size */
3142 HP_UByte ditherMatrixDepth, /* dither matrix depth */
3143 HP_UInt16 xVal, /* dither matrix origin x */
3144 HP_UInt16 yVal, /* dither matrix origin x */
3145 HP_UByte ditherMatrixDataType) /* dither matrix data type */
3146 ;
3147
3148
3149
3150
3151 HP_StdFuncPrefix HP_SetFillMode_1( /* SetFillMode signature 1 */
3152
3153 HP_StreamHandleType pStream, /* stream handle */
3154 HP_UByte fillModeEnum) /* fill mode enumeration */
3155 ;
3156
3157
3158
3159
3160 HP_StdFuncPrefix HP_SetFont_1( /* SetFont signature 1 */
3161
3162 HP_StreamHandleType pStream, /* stream handle */
3163 HP_pUByte fontName, /* font name array */
3164 HP_UInt16 fontNameLen, /* font name array length */
3165 HP_Real32 charSize, /* char size in user units */
3166 HP_UInt16 symbolSetEnum) /* symbol set enumeration */
3167 ;
3168
3169
3170 HP_StdFuncPrefix HP_SetCharSubMode_1( /* SetCharSubMode signature 1 */
3171 HP_StreamHandleType pStream, /* stream handle */
3172 HP_pUByte pSubModeArray, /* substitution modes array */
3173 HP_UByte subModeArrayLength) /* substitution modes array length */
3174 ;
3175
3176 HP_StdFuncPrefix HP_SetLineCap_1( /* SetLineCap signature 1 */
3177
3178 HP_StreamHandleType pStream, /* stream handle */
3179 HP_UByte lineCapEnum) /* line cap enumeration */
3180 ;
3181
3182
3183
3184
3185 HP_StdFuncPrefix HP_SetLineDash_1( /* SetLineDash signature 1 */
3186
3187 HP_StreamHandleType pStream, /* stream handle */
3188 HP_pUInt16 array, /* line dash units array */
3189 HP_UInt16 arrayLen) /* line dash array length */
3190 ;
3191
3192
3193
3194
3195 HP_StdFuncPrefix HP_SetLineDash_2( /* SetLineDash signature 2 */
3196
3197 HP_StreamHandleType pStream, /* stream handle */
3198 HP_pUInt16 array, /* line dash units array */
3199 HP_UInt16 arrayLen, /* line dash array length */
3200 HP_UInt16 dashOffset) /* offset into line dash array */
3201 ;
3202
3203
3204
3205
3206 HP_StdFuncPrefix HP_SetLineDash_Solid1( /* SetLineDash signature Solid1 */
3207
3208 HP_StreamHandleType pStream) /* stream handle */
3209 ;
3210
3211
3212
3213
3214 HP_StdFuncPrefix HP_SetLineJoin_1( /* SetLineJoin signature 1 */
3215
3216 HP_StreamHandleType pStream, /* stream handle */
3217 HP_UByte lineJoinEnum) /* line join enumeration */
3218 ;
3219
3220
3221
3222
3223 HP_StdFuncPrefix HP_SetMiterLimit_1( /* SetMiterLimit signature 1 */
3224
3225 HP_StreamHandleType pStream, /* stream handle */
3226 HP_UInt16 miterLength) /* maximum miter shape length */
3227 ;
3228
3229
3230
3231 HP_StdFuncPrefix HP_SetMiterLimit_2( /* SetMiterLimit signature 2 */
3232
3233 HP_StreamHandleType pStream, /* stream handle */
3234 HP_Real32 miterLength) /* maximum miter shape length */
3235 ;
3236
3237
3238
3239
3240 HP_StdFuncPrefix HP_SetPageDefaultCTM_1( /* SetPageDefault signature 1 */
3241
3242 HP_StreamHandleType pStream) /* stream handle */
3243 ;
3244
3245
3246
3247
3248 HP_StdFuncPrefix HP_SetPageOrigin_1( /* SetPageOrigin signature 1 */
3249
3250 HP_StreamHandleType pStream, /* stream handle */
3251 HP_SInt16 xVal, /* new origin x value */
3252 HP_SInt16 yVal) /* new origin y value */
3253 ;
3254
3255
3256
3257
3258 HP_StdFuncPrefix HP_SetPageOrigin_2( /* SetPageOrigin signature 2 */
3259
3260 HP_StreamHandleType pStream, /* stream handle */
3261 HP_UInt16 xVal, /* new origin x value */
3262 HP_UInt16 yVal) /* new origin y value */
3263 ;
3264
3265 HP_StdFuncPrefix HP_SetPageOrigin_3( /* SetPageOrigin signature 3 */
3266
3267 HP_StreamHandleType pStream, /* stream handle */
3268 HP_SInt32 xVal, /* new origin x value */
3269 HP_SInt32 yVal) /* new origin y value */
3270 ;
3271
3272 HP_StdFuncPrefix HP_SetPageOrigin_4( /* SetPageOrigin signature 4 */
3273
3274 HP_StreamHandleType pStream, /* stream handle */
3275 HP_Real32 xVal, /* new origin x value */
3276 HP_Real32 yVal) /* new origin y value */
3277 ;
3278
3279 HP_StdFuncPrefix HP_SetPageRotation_1( /* SetPageRotation signature 1 */
3280
3281 HP_StreamHandleType pStream, /* stream handle */
3282 HP_SInt16 pageAngle) /* page angle value */
3283 ;
3284
3285 HP_StdFuncPrefix HP_SetPageRotation_2( /* SetPageRotation signature 2 */
3286
3287 HP_StreamHandleType pStream, /* stream handle */
3288 HP_Real32 pageAngle) /* page angle value */
3289 ;
3290
3291 HP_StdFuncPrefix HP_SetPageScale_1( /* SetPageScale signature 1 */
3292
3293 HP_StreamHandleType pStream, /* stream handle */
3294 HP_Real32 xVal, /* x scale factor */
3295 HP_Real32 yVal) /* y scale factor */
3296 ;
3297
3298 HP_StdFuncPrefix HP_SetPathToClip_1( /* SetPathToClip signature 1 */
3299
3300 HP_StreamHandleType pStream) /* stream handle */
3301 ;
3302
3303 HP_StdFuncPrefix HP_SetPaintTxMode_1( /* SetPaintTxMode signature 1 */
3304
3305 HP_StreamHandleType pStream, /* stream handle */
3306 HP_UByte transparancyEnum) /* transparency mode enumeration */
3307 ;
3308
3309 HP_StdFuncPrefix HP_SetPenSource_Gray1( /* SetPenSource Gray sig. 1 */
3310
3311 HP_StreamHandleType pStream, /* stream handle */
3312 HP_Real32 grayLevel) /* gray level value (0-1.0) */
3313 ;
3314
3315 HP_StdFuncPrefix HP_SetPenSource_Null1( /* SetPenSource Null sig. 1 */
3316
3317 HP_StreamHandleType pStream) /* stream handle */
3318 ;
3319
3320 HP_StdFuncPrefix HP_SetPenSource_Primary( /* SetPenSource Primary */
3321
3322 HP_StreamHandleType pStream, /* stream handle */
3323 HP_UByte colorSpaceEnum, /* Primary Depth */
3324 HP_pUByte colorData, /* array for color data */
3325 HP_UInt16 colorDataLen) /* length of color data array in bytes */
3326 ;
3327
3328 HP_StdFuncPrefix HP_SetPenSource_Patt1( /* SetPenSource Pattern sig. 1 */
3329
3330 HP_StreamHandleType pStream, /* stream handle */
3331 HP_SInt16 patternSelectID) /* pattern select identifier */
3332 ;
3333
3334 HP_StdFuncPrefix HP_SetPenSource_Patt2( /* SetPenSource Pattern sig. 1 */
3335
3336 HP_StreamHandleType pStream, /* stream handle */
3337 HP_SInt16 xExtent, /* pattern dest x extent */
3338 HP_SInt16 yExtent, /* pattern dest y extent */
3339 HP_SInt16 patternSelectID) /* pattern select identifier */
3340 ;
3341
3342 HP_StdFuncPrefix HP_SetPenSource_RGB1( /* SetPenSource RGB sig. 1 */
3343
3344 HP_StreamHandleType pStream, /* stream handle */
3345 HP_Real32 redValue, /* red value */
3346 HP_Real32 greenValue, /* green value */
3347 HP_Real32 blueValue) /* blue value */
3348 ;
3349
3350
3351 HP_StdFuncPrefix HP_SetPenWidth_1( /* SetPenWidth signature 1 */
3352
3353 HP_StreamHandleType pStream, /* stream handle */
3354 HP_UInt16 penWidth) /* pen width */
3355 ;
3356
3357
3358
3359 HP_StdFuncPrefix HP_SetPenWidth_2( /* SetPenWidth signature 2 */
3360
3361 HP_StreamHandleType pStream, /* stream handle */
3362 HP_Real32 penWidth) /* pen width */
3363 ;
3364
3365
3366
3367
3368 HP_StdFuncPrefix HP_SetROP_1( /* SetROP signature 1 */
3369
3370 HP_StreamHandleType pStream, /* stream handle */
3371 HP_UByte rop3) /* rop 3 value */
3372 ;
3373
3374
3375
3376
3377 HP_StdFuncPrefix HP_SetSourceTxMode_1( /* SetSourceTxMode signature 1 */
3378
3379 HP_StreamHandleType pStream, /* stream handle */
3380 HP_UByte transparancyEnum) /* transparency mode enumeration */
3381 ;
3382
3383
3384 HP_StdFuncPrefix HP_Text_1( /* Text signature 1 */
3385
3386 HP_StreamHandleType pStream, /* stream handle */
3387 HP_pUByte charArray, /* character array containing text */
3388 HP_UInt32 charArrayLen, /* length of character array */
3389 HP_pSInt16 xSpaceArray, /* x escapement array */
3390 HP_UInt32 xSpaceArrayLen) /* x escapement array length */
3391 ;
3392
3393 HP_StdFuncPrefix HP_Text_2( /* Text signature 2 */
3394
3395 HP_StreamHandleType pStream, /* stream handle */
3396 HP_pUByte charArray, /* character array containing text */
3397 HP_UInt32 charArrayLen, /* length of character array */
3398 HP_pSInt16 ySpaceArray, /* y escapement array */
3399 HP_UInt32 ySpaceArrayLen) /* y escapement array length */
3400 ;
3401
3402 HP_StdFuncPrefix HP_Text_3( /* Text signature 3 */
3403
3404 HP_StreamHandleType pStream, /* stream handle */
3405 HP_pUByte charArray, /* character array containing text */
3406 HP_UInt32 charArrayLen, /* length of character array */
3407 HP_pSInt16 xSpaceArray, /* x escapement array */
3408 HP_UInt32 xSpaceArrayLen, /* x escapement array length */
3409 HP_pSInt16 ySpaceArray, /* y escapement array */
3410 HP_UInt32 ySpaceArrayLen) /* y escapement array length */
3411 ;
3412
3413 HP_StdFuncPrefix HP_Text_4( /* Text signature 4 */
3414
3415 HP_StreamHandleType pStream, /* stream handle */
3416 HP_pUInt16 charArray, /* character array containing text */
3417 HP_UInt32 charArrayLen, /* length of character array */
3418 HP_pSInt16 xSpaceArray, /* x escapement array */
3419 HP_UInt32 xSpaceArrayLen) /* x escapement array length */
3420 ;
3421
3422 HP_StdFuncPrefix HP_Text_5( /* Text signature 5 */
3423
3424 HP_StreamHandleType pStream, /* stream handle */
3425 HP_pUInt16 charArray, /* character array containing text */
3426 HP_UInt32 charArrayLen, /* length of character array */
3427 HP_pSInt16 ySpaceArray, /* y escapement array */
3428 HP_UInt32 ySpaceArrayLen) /* y escapement array length */
3429 ;
3430
3431 HP_StdFuncPrefix HP_Text_6( /* Text signature 6 */
3432
3433 HP_StreamHandleType pStream, /* stream handle */
3434 HP_pUInt16 charArray, /* character array containing text */
3435 HP_UInt32 charArrayLen, /* length of character array */
3436 HP_pSInt16 xSpaceArray, /* x escapement array */
3437 HP_UInt32 xSpaceArrayLen, /* x escapement array length */
3438 HP_pSInt16 ySpaceArray, /* y escapement array */
3439 HP_UInt32 ySpaceArrayLen) /* y escapement array length */
3440 ;
3441
3442 HP_StdFuncPrefix HP_Text_7( /* Text signature 7 */
3443
3444 HP_StreamHandleType pStream, /* stream handle */
3445 HP_pUByte charArray, /* character array containing text */
3446 HP_UInt32 charArrayLen) /* y escapement array length */
3447 ;
3448
3449 HP_StdFuncPrefix HP_Text_8( /* Text signature 8 */
3450
3451 HP_StreamHandleType pStream, /* stream handle */
3452 HP_pUInt16 charArray, /* character array containing text */
3453 HP_UInt32 charArrayLen) /* x escapement array length */
3454 ;
3455
3456 HP_StdFuncPrefix HP_TextPath_1( /* TextPath signature 1 */
3457
3458 HP_StreamHandleType pStream, /* stream handle */
3459 HP_pUByte charArray, /* character array containing text */
3460 HP_UInt32 charArrayLen, /* length of character array */
3461 HP_pSInt16 xSpaceArray, /* x escapement array */
3462 HP_UInt32 xSpaceArrayLen) /* x escapement array length */
3463 ;
3464
3465 HP_StdFuncPrefix HP_TextPath_2( /* TextPath signature 2 */
3466
3467 HP_StreamHandleType pStream, /* stream handle */
3468 HP_pUByte charArray, /* character array containing text */
3469 HP_UInt32 charArrayLen, /* length of character array */
3470 HP_pSInt16 ySpaceArray, /* x escapement array */
3471 HP_UInt32 ySpaceArrayLen) /* x escapement array length */
3472 ;
3473
3474 HP_StdFuncPrefix HP_TextPath_3( /* TextPath signature 3 */
3475
3476 HP_StreamHandleType pStream, /* stream handle */
3477 HP_pUByte charArray, /* character array containing text */
3478 HP_UInt32 charArrayLen, /* length of character array */
3479 HP_pSInt16 xSpaceArray, /* x escapement array */
3480 HP_UInt32 xSpaceArrayLen, /* x escapement array length */
3481 HP_pSInt16 ySpaceArray, /* y escapement array */
3482 HP_UInt32 ySpaceArrayLen) /* y escapement array length */
3483 ;
3484
3485 HP_StdFuncPrefix HP_TextPath_4( /* TextPath signature 4 */
3486
3487 HP_StreamHandleType pStream, /* stream handle */
3488 HP_pUInt16 charArray, /* character array containing text */
3489 HP_UInt32 charArrayLen, /* length of character array */
3490 HP_pSInt16 xSpaceArray, /* x escapement array */
3491 HP_UInt32 xSpaceArrayLen) /* x escapement array length */
3492 ;
3493
3494 HP_StdFuncPrefix HP_TextPath_5( /* TextPath signature 5 */
3495
3496 HP_StreamHandleType pStream, /* stream handle */
3497 HP_pUInt16 charArray, /* character array containing text */
3498 HP_UInt32 charArrayLen, /* length of character array */
3499 HP_pSInt16 ySpaceArray, /* x escapement array */
3500 HP_UInt32 ySpaceArrayLen) /* x escapement array length */
3501 ;
3502
3503 HP_StdFuncPrefix HP_TextPath_6( /* TextPath signature 6 */
3504
3505 HP_StreamHandleType pStream, /* stream handle */
3506 HP_pUInt16 charArray, /* character array containing text */
3507 HP_UInt32 charArrayLen, /* length of character array */
3508 HP_pSInt16 xSpaceArray, /* x escapement array */
3509 HP_UInt32 xSpaceArrayLen, /* x escapement array length */
3510 HP_pSInt16 ySpaceArray, /* y escapement array */
3511 HP_UInt32 ySpaceArrayLen) /* y escapement array length */
3512 ;
3513
3514 HP_StdFuncPrefix HP_TextPath_7( /* TextPath signature 7 */
3515
3516 HP_StreamHandleType pStream, /* stream handle */
3517 HP_pUByte charArray, /* character array containing text */
3518 HP_UInt32 charArrayLen) /* y escapement array length */
3519 ;
3520
3521 HP_StdFuncPrefix HP_TextPath_8( /* TextPath signature 8 */
3522
3523 HP_StreamHandleType pStream, /* stream handle */
3524 HP_pUInt16 charArray, /* character array containing text */
3525 HP_UInt32 charArrayLen) /* x escapement array length */
3526 ;
3527
3528 HP_StdFuncPrefix HP_SetCharBoldValue_1( /* SetCharBoldValue */
3529
3530 HP_StreamHandleType pStream, /* stream handle */
3531 HP_Real32 boldValue)
3532 ;
3533 /* Bold Value Real */
3534 #define hp_PAINT_SETCOLORTREATMENT 0x68701001
3535 #define hp_PAINT_SETHALFTONEMETHOD 0x68701002
3536 #define hp_PAINT_DOWNLOADCOLORTABLE 0x68701003
3537 #define hp_MEDIA_SELECTMEDIASOURCE 0x68702001
3538 #define hp_MEDIA_SELECTMEDIAFINISH 0x68702002
3539 #define hp_MET 0x68703000
3540
3541 HP_StdFuncPrefix HP_media_SelectMediaFinish(/* SelectMediaFinish */
3542
3543 HP_StreamHandleType pStream, /* stream handle */
3544 HP_UByte mediaFinish) /* color space enumeration */
3545 ;
3546
3547 HP_StdFuncPrefix HP_media_SelectMediaSource(/* SelectMediaSource */
3548
3549 HP_StreamHandleType pStream, /* stream handle */
3550 HP_UByte mediaSource,
3551 HP_UByte mediaType) /* color space enumeration */
3552 ;
3553
3554 HP_StdFuncPrefix HP_paint_SetColorTreatment (/* SetColorTreatment */
3555
3556 HP_StreamHandleType pStream, /* stream handle */
3557 HP_UByte colorTreatment,
3558 HP_UInt16 colorID) /* color space enumeration */
3559 ;
3560
3561 HP_StdFuncPrefix HP_paint_SetHalftoneMethod (/* SetHalftoneMethod */
3562
3563 HP_StreamHandleType pStream, /* stream handle */
3564 HP_UByte matrix,
3565 HP_UInt16 matrixID) /* color space enumeration */
3566 ;
3567
3568 HP_StdFuncPrefix HP_paint_DownloadColorTable (/* DownloadColorTable */
3569
3570 HP_StreamHandleType pStream, /* stream handle */
3571 HP_UByte tableType,
3572 HP_UInt16 tableID,
3573 HP_UInt32 tableSize,
3574 HP_pUByte table) /* color space enumeration */
3575 ;
3576
3577 typedef struct {
3578 HP_UInt32 Op;
3579 HP_UByte Type;
3580 } HP_MET_OPERATORS;
3581
3582 ;
3583
3584 #ifdef XL_30
3585 HP_StdFuncPrefix HP_SetColorTreatment_1 (/* SetColorTreatment */
3586
3587 HP_StreamHandleType pStream, /* stream handle */
3588 HP_UByte colorTreatment) /* color treatment */
3589 ;
3590
3591 HP_StdFuncPrefix HP_SetHalftoneMethod_2 (/* SetHalftoneMethod */
3592 HP_StreamHandleType pStream, /* stream handle */
3593 HP_UByte deviceMatrix,
3594 HP_UInt16 xVal, /* dither matrix origin x */
3595 HP_UInt16 yVal) /* dither matrix origin x */
3596 ;
3597
3598 HP_StdFuncPrefix HP_SetHalftoneMethod_3 (/* SetHalftoneMethod */
3599 HP_StreamHandleType pStream, /* stream handle */
3600 HP_UByte textMethod,
3601 HP_UByte vectorMethod,
3602 HP_UByte rasterMethod)
3603 ;
3604
3605 HP_StdFuncPrefix HP_SetHalftoneMethod_4 (/* SetHalftoneMethod */
3606 HP_StreamHandleType pStream, /* stream handle */
3607 HP_UByte textMethod,
3608 HP_UByte vectorMethod,
3609 HP_UByte rasterMethod,
3610 HP_UInt16 xVal, /* dither matrix origin x */
3611 HP_UInt16 yVal) /* dither matrix origin x */
3612 ;
3613
3614 HP_StdFuncPrefix HP_SetColorTrapping_1 (/* SetHalftoneMethod */
3615 HP_StreamHandleType pStream, /* stream handle */
3616 HP_UByte textMethod,
3617 HP_UByte vectorMethod,
3618 HP_UByte rasterMethod)
3619 ;
3620
3621 HP_StdFuncPrefix HP_SetSetAdaptiveHalftoning_1 (/* SetHalftoneMethod */
3622 HP_StreamHandleType pStream, /* stream handle */
3623 HP_UByte textMethod,
3624 HP_UByte vectorMethod,
3625 HP_UByte rasterMethod)
3626 ;
3627
3628 HP_StdFuncPrefix HP_SetNeutralAxis_1 (/* SetHalftoneMethod */
3629 HP_StreamHandleType pStream, /* stream handle */
3630 HP_UByte textMethod,
3631 HP_UByte vectorMethod,
3632 HP_UByte rasterMethod)
3633 ;
3634
3635 HP_StdFuncPrefix HP_PassThrough_1 (/* SetHalftoneMethod */
3636 HP_StreamHandleType pStream, /* stream handle */
3637 HP_pUByte array, HP_UInt32 arrayLen)
3638 ;
3639
3640 #endif
3641 HP_StdFuncPrefix HP_met(/* Met Type 4 Operators */
3642
3643 HP_StreamHandleType pStream, /* stream handle */
3644 HP_UByte Operator, /* Operator Number */
3645 HP_SInt16 Xcoord,
3646 HP_SInt16 Ycoord,
3647 HP_SInt16 Height,
3648 HP_SInt16 Width,
3649 HP_UInt32 Count,
3650 HP_UByte CompType,
3651 HP_Real32 HorizScale,
3652 HP_Real32 VertScale,
3653 HP_UInt16 Terms)
3654 ;
3655 #endif
3656
3657 HP_StdFuncPrefix HP_M2TIFF_CalcCompression(
3658 HP_pCharHuge lpbytes, /* Pointer to the buffer of bytes to Calculate. */
3659 HP_SInt32 len, /* Length of the buffer of bytes. */
3660 HP_pUInt32 CompSize /* Memory location to return amount of compression,
3661 this will be initialized to zero with each call */
3662 )
3663 ;
3664
3665 HP_StdFuncPrefix HP_M2TIFF_Compress(
3666 HP_StreamHandleType lpdv, /* Pointer to the output buffer */
3667 HP_UInt32 outputLen, /* Length of the output buffer in bytes. */
3668 HP_pCharHuge lpBits, /* Pointer to the buffer of bytes to Compress */
3669 HP_SInt32 inputLen, /* Length of the input buffer of bytes. */
3670 HP_pUInt32 CompSize /* Memory location to return amount of compression,
3671 this will be initialized to zero with each call */
3672
3673 )
3674 ;
3675
3676 #ifdef FAX_10
3677 /* Add new fax function prototypes here */
3678
3679 HP_StdFuncPrefix HP_BeginSession_4( /* BeginSession signature 3 */
3680
3681 HP_StreamHandleType pStream, /* stream handle */
3682 HP_UInt16 xValue, /* x units of measure */
3683 HP_UInt16 yValue, /* y units of measure */
3684 HP_UByte MeasureEnum, /* measure enumeration */
3685 HP_UByte errorReportingEnum, /* error reporting enumeration */
3686 HP_UByte eSendType /* send type (Fax, E-Mail etc */
3687 )
3688 ;
3689
3690 HP_StdFuncPrefix HP_JR3BeginImage_1( /* JR3BeginImage signature 1 */
3691
3692 HP_StreamHandleType pStream, /* stream handle */
3693 HP_UInt16 sourceWidth, /* source image width */
3694 HP_UInt16 sourceHeight, /* source image height */
3695 HP_UInt16 stripCount, /* strip count*/
3696 HP_UInt16 destHeight, /* destination (strip) height in user units */
3697 HP_UInt32 JetReadyVersion, /* JetReady version */
3698 HP_UByte colorConfigEnum, /* color config enumeration */
3699 HP_UInt32 dataLength /* length of data to be read by the Vendor Unique operator */
3700 );
3701
3702 HP_StdFuncPrefix HP_JR3ReadImage_1( /* JR3ReadImage signature 1 */
3703
3704 HP_StreamHandleType pStream, /* stream handle */
3705 HP_UInt16 startLine, /* start line */
3706 HP_UInt16 blockHeight, /* block height in user units */
3707 HP_UInt32 JetReadyVersion, /* JetReady version */
3708 HP_UByte objectTypeEnum, /* object type enumeration */
3709 HP_UInt32 dataLength /* length of data to be read by the Vendor Unique operator */
3710 );
3711
3712 HP_StdFuncPrefix HP_SetJobAttribute_1( /* SetJobAttribute signature 1 */
3713
3714 HP_StreamHandleType pStream, /* stream handle */
3715 HP_UInt16 JobAttributeNameLen, /* length of the JobAttributeName data packet */
3716 HP_pUByte JobAttributeNameData, /* actual JobAttributeName data packet */
3717 HP_UInt16 JobAttributeValueLen, /* length of the JobAttributeValue data packet */
3718 HP_pUByte JobAttributeValueData, /* actual JobAttributeValue data packet */
3719 HP_UInt16 JobAttributeTypeLen, /* length of the JobAttributeType data packet */
3720 HP_pUByte JobAttributeTypeData /* actual JobAttributeType data packet */
3721 );
3722
3723 #endif
3724
3725
3726 #endif
3727