Search found 13 matches: prnoffset

Return to advanced search

Re: nYoffset and nXoffset

TRy this if you make aOffset = PrnOffset( oPrn ) xbrowser aOffset and then ? oPrn:nYoffset,oPrn:nXoffset give you different values here aOffset = PrnOffset( oPrn ) give me 0,0 oPrn:nYoffset,oPrn:nXoffset give me 94,94 on class Tprinter the ...
by Silvio.Falconi
Mon Jan 15, 2024 10:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 820

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: Se necesita ayuda en el wiki !

... PrintBegin() PrinterEsc() PrinterSetup() PrnBinSource() PrnDuplex() PrnGetName() PrnGetOrientation() PrnGetPort() PrnGetSize() PrnLandscape() PrnOffset() PrnPortrait() PrnSetCopies() PrnSetPage() PrnSetSize() RaConst() Radial() RaEnumConnections() RaEnumEntries() RaGetConst() RaGetError() ...
by Cgallegoa
Tue Feb 23, 2010 3:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5500

... * Nuevo: Nuevo método MmSay( nRow, nCol ) en la clase TPrinter, igual que CmSay() (centímetros), pero manejando milímetros. * Mejora: La función PrnOffset( hDC ) --> aPoint ha sido modificada para usar la función GetDeviceCaps() para recuperar dicha información. Gracias a Ken Wantz por proponer ...
by Antonio Linares
Mon Oct 20, 2008 5:44 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October / Octubre 2008 (8.10)
Replies: 1
Views: 3306

New FTDN October / Octubre 2008 (8.10)

... Now it is fine. * New: Class TPrinter Method MmSay( nRow, nCol ), same as CmSay() (centimeters), but managing milimeters. * Enhancement: function PrnOffset( hDC ) --> aPoint has been modify to use GetDeviceCaps() to retrieve such information. Thanks to Ken Wantz for pointing this change! * ...
by Antonio Linares
Sun Oct 12, 2008 8:10 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October / Octubre 2008 (8.10)
Replies: 1
Views: 3306

Ken, > PrnOffset() Lets modify source\winapi\printdc.c this way: CLIPPER PRNOFFSET( PARAMS ) // ( hDC ) --> aPoint { POINT pt; pt.y = 0; pt.x = 0; /* Escape( ( HDC ) _parnl( 1 ...
by Antonio Linares
Fri Oct 03, 2008 11:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter:CmSay() and PrnOffset()
Replies: 2
Views: 682

TPrinter:CmSay() and PrnOffset()

... must be in centimeters which then gets converted back to millimeters. Was there a reason why centimeters was chosen as opposed to millimeters? PrnOffset() Escape( ( HDC ) _parnl( 1 ), GETPRINTINGOFFSET, NULL, NULL, ( LPPOINT ) &pt ) ; After looking at this ...
by Ken Wantz
Fri Oct 03, 2008 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter:CmSay() and PrnOffset()
Replies: 2
Views: 682

Impostare i margini della stampante

Salve, esiste una funzione per impostare i margini dell'area non stampabile di una stampante ? Per esempio, con la funzione prnoffset(oPrn:hDC) posso ottenere i margini superiore e sinistro. Vorrei però poterli impostare sulla stampante tramite fivewin. Qualche idea ? Grazie in anticipo ...
by Marco Turco
Fri Nov 17, 2006 9:35 am
 
Forum: All products support
Topic: Impostare i margini della stampante
Replies: 2
Views: 1139

printing from .exe running as a service

... application and install a printer." ) This comes from the printer.prg (tprinter class) from the following lines of code. if ::hDC != 0 aOffset := PrnOffset( ::hDC ) ::nXOffset := aOffset[1] ::nYOffset := aOffset[2] ::nOrient := ::GetOrientation() elseif ComDlgXErr() != 0 MsgStop( "There are no ...
by don lowenstein
Wed Apr 05, 2006 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: printing from .exe running as a service
Replies: 6
Views: 1933

... definire la carta prima di definire una stampante. Il tipo di carta infatti, come confermano le API utilizzate dalle funzioni PrnGetSize() e PrnOffset(), è una caratteristica della specifica stampante utilizzata. HAi ragione ma per esempio ho visto in ER che lui fa definire la pagina senza ...
by Silvio
Wed Feb 15, 2006 4:59 pm
 
Forum: All products support
Topic: Parametri di stampa
Replies: 24
Views: 8920

Ops, è vero. Però, pensandoci bene, non mi pare possibile definire la carta prima di definire una stampante. Il tipo di carta infatti, come confermano le API utilizzate dalle funzioni PrnGetSize() e PrnOffset(), è una caratteristica della specifica stampante utilizzata.

EMG
by Enrico Maria Giordano
Wed Feb 15, 2006 4:52 pm
 
Forum: All products support
Topic: Parametri di stampa
Replies: 24
Views: 8920

Le funzioni PrnGetSize() e PrnOffset() funzionano anche prima che venga definita una stampante.

EMG
by Enrico Maria Giordano
Wed Feb 15, 2006 4:21 pm
 
Forum: All products support
Topic: Parametri di stampa
Replies: 24
Views: 8920

Re: Parametri di stampa

... TPrinter:nXOffset (margine sinistro dell'area stampabile) e TPrinter:nYOffset (margine superiore dell'area stampabile) oppure la funzione PrnOffset(). EMG
by Enrico Maria Giordano
Wed Feb 15, 2006 1:03 pm
 
Forum: All products support
Topic: Parametri di stampa
Replies: 24
Views: 8920

Return to advanced search