PHPackages                             holabs/printer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. holabs/printer

ActiveLibrary

holabs/printer
==============

Printing package for Nette framework

0.1.1(8y ago)11.3kBSD-3-ClausePHPPHP &gt;=7.1

Since Oct 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Holabs/Printer)[ Packagist](https://packagist.org/packages/holabs/printer)[ RSS](/packages/holabs-printer/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Holabs/Printer
==============

[](#holabsprinter)

Printer package is for easy printing in Nette framework

Installation
------------

[](#installation)

**Requirements:**

- php 7.1+
- [Nette Framework](https://github.com/nette/nette)

```
composer require holabs/printer
```

Using
-----

[](#using)

```
extensions:
	holabs.printer: Holabs\Printer\Bridges\Nette\PrinterExtension

# OPTIONAL
holabs.printer:
	auto-print: FALSE # Disable JS which call browser printing dialog
	layout: '%appDir%/presenters/template/printing/layout.latte' # Define own printing layout
	params: # Default parameters. Can be overwritten by job template options
		background: '#ffffff'
		margin: 2cm
		size: A4

# !!! You have to create your implementation of ITemplateStorage and IEntityStorage as service
```

```
