PH PDF Maker beta 3

Hardware, coding, music, graphic and various applications

Moderators: Mug UK, moondog/.tSCc., [ProToS], lp, Moderator Team

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

PH PDF Maker beta 3

Postby wongck » Thu May 05, 2016 3:12 pm

PH PDF Maker beta 3a is available for download from PHSW site.

Beta 3a:
Corrects misalignment of numeral in spreadsheet cell of Atari Works.
Some minor bugs fixes.

New Features in beta 3:
  1. Works with NVDI 3, 4, 5 & SpeedoGDos 5.0c, 5.7. See notes in ZIP file for details. (NVDI 5 is still clipping)
  2. True Colour 24-bits graphics support for real life colour reproduction in PDF.
  3. Selectable output resolution up to 300 dots per inch.
  4. Select from 12 standard PDF paper sizes for your PDF output.
  5. Compressed PDF for smaller file size.
  6. Secured PDF support with password encryption and read/open password.
  7. Protected PDF support by restriction control for copy, printing and editing.

Features from previous version:
  1. Creates PDF file simply by printing from an application via normal GDOS printer settings.
  2. Support VDI output function for graphics text, outline text, circle, polyline, rectangle and coloured filled area (closed poly line).
  3. Support Generalized Drawing Primitives (GDP) bar, arc, pieslice, circle, arc and ellipse.
  4. Support text effects such as bold, italic, outline, underline, rotation, colour, font scaling, superscript and subscript.
  5. Support VDI colour mapping for supported graphics objects, lines, texts and filled objects.
  6. Support TrueType fonts for nice font face output.
  7. Support Latin accents as defined by standard Atari character set (i.e. via keyboard).

Go to Probe House Software Atari software download page.
Enjoy.
Last edited by wongck on Sat Oct 14, 2017 11:57 am, edited 1 time in total.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
TheNameOfTheGame
Atari God
Atari God
Posts: 1044
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Re: PH PDF Maker beta 3

Postby TheNameOfTheGame » Thu May 05, 2016 3:59 pm

Nice work! :cheers: Sorry to hear NVDI 5 is still clipping text.

