If you want compile a sample who contain win32prn you can do
hbmk2 test1.prg -lhbwin

hbmk2 is powerfull  harbour Tool that allow compile sample and large project
basic use of this tools is
hbmk2 ac_test
hbmk2 ac_test.prg
After this command you have ac_test.exe created
You can also immediaply execute simple using
hbmk2 ac_test -run

Hbmk2 is indipendent from Platform and Compiler that you use

hbmk2 test1.prg -lhbwin

2009/5/24 Sudip Bhattacharyya <sudipb...@gmail.com>:
>
> Hi All,
>
> I am a very new user of Harbour. I found that during printing with Lpt1 DMP,
> printing halts sometimes, which I didn't face when working with
> xHarbour+gtwvw.
>
> Here is a sample which will show want I want to mean:-
>
> FUNCTION Main()
>  LOCAL nChar := ASC( "A" )
>  CLEAR SCREEN
>  SET DEVICE TO PRINTER
>  SETPRC( 0, 0 )
>  DO WHILE nChar <= ASC( "Z" )
>     @ PROW() + 1, 0 SAY REPLICATE( CHR( nChar ), 75 )
>     nChar ++
>  ENDDO
>  EJECT
>  SET DEVICE TO SCREEN
>  @ ROW(), 0 SAY "Please check if your printer prints after pressing any
> key"
>  @ ROW()+2, 0 SAY "Press any key to continue..."
>  INKEY( 0 )
>  RETURN NIL
>
> My another question is, how can I use Windows Printing (like I did with
> win32prn in xHarbour) in Harbour?
>
> Thank in Advance :-)
>
> With best regards.
>
> Sudip
>
> --
> View this message in context: 
> http://www.nabble.com/Printing-Problem-tp23696757p23696757.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Massimo Belgrano

Analisi e sviluppo software per Lan e Web - Consulenza informatica - Formazione
Delta Informatica S.r.l. http://www.deltain.it/   +39 0321 455962
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to