<?php require 'pdf-cmyk.php'; $pdf = new cmykPDF('P', 'mm', 'A4'); $pdf->AddPage(); $pdf->SetFont('Arial', '', 6); //$pdf->SetLineWidth(1); $pdf->SetCreator("CMYK Farbkarte"); $pdf->SetAuthor("Simon Kainz, simon@familiekainz.at"); $pdf->SetDisplayMode("fullpage", "single"); $anz_x = 9; $anz_y = 9; $max_x = 200; $min_x = 10; $max_y = 280; $min_y = 20; $size_y = 10; $step_x = ($max_x - $min_x) / ($anz_x + 1); $step_y = ($max_y - $min_y) / ($anz_y + 1); $size_x = $step_x * 0.8; $size_y = $size_x; $label_y = $min_y / 5 * 4; //$size_x=10; //die($size_x); //return 0; //$step_y=10; $posx = $min_x; $c_s = 90; $c_e = 100; $c = $c_s; $m_s = 90;