Created
August 2, 2015 14:35
-
-
Save gabrielsr/1616742913f65242c437 to your computer and use it in GitHub Desktop.
Printing Labels with html and css - PIMACO A4355, A4, 27 labels per page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media print { | |
/* Your styles here */ | |
} | |
@page { | |
size: 210mm 297mm; | |
outline: 1pt dotted; | |
margin: 0; | |
padding-top: 0; | |
} | |
@media screen { | |
.a4355page { | |
width: 210mm; | |
height: 297mm; | |
padding-top: 7mm; | |
padding-left: 6.4mm; | |
margin: 0; | |
outline: 1px dotted; | |
} | |
.print_label { | |
height: 31.5mm; /* should be 31.0 */ | |
width: 63.5mm; /* should be 63.5 */ | |
} | |
} | |
.a4355page { | |
width: 210mm; | |
height: 296mm; | |
padding-top: 9mm; | |
padding-left: 6.4mm; | |
} | |
.print_label { | |
height: 31mm; /* should be 31.0 */ | |
width: 63.5mm; /* should be 63.5 */ | |
} | |
.print_label { | |
padding-top: 2mm; | |
padding-left: 3mm; | |
margin-left: 2.6mm; | |
outline: 1pt dotted; | |
border-radius: 10mm; | |
float: left; | |
font-size: 3mm; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment