home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pprintoptions.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-04  |  943 b   |  41 lines

  1. /*
  2.  *--- PPrintOptions.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PPrintOptions.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PPrintOptions.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 16;
  16.  
  17. PPrintOptions::PPrintOptions
  18.   (    short    cScaleType,
  19.     short    nVal,
  20.     short    cDuplex,
  21.     PMBool    bMarks,
  22.     PMBool    bPageInfo,
  23.     short    cTiling,
  24.     long    xOverlap )
  25. {
  26.     char * temp[REQUEST_SIZE];
  27.     PRequestBuf request(temp);
  28.  
  29.     request << cScaleType
  30.             << nVal
  31.             << cDuplex
  32.             << bMarks
  33.             << bPageInfo
  34.             << cTiling
  35.             << xOverlap;
  36.             
  37.     PCommand command(pm_printoptions, request);
  38. }
  39.  
  40. // end of PPrintOptions.cpp
  41.