gstoll here on the forums has looked at the NVDI sources (see this page at the bottom: http://toshyp.atari.org/en/010005.html). Maybe he can offer some advice on the problem or look at the sources again if Oliver Buchmann will allow it to shed more light on the issue.

OL
Captain Atari
Captain Atari
Posts: 465
Joined: Fri Apr 01, 2005 6:59 am
Contact:

Re: PH PDF Maker beta 3

Postby OL » Thu May 05, 2016 4:03 pm

You are an incredible guy

Thanks so much for your work

Olivier

wongck wrote:PH PDF Maker beta 3 is available for download from PHSW site.

New Features in beta 3:
  1. Works with NVDI 3, 4, 5 & SpeedoGDos 5.0c, 5.7. See notes in ZIP file for details. (NVDI 5 is still clipping)
  2. True Colour 24-bits graphics support for real life colour reproduction in PDF.
  3. Selectable output resolution up to 300 dots per inch.
  4. Select from 12 standard PDF paper sizes for your PDF output.
  5. Compressed PDF for smaller file size.
  6. Secured PDF support with password encryption and read/open password.
  7. Protected PDF support by restriction control for copy, printing and editing.

Features from previous version:
  1. Creates PDF file simply by printing from an application via normal GDOS printer settings.
  2. Support VDI output function for graphics text, outline text, circle, polyline, rectangle and coloured filled area (closed poly line).
  3. Support Generalized Drawing Primitives (GDP) bar, arc, pieslice, circle, arc and ellipse.
  4. Support text effects such as bold, italic, outline, underline, rotation, colour, font scaling, superscript and subscript.
  5. Support VDI colour mapping for supported graphics objects, lines, texts and filled objects.
  6. Support TrueType fonts for nice font face output.
  7. Support Latin accents as defined by standard Atari character set (i.e. via keyboard).

Go to Probe House Software Atari software download page.
Enjoy.
OL

Playmobil
Atari maniac
Atari maniac
Posts: 82
Joined: Fri Nov 13, 2015 7:40 pm

Re: PH PDF Maker beta 3

Postby Playmobil » Thu May 05, 2016 4:25 pm

Great Job man !

Faucon2001
Atari Super Hero
Atari Super Hero
Posts: 645
Joined: Sat Oct 26, 2013 11:19 pm
Location: Brasil
Contact:

Re: PH PDF Maker beta 3

Postby Faucon2001 » Thu May 05, 2016 5:28 pm

Wow, genial. I have to test it !
Philippe

Firebee, Falcon, STE, Aranym Box, Hatari Pi Box.
My music http://www.philippeworld.net/
My photography http://phil-67.deviantart.com/
EasyAraMint, BeeKey and BeePi https://sites.google.com/site/emaappsarch/home

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Thu May 05, 2016 11:02 pm

Thanks, hope it is useful for at least one person. Overall it was enjoyment for me to do this.

One thing to note - true colour graphics takes obscene amount of memory and cpu cycles (depending on standard or device VDI format). So just be vary of the JPG you add into Papyrus or the size of the IMG you add to Atari Works.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Dal
Administrator
Administrator
Posts: 4072
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: PH PDF Maker beta 3

Postby Dal » Thu May 05, 2016 11:14 pm

Wow - great job!
TT030: 4MB/16MB + Crazy Dots, Mega"SST" 12, MegaSTE, STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's

Faucon2001
Atari Super Hero
Atari Super Hero
Posts: 645
Joined: Sat Oct 26, 2013 11:19 pm
Location: Brasil
Contact:

Re: PH PDF Maker beta 3

Postby Faucon2001 » Fri May 06, 2016 12:07 am

Just a quick feedback, with no luck. It crashes under Aranym+TOS4.04 + SPDGDOS 5.0c when I try to print with Works and Phpdf.prg refuses to launch. What is the difference between the softs in main folder and the ones in the 68000 folder: I have tried both and had the same result ?

May be also something to do with my working TOS setup which has suffered a lot recently? I'll try to build a new one and see.
Philippe

Firebee, Falcon, STE, Aranym Box, Hatari Pi Box.
My music http://www.philippeworld.net/
My photography http://phil-67.deviantart.com/
EasyAraMint, BeeKey and BeePi https://sites.google.com/site/emaappsarch/home

User avatar
kni
Atariator
Atariator
Posts: 28
Joined: Sat Sep 14, 2013 4:59 am

Re: PH PDF Maker beta 3

Postby kni » Fri May 06, 2016 5:07 am

wow ! great! good work !
some Falcons, some STe's, some ST's, some STacy's, some Jaguars, some Lynx's and one TT :mrgreen:

User avatar
kni
Atariator
Atariator
Posts: 28
Joined: Sat Sep 14, 2013 4:59 am

Re: PH PDF Maker beta 3

Postby kni » Fri May 06, 2016 5:07 am

.
some Falcons, some STe's, some ST's, some STacy's, some Jaguars, some Lynx's and one TT :mrgreen:

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Fri May 06, 2016 5:11 am

Faucon2001 wrote:What is the difference between the softs in main folder and the ones in the 68000 folder: I have tried both and had the same result ?


The one outside the folders are 68020-060 builds. I will make a note of this in the doc.

Faucon2001 wrote:May be also something to do with my working TOS setup which has suffered a lot recently? I'll try to build a new one and see.


As for the crashing, especially phpdf.prg, it should not as it defaults to some settings if there is no phpdff.dat file.
I just tested phpdf.prg with a old data file, and yes it does bombs out.
So please remove the old file for now, I will fix this bug over the weekend.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Fri May 06, 2016 2:48 pm

The bug fix was easier than I reckon. So it is fixed and uploaded to my site.
Thanks for reporting.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

gstoll
Atari freak
Atari freak
Posts: 62
Joined: Sun Feb 17, 2008 4:29 pm

Re: PH PDF Maker beta 3

Postby gstoll » Sat May 07, 2016 6:20 am

TheNameOfTheGame wrote:gstoll here on the forums has looked at the NVDI sources (see this page at the bottom: http://toshyp.atari.org/en/010005.html).

This passage is from Rolf Kotzian the first author from the tos.hyp. I never see the sourcecode from MagiC or NVDI.

Gerhard

User avatar
TheNameOfTheGame
Atari God
Atari God
Posts: 1044
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Re: PH PDF Maker beta 3

Postby TheNameOfTheGame » Sat May 07, 2016 3:58 pm

Ah thanks Gerhard...I didn't know that history :cheers:

Maybe someone could contact Rolf to ask then?

joska
Hardware Guru
Hardware Guru
Posts: 3636
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: PH PDF Maker beta 3

Postby joska » Wed May 11, 2016 7:23 pm

wongck wrote:PH PDF Maker beta 3 is available for download from PHSW site.


I haven't tested it yet, as all my "high-end" Ataris are shelved ATM. But I think this is a supercool project, and also a very important one for us "serious" Atari-users.
Jo Even

Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64

PeterS
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: PH PDF Maker beta 3

Postby PeterS » Mon May 16, 2016 8:54 pm

It's a genius idea, a pity more apps don't have better printer dialogues.

I installed and set assign.sys to use device 71 but couldn't get any pdf to generate from Everest (it lets you set the device). I also tried device 23. There is no c:\phpdffnt.dat either.

I don't think it's detecting the nvdi fonts which are installed in c:\btfonts and c:\ttfonts

Log file:

a V_OPENWORK Speedo v0 0 fonts 0dpi
VQ_EXTEND 1 c5=[0]
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a V_CLOSEWORK

a V_OPENWORK Speedo v0 0 fonts 0dpi
VQ_EXTEND 1 c5=[0]
VQ_EXTEND 1 c5=[1]
VQ_SCRINFO i0=[2] c5=[1]
VQ_EXTEND 1 c5=[1]
a WRITE_MODE 1
a MARKER_TYPE 1 but set to 1 (dot)
a MARKER_COLOR 1
a V_CLOSEWORK

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Mon May 16, 2016 11:01 pm

From the logfile, You are using NVDI and the phpdf.acc is saying you are using Speedo.
Can you run phpdf.prg and see if the phpdff.log along with phpdffnt.dat are both generated ?

I think even if you get the phpdffnt.dat, there will not be any TTF fonts detected, as it just looks into c:\btfonts only.
So you may need to move your TTF into the c:\btfonts.
phpdf will read the font folder information from NVDI.INF file.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

PeterS
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: PH PDF Maker beta 3

Postby PeterS » Tue May 17, 2016 7:43 pm

I re-ran phpdf but these are the only files created on C:\

PHPDF.IDX
PHPDF.LOG
PHPDFF.LOG

In nvdi.cnf I have 2 font paths:

FIFPATH = C:\BTFONTS\
FONTPATH = C:\BTFONTS\
FONTPATH = C:\TTFONTS\

Thanks.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Tue May 17, 2016 11:03 pm

And what does PHPDFF.LOG says ?

How many fonts do you have in your c:\btfonts ?
I did not know that you can have multiple FONTPATH statements in the NVDI.INF file.
PHPDF.PRG only reads the 1st one, my guess is that it does not contain any trutype fonts.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Wed May 18, 2016 1:58 pm

Just a note, there is space for only 64 fonts... that's total fonts in the system.
I just tried with 100 fonts and PHPDF.PRG choked and save zero fonts.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Wed May 18, 2016 3:20 pm

PeterS wrote:In nvdi.cnf I have 2 font paths:

FIFPATH = C:\BTFONTS\
FONTPATH = C:\BTFONTS\
FONTPATH = C:\TTFONTS\

Thanks.


So a quick fix by adding a TTF folder configuration in PHPDF.PRG, please select your 2nd C:\TTFONTS folder.

I also fix the more than 64 fonts, and the limitation is now PHPDF will only look at the 1st 64 TTF, even if you have 200 other fonts.

Download this version from the usual place.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

PeterS
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: PH PDF Maker beta 3

Postby PeterS » Thu May 19, 2016 7:31 pm

BT_Fonts contains folder totalling 40 fonts. TT_Fonts contains folders of 86 fonts.

I don't know how many FontPaths NVDI allows but I originally created 2 and then edited nvdi.inf to add the second path.

Thanks for the quick updates. I will give it a go.


The log file is as:

a V_OPENWORK Speedo v0 0 fonts 0dpi
VQ_EXTEND 1 c5=[0]
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a Pline done = 0
a V_UPDATEWORK
a V_CLEARWORK
a V_CLOSEWORK

a V_OPENWORK Speedo v0 0 fonts 0dpi
VQ_EXTEND 1 c5=[0]
VQ_EXTEND 1 c5=[1]
VQ_SCRINFO i0=[2] c5=[1]
VQ_EXTEND 1 c5=[1]
a WRITE_MODE 1
a MARKER_TYPE 1 but set to 1 (dot)
a MARKER_COLOR 1
a V_CLOSEWORK

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Fri May 20, 2016 8:08 am

Sorry i was asking for the logfile created by phpdf.prg called phpdff.log but I think it does not make one for you as it was not working 9probabgly due to too many fonts).
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

PeterS
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 109
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: PH PDF Maker beta 3

Postby PeterS » Fri May 20, 2016 8:26 pm

Sorry, I should have realised there should be 2 log files.

I installed the new version and had some success, the fonts are loaded (below). I tried to print from Everest but Everest crashed out. On the second attempt the Milan hung so I had to reboot.


Nvdi v503
the font path = [C:\TTFONTS\]
number of scr fonts = [108]
Too many fonts [Penoir Normal]
Too many fonts [Playbill]
Too many fonts [QTButlerCaps]
Too many fonts [QTChaplin]
Too many fonts [QTVanGogh]
Too many fonts [Revenue Normal]
Too many fonts [Serpentine Bold]
Too many fonts [Stensil Normal]
Too many fonts [Symbol]
Too many fonts [Tarunda Normal]
Too many fonts [Tengwar Quenya]
Too many fonts [TiffBlack]
Too many fonts [Times New Roman]
Too many fonts [Times New Roman Bold]
Too many fonts [Times New Roman Bold Italic]
Too many fonts [Times New Roman Italic]
Too many fonts [Titanic Normal]
Too many fonts [TitanicOutline Normal]
Too many fonts [Toto Normal]
Too many fonts [Umpa Normal]
Too many fonts [Wingdings]
index=[ 1] ID=[1] [6x6 system font] TTF path=[*]
index=[ 2] ID=[5000] [Aapex] TTF path=[aapex.ttf]
index=[ 3] ID=[23686] [Aarcover (Plain):001.001] TTF path=[cap_____.ttf]
index=[ 4] ID=[9165] [Advertiser Normal] TTF path=[advert.ttf]

etc.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH PDF Maker beta 3

Postby wongck » Sat May 21, 2016 12:03 am

Yes, there are 2 log files
phpdf.log for the generation of pdf file - this one you should look at if it hangs/crashes for clues.
phpdff.log for the fonts information. At the end of the logfile, it reports number of font file found OK, and number not found.

Did it crash or freeze?
If you're using TOS, it should say run out of pool memory or something like that. Just means there's not enough ram to produce the pdf.
In my own testing, I found that NVDI 5 tends to produce more crashes than the older versions.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list


Social Media

     

Return to “Professionals”

Who is online

Users browsing this forum: No registered users and 4 guests