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 / pprintink.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-04  |  812 b   |  29 lines

  1. /*
  2.  *--- PPrintInk.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 PPrintInk.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PPrintInk.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. PPrintInk::PPrintInk
  16.   (    const char *    sName,
  17.     PMBool            bPrintInk,
  18.     const char *    sAngle,
  19.     const char *    sRuling )
  20. {
  21.     PRequestBuf request(strlen(sName) + strlen(sAngle) + strlen(sRuling) + 8);
  22.  
  23.     request << sName << bPrintInk << sAngle << sRuling;
  24.             
  25.     PCommand command(pm_printink, request);
  26. }
  27.  
  28. // end of PPrintInk.cpp
  29.