Search found 1502 matches

by mastintin
Tue Jan 26, 2021 10:15 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: problems after update to MacOs 11.1 (Big Sur)
Replies: 8
Views: 6424

Re: problems after update to MacOs 11.1 (Big Sur)

your app now it doesn't show the message it does not run on macosx 10.13 .in fact it runs , but it comes out immediately without giving any error.
¿?. I have no idea what could be happening.
If you want, you can send the whole project so I can compile it here to see if it works.
Cheers.
by mastintin
Tue Jan 26, 2021 8:43 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: problems after update to MacOs 11.1 (Big Sur)
Replies: 8
Views: 6424

Re: problems after update to MacOs 11.1 (Big Sur)

your app not run in my mac . For compile have you used --mmacosx-version-min=10.3 ? This is important . Compile your app with thas flag and forward it to me. your gcc line see : gcc $(PRG_OBJS) -o $(CONT_PATH)/MacOS/Plantenkennis --mmacosx-version-min=10.3 -L$(FIVEMAC_PATH)/lib -lfive -lfivec -L$(HA...
by mastintin
Mon Jan 25, 2021 7:58 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: problems after update to MacOs 11.1 (Big Sur)
Replies: 8
Views: 6424

Re: problems after update to MacOs 11.1 (Big Sur)

to force minimum version to compile add this flag :
-mmacosx-version-min=10.12 ( for 10.12 for sample )
This limit your app to macox10.12 and higher.
I use 10.13 if you need to know if an app works, I have no problem testing it.
cheers.
by mastintin
Sun Jan 24, 2021 10:27 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: problems after update to MacOs 11.1 (Big Sur)
Replies: 8
Views: 6424

Re: problems after update to MacOs 11.1 (Big Sur)

Also, is there a way to compile the program for older OS versions. Now, when I compile the program, users can only use it if they have the same OS version. So users with MacOs 10.15 can't use my newest software anymore. I thought it had to do with the XCode version, but I use version 9.4.1 which is...
by mastintin
Mon Feb 24, 2020 11:37 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing constants
Replies: 3
Views: 5627

Re: printing constants

Change this function in printers.m : HB_FUNC( PRNSETPAPERNAME ) {  NSString * string = hb_NSSTRING_par( 2 );  NSPrintInfo * pi = ( NSPrintInfo *  ) hb_parnl( 1 );    [ [pi dictionary] setObject: string forKey: NSPrintPaperName]; // FIXME: Should this change the orientation?  [ [ pi dictionary] setOb...
by mastintin
Mon Jan 13, 2020 9:46 pm
Forum: Off Topic / Otros temas
Topic: TAX. Country. Impuesto Paises
Replies: 3
Views: 2583

Re: TAX. Country. Impuesto Paises

no se si esto te responde a la pregunta ... En España si no eres consumidor final ( una tienda por ejemplo ) sobre la base del whisky 100 pagarias el 21% iva y el 5,2% recargo de equivalencia : 100 + 21 + 5,2 = 126,2 € total de la factura . Esto se aplica a los minoristas autónomos que venden a clie...
by mastintin
Fri May 31, 2019 6:39 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing on portrait or landscape paper
Replies: 7
Views: 5285

Re: printing on portrait or landscape paper

Right now, I have problems with bitbucket ,I have uploaded the changes to repository but libs not upload . for the moment you can use it directly on your code. local nOrinetation := 0 ..... oPrn:SetTopMargin(0) oPrn:SetbottomMargin(0) oPrn:setPaperName("A4") *oPrn:AutoPage(.T.) nOrientatio...
by mastintin
Wed May 29, 2019 6:19 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing on portrait or landscape paper
Replies: 7
Views: 5285

Re: printing on portrait or landscape paper

Hello Manuel, This looks good I think. But how if we print in a large fontsize? Is it possible to set the nSetrowPerPage just like set PageOrientation? Yes of course. You can adjust the number of lines you want both horizontally and vertically. LastRow will be ::nRowsPerPage - 1 . ... oPrn:SetPagOr...
by mastintin
Wed May 29, 2019 12:46 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing on portrait or landscape paper
Replies: 7
Views: 5285

Re: printing on portrait or landscape paper

Change method setpagOrinetation () to this METHOD SetPagOrientation( nOrientation ) CLASS TPrinter     PrnInfoPagSetOrientation( ::hPrnInfo, nOrientation )     if nOrientation == 0        ::nRowsPerPage := 40     elseif nOrientation == 1        ::nRowsPerPage := 20     endif return nil   See if nRow...
by mastintin
Sat May 11, 2019 9:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 10519

Re: Rpreview issues - PDF

AntoninoP , more code for TPrinter2PDF. RoundRect support :-) It would be necessary to clean the code and do more intensive tests. :-) void Emf2Pdf::ParseFile() { ....   case EMR_ROUNDRECT:          nRead += RoundRectangle(); break; ..... } //------------------------------- #include <math.h> #ifndef...
by mastintin
Thu May 09, 2019 6:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 10519

Re: Rpreview issues - PDF

hmpaquito wrote: Microsoft Print to PDF use is limited.

Only Windows 10.
How to silent mode ?
How to configure ?
How to assignt pdf full file path name ?

Limited, I think.

Regards.
Yes Correct. :-)
by mastintin
Thu May 09, 2019 4:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 10519

Re: Rpreview issues - PDF

I have tried with "Microsoft Print to PDF" and it gives a great result. This code to test ( you have to have win10 and the printer installed. )     TPreview():bSaveAsPDF := { |o| SaveMSPdf( o ) } Function SaveMSPdf( oPreview )    local cPrnName := "Microsoft Print to PDF"       I...
by mastintin
Wed May 08, 2019 2:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 10519

Re: Rpreview issues - PDF

mail send. :-)
by mastintin
Wed May 08, 2019 11:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 10519

Re: Rpreview issues - PDF

It is possible to embed an image in harupdf (jpg, png). You can convert the emf in jpg or better in png, but this is where we lose quality and generate a very large pdf, and the text is not text is image. The result would be similar to what we have now, only change Tpdf() code for Harupdf code ... R...
by mastintin
Wed May 08, 2019 10:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 10519

Re: Rpreview issues - PDF

Nages ... Here the emf is not embedded in the pdf. Here the code analyze the content of the emf and convert it to pdf format. For example: The emf is analyzed and a text is found, this text is passed to pdf text (with all the advantages of size and possibility of searching). It is a Rectangle is pas...