[barcode] barcode on PCL printer

Andrea Scopece a.scopece@vizzavi.it
Fri, 18 Oct 2002 23:28:08 -0000


From: "Andrea Scopece" <a.scopece@vizzavi.it>

> The correct espression in pcl.c should be:
> ----------snip------------------------------------------------------
>
> fprintf(f, "%c*c%.0fH", 27, (j*scalef *10.0) - SHRINK_AMOUNT);
>
> ----------snip------------------------------------------------------
>
> attached here, a corrected version of pcl.c (barcode-0.98), with PCL
> comments added.
>
> Andrea Scopece

Please ignore my previous e-mail, may too much work this week .... Sorry.

the following sentence imply SHRINK_AMOUNT conversion from Points to
decipoints,
as it is in pcl.c, barcode-0.98.

 ----------snip------------------------------------------------------

fprintf(f, "%c*c%.0fH", 27, ((j*scalef ) - SHRINK_AMOUNT) * 10.0);

 ----------snip------------------------------------------------------

I will review pcl.c the next week.

Andrea Scopece