I am having trouble finding a way to send a bar code image to the
printer. In VB you would write:

Printer.PaintPicture barcode.barPicture, leftpos, toppos

Can somebody provide me with a code snippet that will do similar in
VFP9? Is there some way that ??? will do the job?


Gleason

RE: barcodes by Allan

Allan
Tue Apr 03 23:22:01 CDT 2007

hi Gleason,

use a barcode font in place for the text field in your FRX. most barcode
printers comes with a built-in font for it, or get one from the net, i know a
lot out there are royalty-free...

allan

"Gleason Pace" wrote:

>
>
> I am having trouble finding a way to send a bar code image to the
> printer. In VB you would write:
>
> Printer.PaintPicture barcode.barPicture, leftpos, toppos
>
> Can somebody provide me with a code snippet that will do similar in
> VFP9? Is there some way that ??? will do the job?
>
>
> Gleason
>

Re: barcodes by Gleason

Gleason
Wed Apr 04 09:21:43 CDT 2007

On Tue, 3 Apr 2007 21:22:01 -0700, Allan
<Allan@discussions.microsoft.com> wrote:

>hi Gleason,
>
>use a barcode font in place for the text field in your FRX. most barcode
>printers comes with a built-in font for it, or get one from the net, i know a
>lot out there are royalty-free...

Thanks, Allan. The advantage of using the xbarcode ocx is that it
gives access to many symbologies, does not require a bar code printer
and can be used outside an frx. The program passes the numbers, and
receives the graphic image back. The bad news is that the FoxPro
language seems to have no way to print such a thing.


Gleason

Re: barcodes by Jan

Jan
Fri Apr 06 03:48:37 CDT 2007

Gleason,

If the ocx passes back an image then you can display that image in an image
control (you may have to put it on disk first).

You can also use the GDI subsystem to print the image.

HTH
Jan

"Gleason Pace" <sombrero@bluebottle.com> wrote in message
news:hsc713lusmmutgsh63knoqitvf8rl779pu@4ax.com...
> On Tue, 3 Apr 2007 21:22:01 -0700, Allan
> <Allan@discussions.microsoft.com> wrote:
>
>>hi Gleason,
>>
>>use a barcode font in place for the text field in your FRX. most barcode
>>printers comes with a built-in font for it, or get one from the net, i
>>know a
>>lot out there are royalty-free...
>
> Thanks, Allan. The advantage of using the xbarcode ocx is that it
> gives access to many symbologies, does not require a bar code printer
> and can be used outside an frx. The program passes the numbers, and
> receives the graphic image back. The bad news is that the FoxPro
> language seems to have no way to print such a thing.
>
>
> Gleason