[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb printer calibration



Hi, I've gived a look to the code in the cvs, and in src/hid/gtk/gtkhid-main.c 
i've found:

static HID_Attribute
printer_calibrate_attrs[] = {
  {"Enter Values here:", "",
   HID_Label, 0, 0, {0, 0, 0}, 0, 0},
  {"x-calibration", "X scale for calibrating your printer",
   HID_Real, 0.5, 2, {0, 0, 1.00}, 0, 0},
  {"y-calibration", "Y scale for calibrating your printer",
   HID_Real, 0.5, 2, {0, 0, 1.00}, 0, 0}
};

That was the only number 2 i've found around calibrate action so i've tried to 
change it in 11.0 just to be above 10.25 and it seems to work correctly now, 
naturally if you insert a number above 11 the dialog will revert it to 11.

So it seems the problem is just the dialog, as ps_calibrate_1 in ps.c work 
correctly.

Hope it's a userfull information.

Why the calibration page say the calibration box is 10.25 x 7.75 while in the 
code you check for 10.00 x 7.50 ? And witch should be the exact measure of 
the mm box?

Alle giovedì 29 novembre 2007, DJ Delorie ha scritto:
> 
> And if you just type "4" for both numbers, does it work?
> 
> (also, you can type in the ratios if you calculate them yourself; the
> number it *wants* is a number very near 1.0, which it uses as a global
> scale factor)
> 


Attachment: signature.asc
Description: This is a digitally signed message part.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user