On Wed, 09 Jul 2008, David Arturo Macias Corona wrote:
Hi David,
> produce not output in printer, but I found two files on disk with
> content sent to printer:
> LPT1.prn, PRN.prn
The same happens in MS-Windows sometimes.
> Perhaps all problem is automatic .prn extension added ?
> This extensi
On Wed, 09 Jul 2008, David Arturo Macias Corona wrote:
Hi David,
> Before your responses I wrote to Maurilio, after old xHarbour tests.
> This is his reponse:
> --
> David,
> I think OS/2 support for printers has never been written. I don't know if
> o
Przemek, Maurilio:
>produce not output in printer, but I found two files on disk with
>content sent to printer:
>LPT1.prn, PRN.prn
>Perhaps all problem is automatic .prn extension added ?
>This extension is ignored in DOS/Win when device exist, and not ignored
>in OS/2 ?
Confirmed
Deleting ".pr
Przemek, Maurilio:
Testing again with this code:
---
func main
SET PRINTER ON
? "Printing to default"
SET PRINTER OFF
SET PRINTER TO PRN
SET PRINTER ON
? "Printing to default (PRN)"
SET PRINTER OFF
SET PRINTER TO
SET PRINTER TO LPT1
SET PRINTER ON
? "Printing to LPT1"
SET PRINTER O
Przemek:
>David's report suggests that code like:
> proc main()
> local hFile, cFile, cData
> cFile := "PRN"
> cData := "Printer test" + hb_osNewLine() + ;
> Version() + hb_osNewLine() + ;
> Os() + hb_osNewLine() + ;
> DTOC( Date() ) + "
Przemek:
>Have you tried xHarbour?
>Such printing uses normal file API. In xHarbour Maurilio changed open()
>function used by hb_fsOpen() to OS2 API DosOpen() combined with
>_imphandle()
> 2006-06-06 09:58 UTC+0200 Maurilio Longo libero.it>
> * source/rtl/filesys.c
>+ added HB_O
Hi Przemyslaw,
Przemyslaw Czerpak wrote:
> On Tue, 08 Jul 2008, Maurilio Longo wrote:
>
> Hi Maurilio,
>
>> Locking works ok on xHarbour, I'm using it extensively on files shared
>> between
>> OS/2, DOS and win32 processes which handle files on a mars_nwe volume.
>
> This may work because it
On Tue, 08 Jul 2008, Maurilio Longo wrote:
Hi Maurilio,
> Locking works ok on xHarbour, I'm using it extensively on files shared between
> OS/2, DOS and win32 processes which handle files on a mars_nwe volume.
This may work because it uses different internal API. The client requests
are transl
Przemyslaw,
Locking works ok on xHarbour, I'm using it extensively on files shared between
OS/2, DOS and win32 processes which handle files on a mars_nwe volume.
I think that my fix to filesys.c is superceded by newer GCC versions, but I
did not test this extensively given that the present code
On Tue, 08 Jul 2008, David Arturo Macias Corona wrote:
Hi David,
> Harbour under OS/2 does not output to printer
> Notice: I never tried to print with Harbour under OS/2 due I use it in
> server side, which does not need to print, so this was a surprise
Have you tried xHarbour?
Such printing use
Any idea / hint / test ... in problem described below ?
David Macias
Harbour under OS/2 does not output to printer
Notice: I never tried to print with Harbour under OS/2 due I use it in
server side, which does not need to print, so this was a surprise
I use an old and complex system made in C
11 matches
Mail list logo