Font identifying from raster

shermin sherminismail at gmail.com
Mon Feb 2 04:31:41 PST 2009


Hi,

 1) If i write the data for magnetic encoding in a text file,can I get those values in Page header using cupsString????

2)Also Why to write the application for generating postscript file
3)How it will be linked to the cups Flow???


Shermin


> shermin wrote:
> > Hi,
> >
> > I am writing the code for Magnetic encoding for my smart card
> > printers.I am using a special font for this.I thought of identifying
> > the special font for magnetic encoding so that whenever that font is
> > found in a job file ,it should be gone for magnetic encoding rather
> > than printing blankly.So is there any method to identify the font
> > from the raster data.If not ,how can be this achieved.???
>
> You can't recover the text from raster data.
>
> That said, I'd use a page attribute (cupsString1 through
> cupsString16 are available, each supporting up to 63 characters + nul)
> to pass the string(s) for the mag strip.  A custom option can be used
> to set the value, and/or you can write a small application that
> creates a PostScript file containing the image for the card and the
> string(s) for the mag strip.
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com





More information about the cups mailing list