You are here

public function TcPdfv1::getBlob in Entity Print 8.2

Gets the binary data for the printed document.

Return value

mixed The binary data.

Overrides PrintEngineInterface::getBlob

File

src/Plugin/EntityPrint/PrintEngine/TcPdfv1.php, line 103

Class

TcPdfv1
TCPDF plugin implementation.

Namespace

Drupal\entity_print\Plugin\EntityPrint\PrintEngine

Code

public function getBlob() {
  return $this->tcpdf
    ->Output('', 'S');
}