Search found 6 matches: lpr

Searched query: lpr

by fergonm
Thu Oct 23, 2008 5:46 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con DELETE
Replies: 13
Views: 3568

... aDatos :={}
LOCAL aRect, cDirPadre:=GetPVProfString("Config","PathFoto",".",cIniFile)
LOCAL oDlg,oLb, oLbfg,oChild
LOCAL oCbx, oGet
local lPr := .f.
LOCAL iLd := .f.

cRefe:=Siniestr->NumControl
CLOSE DATABASES
SELE 1
USE Siniestr NEW
SELE 2
USE Polizas NEW
SELE 3
USE ...
by xProgrammer
Sun Mar 16, 2008 7:56 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Choosing a Printer
Replies: 0
Views: 752

Choosing a Printer

Hi Antonio

I am happily generating forms as postscript files and can print them and delete them via lpr. I would like to specify the printer that they are sent to. lpr supports this via the -P option. I wanted to get a list of printers bur GetPrinters() didn't seem to exist. I got a linker error ...
by xProgrammer
Mon Mar 10, 2008 6:23 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Questions etc about WinExec( <command>, <parameter&
Replies: 2
Views: 1425

Questions etc about WinExec( <command>, <parameter&

Hi Antonio

I am using WinExec() to print postscript files, with calls like this:

WinExec( "lpr", <postscript-file> )

That works fine. But I don't want to clutter up computers with the postscript files. So the logical thing is to erase them. But I am assuming that WinExec() operates asynchronously ...
by fafi
Fri Mar 07, 2008 8:32 am
Forum: FiveLinux / FiveDroid (Android)
Topic: Five Linux Printing
Replies: 3
Views: 1546

... without Fivelinux.

screen text mode only, not GUI

function main()
local cFilePrint := "report.prn"

set console off
set printer on
set printer to (cFilePrint)
?"Hello xProgrammer"
?"I'm Fafi"
?"Thank's for help"
set console on
set printer off
__run("lpr "+cFilePrint)
return nil


regards
Fafi
by FiveWiDi
Tue Feb 05, 2008 4:52 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Funcionamiento de DIALOG
Replies: 5
Views: 1960

... BUTTON ID 25 OF oDlg ACTION (ILd:=.t., oDlg:Refresh())
REDEFINE BUTTON ID 26 OF oDlg ACTION oDlg:End()
REDEFINE BUTTON ID 27 OF oDlg ACTION (lPr:=.t., oDlg:End())
ACTIVATE DIALOG oDlg CENTERED
ERASE TEMPORAL.NTX
CLOSE DATABASES
/////////////////////////////////////
Intento que tras ...
by fergonm
Tue Feb 05, 2008 4:23 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Funcionamiento de DIALOG
Replies: 5
Views: 1960

... BUTTON ID 25 OF oDlg ACTION (ILd:=.t., oDlg:Refresh())
REDEFINE BUTTON ID 26 OF oDlg ACTION oDlg:End()
REDEFINE BUTTON ID 27 OF oDlg ACTION (lPr:=.t., oDlg:End())
ACTIVATE DIALOG oDlg CENTERED
ERASE TEMPORAL.NTX
CLOSE DATABASES
/////////////////////////////////////
Intento que tras ...