Search found 17 matches: offsets

Searched query: offsets

by Silvio.Falconi
Mon Jan 15, 2024 7:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 1573

Re: nYoffset and nXoffset

... comment, but not directly in the code.

Pix2Inch - Uses nXoffset and nYoffset in the comment, but not directly in the code.

// Set the X and Y offsets for printing
oPrn:nXoffset := 10; // Set X offset to 10 units
oPrn:nYoffset := 20; // Set Y offset to 20 units

// Now, when you print something ...
by Otto
Sun Jan 14, 2024 11:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 1573

Re: nYoffset and nXoffset

... comment, but not directly in the code.

Pix2Inch - Uses nXoffset and nYoffset in the comment, but not directly in the code.

// Set the X and Y offsets for printing
oPrn:nXoffset := 10; // Set X offset to 10 units
oPrn:nYoffset := 20; // Set Y offset to 20 units

// Now, when you print something ...
by Silvio.Falconi
Tue Apr 18, 2023 11:53 am
Forum: FiveWin for Harbour/xHarbour
Topic: offset
Replies: 3
Views: 450

offset

can i have an example how to print with class tprinter with offsets x and offsety ' ?
by russimicro
Fri Jun 23, 2017 12:21 am
Forum: FiveWin para Harbour/xHarbour
Topic: ADSCDX/5035 The requested lock culd not be guaranted.
Replies: 6
Views: 1284

Re: ADSCDX/5035 The requested lock culd not be guaranted.

... by another user.
This error can also occur when using the Advantage proprietary table type (ADTs) and the current record has been deleted.

Linux Note If using a pre-2.4 kernel, it is possible to get this error because of an incorrect lock offset range. See USE_LOW_LOCK_OFFSETS for more details.
by bpd2000
Tue Oct 28, 2014 12:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: File Size and Record Limit
Replies: 5
Views: 2396

Re: File Size and Record Limit

... added support for large index files over 4GB length.
These are slightly modified CDX indexes which stores index page numbers
instead of index page offsets inside index file. This trick increase
maximum index files size from 2^32 (4GB) to 2^41 (2TB). This index
format is enabled automatically when DB ...
by Rick Lipkin
Sun Oct 06, 2013 3:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: encrypting dbf files
Replies: 67
Views: 18714

Re: encrypting dbf files

... As you can see .. I added msginfo() to test the values and rem'd them out. Feel free to try them for yourselves. Please note that this code offsets the data by one character at the beginning and you may need to adjust the width of your variables.

Rick Lipkin

//------------------------Func ...
by Gale FORd
Fri Sep 06, 2013 7:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Converting CVS files
Replies: 46
Views: 21710

Re: Converting CVS files

... allowing the table to grow beyond the 2GB limit of the FoxPro driver. Advantage does this by using a 64-bit unsigned integer to calculate the file offsets, while VFP uses a 32-bit signed integer. Using a larger value to track the file offsets allows Advantage to access DBF files that exceed 2GB in ...
by Antonio Linares
Sun Oct 16, 2011 5:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWin Web Interface
Replies: 78
Views: 23244

Re: FiveWin Web Interface

Bayron,

This is the line that makes the difference:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Anyhow, it partially gets IE working (menu is fine but dialogs offsets need to be fixed) and break Chrome...
by James Bott
Wed Jun 30, 2010 2:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: What's the right technique using oPrn:SayBitmap()?
Replies: 16
Views: 5332

Re: What's the right technique using oPrn:SayBitmap()?

... vertical and horizontal "offset." These are the sections of the page along the borders that the printer cannot print on. Like resolution, these offsets may be different for each printer.

I forgot to include these offsets in my calculations. However, you can use the built in method in TPrinter ...
by Antonio Linares
Sat Nov 22, 2008 1:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Corel.PRG - EMF bug
Replies: 5
Views: 1182

Davide,

> Why the offsets should be considered only if Preview is disabled ?

We implemented the Method ImportWMF() for a FWH user that needed it. Probably in his case it was required as he was satisfied with the results.

We can modify that code, no problem.
by Davide
Sat Nov 22, 2008 12:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: Corel.PRG - EMF bug
Replies: 5
Views: 1182

Corel.PRG - EMF bug - Solved (perhaps)

... if ! &#58;&#58;lMeta
SetViewOrg&#40; &#58;&#58;hDCOut, -&#58;&#58;nXoffset, -&#58;&#58;nYoffset &#41;
endif
By commenting those lines, the problem gets cured, but it seems to be intentional.

Why the offsets should be considered only if Preview is disabled ?
Antonio ?

Hi,
Davide
by Richard Chidiak
Thu May 29, 2008 4:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse left position on a window
Replies: 9
Views: 1380

... have to specify the size of the browse to make it work

@ 10,200 XBROWSE oBrw ;
OF wnd ;
SIZE ownd:nwidth - 200,ownd:nHeight - 30 PIXEL ;
ALIAS myalias

This syntax will work , if the size clauses is removed the browse will display but no offsets will be taken into consideration.

Rihard
by Enrico Maria Giordano
Sun Dec 10, 2006 8:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Printer Printable Area
Replies: 16
Views: 8241

... from the printable area. I'm not sure that the offset values need to be used anywhere since printable area already takes in to account the offsets.

No, it is correct. Without offset being subtracted, if you were print at 0 cm you would really print at the left printable margin that is not ...
by James Bott
Sun Dec 10, 2006 8:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Printer Printable Area
Replies: 16
Views: 8241

... nVertSize() ) - ::nYoffset )
nCol := Max( 0, ( nCol * 10 * ::nHorzRes() / ::nHorzSize() ) - ::nXoffset )

Because the offset is being subtracted from the printable area. I'm not sure that the offset values need to be used anywhere since printable area already takes in to account the offsets.

James
by James Bott
Tue Oct 31, 2006 5:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Printing of Images on Printers having different resolutions
Replies: 6
Views: 3153

Ramesh,

I find that often print drivers are inaccurate. They don't report the proper values for width, height, and x and y offsets (non-printable areas). So first I would check these.

oPrn:nXOffset
oPrn:nYOffset

Also check:
oPrn:nVertSize()
oPrn:nHorzSize()
oPrn:nVertRes()
oPrn:nHorzRes()

To see ...