RenderPagesToPrintString

Rendering, stampa, output binario

Descrizione

Restituisce un flusso di stampa PostScript, EPS, PCL o PWG Raster completo come AnsiString binaria

Sintassi

Delphi

Function TPDFlib.RenderPagesToPrintString(DPI: Double; Const PageRanges: WideString; PrintFormat, Options: Integer): AnsiString;

Parametri

DPIRisoluzione raster da 1 a 4800; EPS e PostScript mantengono il contenuto vettoriale delle pagine usando questo valore per l'elaborazione delle immagini incorporate
PageRangesUn intervallo standard con base 1 come 1-3,5, All, Odd o Even
PrintFormatPDF_PRINT_STREAM_POSTSCRIPT (0), PDF_PRINT_STREAM_EPS (1), PDF_PRINT_STREAM_PCL (2) o PDF_PRINT_STREAM_PWG (3)
OptionsCombinare PDF_PRINT_STREAM_MONOCHROME (1), PDF_PRINT_STREAM_DUPLEX (2), PDF_PRINT_STREAM_TUMBLE (4) e PDF_PRINT_STREAM_PJL (8) come consentito dal formato selezionato

Valori restituiti

Restituisce il payload binario completo, inclusi byte zero per PCL e PWG, o stringa vuota in caso di errore

Note

Usare Length anziché operazioni su stringhe terminate da null per inviare o memorizzare il risultato

I client DLL usano RenderPagesToPrintBuffer, mentre i client ActiveX usano RenderPagesToPrintData per conservare i byte zero incorporati

Vedere anche

RenderPagesToPrintStream, RenderPagesToPrintFile