Unit mseprinter

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record stdpagety  
Class tprintertabulators  
Class tcustomprinter  
Class tprinter  
Class tstreamprinter  
Class tprinterfont  
Record pagerangety  
Class tcustomprintercanvas  
Class tprintercanvas  
Class tstreamprintercanvas  
Class tprintervalueselector  
Class tpagesizeselector  
Class tpageorientationselector  

Functions and Procedures

function stringtopages(const avalue: msestring): pagerangearty;
function checkstdpagesize(const awidth,aheight: flo64): stdpagesizety;

Types

stdpagesizety = (...);
printeroptionty = (...);
printeroptionsty = set of printeroptionty;
printereventty = procedure(const sender: tcustomprinter) of object;
colorspacety = (...);
pageorientationty = (...);
exceptioneventty = procedure(const sender: tobject; var e: exception; var again: boolean) of object;
updateprinterstringeventty = procedure(const sender: tstreamprinter; var avalue: msestring) of object;
pageskindty = (...);
pagerangearty = array of pagerangety;
printercanvasstatety = (...);
printercanvasstatesty = set of printercanvasstatety;
pagesizeeventty = procedure(const sender: tobject; var avalue: stdpagesizety; var accept: boolean) of object;
pageorientationeventty = procedure(const sender: tobject; var avalue: pageorientationty; var accept: boolean) of object;

Constants

defaultppmm = 10;
defaultpagewidth = 210;
defaultpageheight = 297;
defaultframe = 10;
defaultfontheight = 3.527;
printunit = 25.4/72;
mmtoprintscale = 1/printunit;
nulllinewidth = 0.2*mmtoprintscale;
stdpagesizes: array[stdpagesizety] of stdpagety = ( (name: 'User'; width: 0; height: 0), (name: 'A0'; width: 841; height: 1189), (name: 'A1'; width: 594; height: 841), (name: 'A2'; width: 420; height: 594), (name: 'A3'; width: 297; height: 420), (name: 'A4'; width: 210; height: 297), (name: 'A5'; width: 148; height: 210), (name: 'A6'; width: 105; height: 148), (name: 'A7'; width: 74; height: 105), (name: 'A8'; width: 52; height: 74), (name: 'A9'; width: 37; height: 52), (name: 'B0'; width: 1030; height: 1456), (name: 'B1'; width: 728; height: 1030), (name: 'B2'; width: 515; height: 728), (name: 'B3'; width: 364; height: 515), (name: 'B4'; width: 257; height: 364), (name: 'B5'; width: 182; height: 257), (name: 'B6'; width: 128; height: 182), (name: 'B7'; width: 91; height: 128), (name: 'B8'; width: 64; height: 91), (name: 'B9'; width: 45; height: 64), (name: 'B10'; width: 32; height: 45), (name: 'C5E'; width: 163; height: 229), (name: 'Comm10E'; width: 105; height: 241), (name: 'DLE'; width: 110; height: 220), (name: 'Executive'; width: 191; height: 254), (name: 'Folio'; width: 210; height: 330), (name: 'Ledger'; width: 432; height: 279), (name: 'Legal'; width: 216; height: 356), (name: 'Letter'; width: 216; height: 279), (name: 'Tabloid'; width: 279; height: 432) );
defaultprinteroptions = [pro_inactivewindow];

Description

Functions and Procedures

function stringtopages(const avalue: msestring): pagerangearty;
 
function checkstdpagesize(const awidth,aheight: flo64): stdpagesizety;
 

Types

stdpagesizety = (...);
 
Values
  • sps_user
  • sps_a0
  • sps_a1
  • sps_a2
  • sps_a3
  • sps_a4
  • sps_a5
  • sps_a6
  • sps_a7
  • sps_a8
  • sps_a9
  • sps_b0
  • sps_b1
  • sps_b2
  • sps_b3
  • sps_b4
  • sps_b5
  • sps_b6
  • sps_b7
  • sps_b8
  • sps_b9
  • sps_b10
  • sps_c5e
  • sps_comm10e
  • sps_dle
  • sps_executive
  • sps_folio
  • sps_ledger
  • sps_legal
  • sps_letter
  • sps_tabloid
printeroptionty = (...);
 
Values
  • pro_inactivewindow
  • pro_tempfile
printeroptionsty = set of printeroptionty;
 
printereventty = procedure(const sender: tcustomprinter) of object;
 
colorspacety = (...);
 
Values
  • cos_gray
  • cos_rgb
pageorientationty = (...);
 
Values
  • pao_portrait
  • pao_landscape
exceptioneventty = procedure(const sender: tobject; var e: exception; var again: boolean) of object;
 
updateprinterstringeventty = procedure(const sender: tstreamprinter; var avalue: msestring) of object;
 
pageskindty = (...);
 
Values
  • pk_all
  • pk_even
  • pk_odd
pagerangearty = array of pagerangety;
 
printercanvasstatety = (...);
 
Values
  • pcs_matrixvalid
  • pcs_dryrun
printercanvasstatesty = set of printercanvasstatety;
 
pagesizeeventty = procedure(const sender: tobject; var avalue: stdpagesizety; var accept: boolean) of object;
 
pageorientationeventty = procedure(const sender: tobject; var avalue: pageorientationty; var accept: boolean) of object;
 

Constants

defaultppmm = 10;
 
defaultpagewidth = 210;
 
defaultpageheight = 297;
 
defaultframe = 10;
 
defaultfontheight = 3.527;
 
printunit = 25.4/72;
 
mmtoprintscale = 1/printunit;
 
nulllinewidth = 0.2*mmtoprintscale;
 
stdpagesizes: array[stdpagesizety] of stdpagety = ( (name: 'User'; width: 0; height: 0), (name: 'A0'; width: 841; height: 1189), (name: 'A1'; width: 594; height: 841), (name: 'A2'; width: 420; height: 594), (name: 'A3'; width: 297; height: 420), (name: 'A4'; width: 210; height: 297), (name: 'A5'; width: 148; height: 210), (name: 'A6'; width: 105; height: 148), (name: 'A7'; width: 74; height: 105), (name: 'A8'; width: 52; height: 74), (name: 'A9'; width: 37; height: 52), (name: 'B0'; width: 1030; height: 1456), (name: 'B1'; width: 728; height: 1030), (name: 'B2'; width: 515; height: 728), (name: 'B3'; width: 364; height: 515), (name: 'B4'; width: 257; height: 364), (name: 'B5'; width: 182; height: 257), (name: 'B6'; width: 128; height: 182), (name: 'B7'; width: 91; height: 128), (name: 'B8'; width: 64; height: 91), (name: 'B9'; width: 45; height: 64), (name: 'B10'; width: 32; height: 45), (name: 'C5E'; width: 163; height: 229), (name: 'Comm10E'; width: 105; height: 241), (name: 'DLE'; width: 110; height: 220), (name: 'Executive'; width: 191; height: 254), (name: 'Folio'; width: 210; height: 330), (name: 'Ledger'; width: 432; height: 279), (name: 'Legal'; width: 216; height: 356), (name: 'Letter'; width: 216; height: 279), (name: 'Tabloid'; width: 279; height: 432) );
 
defaultprinteroptions = [pro_inactivewindow];
 

Generated by PasDoc 0.16.0.