No but
is possible
using hbxbp and xbpPrinter class
oPrt := xbpPrinter():New():Create()
oFont := XbpFont():new(oPS)
..
+ harbour/contrib/hbxbp/xbpprinter.prg
+ Implemented XbpPrinter() class.
Mostly working but has some differences with Xbase++ - a work-in-progress.
Integrated with XbpPrintDialog()
* harbour/contrib/hbxbp/tests/demoxbp.prg
+ Demonstration of XbpPrintDialog() and XbpPrinter() classes.
Click on <Print Dialog> toolbar button.
2010/1/31 Bruno Luciani <[email protected]>:
> Massimo it is posible to use this fonts and code sample in linux ?
>
> Bruno
>
>
> 2010/1/31 Massimo Belgrano <[email protected]>
>
>> One way for printing barcode code 128 symbologies is use font
>> here you can find a open source solution
>> http://sourceforge.net/projects/openbarcodes/
>> here a commercial solution http://www.barcodesoft.com/code128_font.aspx
>>
>> Folllow a untested sample
>>
>> oPrn := win_prn():New(GetDefaultPrinter())
>> oPrn:SetFont("code128",11,,,,255) // please try different value
>> oPrn:TextOut("ÑABC!Ó",.t.) // TEXT ready to TO PRINT
>> oPrn:TextOut(code128("ABC"),.t.) // TEXT TO PRINT IF YOU HAVE CONVERT
>> FUNC
>> oPrn:NewPage()
>>
> _______________________________________________
> Harbour-users mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour-users
>
--
Massimo Belgrano
_______________________________________________
Harbour-users mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users