Search found 54 matches: printbegin

Return to advanced search

Re: Calculate total pages

...                   //cDoc, lUser, lPreview, xModel, lModal, lSelection      oDevice := PrintBegin( "Rechnung" + cUniqueID, , .F. , Setup():RGPrinter,  .F.    , .F. )oDevice := PrintBegin( "Rechnung" ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5507

Re: Printer hDC is 0

... var cModel value in my sub-class of TPrinter. To my surprise, it wasn't just a string of printer name but includes the driver and port too. In old PrintBegin(), the code at the end was      ...   cText   := GetProfString( "Devices", aPrn[ nScan ] )   cDevice := aPrn[ ...
by hua
Thu Feb 16, 2023 6:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer hDC is 0
Replies: 6
Views: 355

Re: set Report Orientation

... to print I ask for a specific thing oBrw:report() <<<<<---------------------- and does not care if the xbrowse report method uses Printbegin() I asked how do you do it? Now you are all expert professors, You are all good at doing classes, on the other hand, have remained a donkey ...
by Massimo Linossi
Fri Jan 07, 2022 6:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1040

Re: set Report Orientation

... to print I ask for a specific thing oBrw:report() <<<<<---------------------- and does not care if the xbrowse report method uses Printbegin() I asked how do you do it? Now you are all expert professors, You are all good at doing classes, on the other hand, have remained a donkey ...
by Silvio.Falconi
Fri Jan 07, 2022 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1040

Re: set Report Orientation

... .T.   if ::nLen < 1 .or. Empty( ::GetVisibleCols )      return nil   endif   oPrn :=  PrintBegin( cTitle, ;            // document                    ...
by Otto
Fri Jan 07, 2022 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 1040

Re: imprimir simultaneo

Encontré una solución, no me parece la mejor pero por ahora sirve. Genero 2 pdfs y lo hace bien. xnombrenota = "recicob" oPrnc := PrintBegin( xnombrenota , .t. , .t. , 'PDFCreator' , ) xnomcob = "cobrador" oPrn := PrintBegin( xnomcob , .t. , .t. , 'PDFCreator' , ) así funciono. ...
by jpcavagnaro
Mon May 18, 2020 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: imprimir simultaneo
Replies: 1
Views: 355

Re: IMPRESION CON TPRINTER EN EPSON TM-T20II

Hola, yo imprimo pasajes de bus asi: oPrn:=PrintBegin("Impresión de documentos",.F.,lPrv,cPrn,.T.) DEFINE FONT aFon1 NAME "Times New Roman" SIZE 0,12 OF oPrn DEFINE FONT aFon2 NAME "COURIER NEW" SIZE 0,14 BOLD OF ...
by jbrita
Fri Jan 18, 2019 12:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION CON TPRINTER EN EPSON TM-T20II
Replies: 3
Views: 1093

no printer selected program errors out

... lines to check for hDC. Maybe there is a way to build in a standard error handling for that. Best regards, Otto oVRD.prg after: ::oPrn := PrintBegin( ::cTitle,, ::lPreview, ; IIF( EMPTY( ::cPrinter ), NIL, ::cPrinter ), ; IIF( ::lPreview, lModal, .F. ) ) insert: //kein Drucker gefunden ...
by Otto
Tue Aug 08, 2017 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: no printer selected program errors out
Replies: 2
Views: 486

Fiveweb: problemas con la clase TPRINT

... , cNmbArchivo ) *================== LOCAL nCantPorHoja:=0 , nLongReci , nCantCopias AbroArchivosImpresion() if cNmbArchivo # Nil ; oPrn := PrintBegin( cNmbArchivo , .F. , .F. , 'PDFCreator' , .F. , .F. , ) else ; oPrn := PrintBegin( , .F. , .F. , , .F. , .F. , ) endif oPen := TPen():New(,7,,) ...
by silvinamazzaro
Thu Aug 25, 2016 1:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fiveweb: problemas con la clase TPRINT
Replies: 1
Views: 570

Re: Impresora por defecto

No dimos cuenta que el problema se genera cuando se usa el PRINTBEGIN.
Saludos
by acartucho
Mon Mar 28, 2016 3:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresora por defecto
Replies: 4
Views: 656

Re: Simple print question

I got it to work with the following code: setprintdefault(cprinter) oprn:=printbegin(pname,.f.,.f.,cprinter,.t.) oprn:end() print oprn name pname to cprinter Only then does the program successfully change the default printer. If I leave off any of those lines ...
by dtussman
Mon Feb 01, 2016 2:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simple print question
Replies: 9
Views: 1909

Erro ao imprimir

Na execução do meu projecto, quando pretendo imprimir no ecran (tela), aparece um erro. Exemplo: oPrn:=PrintBegin(cTit,.F.,.F.,,.T.) --> Sem erro para a impressora oPrn:=PrintBegin(cTit,.F.,.T.,,.T.) --> Dá erro para o preview Quando usava a versão FWH1307 o projeto ...
by jufer
Wed Feb 11, 2015 7:16 pm
 
Forum: All products support
Topic: Erro ao imprimir
Replies: 3
Views: 1028

Re: problemas con impresoras okidata usb

... oConexion, 1, 3) If (cImpresora:RecordCount) # 0 cPrn:=AllTrim(ADOField(cImpresora,"ma_desc")) Endif ADO Close cImpresora oPrn:=PrintBegin("Impresión de documentos",.F.,lPrv,cPrn,.T.) saludos
by jbrita
Tue Aug 19, 2014 6:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas con impresoras okidata usb
Replies: 5
Views: 691

Re: PDFCreator

Alguien tuvo problemas desde Windows 7 con esta sentencia oPrn:=PrintBegin(NomArc,.f.,    ,"PDFCreator",.T.) A mí me funciona bien en Windows 7. ¿No será que tiene incompleta la orden? ¿Porque tienes vacio el tercer parámetro? Intenta ...
by Manuel Valdenebro
Tue Aug 05, 2014 10:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDFCreator
Replies: 6
Views: 927

Setting default printer in Terminal Server environment

... code runs on local but not under TS: function main MsgInfo( "Current printer: "+PrnGetName() ) cPrinter:="PDF24 PDF" oPrn:=PrintBegin("",.f.,.T.,cPrinter) oPrn:End() MsgInfo( "Current printer: "+PrnGetName() ) && it return PDF24 PDF only if executed ...
by Marco Turco
Mon May 19, 2014 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Setting default printer in Terminal Server environment
Replies: 5
Views: 862
Next

Return to advanced search