Media print type true

Hi Everybody,
Can any please tell me how i can activate print-media-type for PDF print in below code? The issue i am facing is that whenever i try to get pdf for the print format it gets horizontal bars at the top and bottom, I looked around the issue and came across that issue is that the media print screen is being selected from standard.css for the display.

		"print-media-type": None,
		"background": None,
		"images": None,
		'margin-top': '15mm',
		'margin-right': '15mm',
		'margin-bottom': '15mm',
		'margin-left': '15mm',
		'encoding': "UTF-8",
		'quiet': None,
		'no-outline': None,