zview maintainer

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

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

zview maintainer

Postby PeterS » Sun Apr 30, 2017 6:51 pm

Is anyone currently maintaining zView ?

It would be great if we could get printing support added.

I wonder if some of the qed print support could be lifted and shifted but that then made me think if a printer support library could be created ?
The idea would be to bundle the code for calling up the control panel, scaling, margins, previews...

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2233
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: zview maintainer

Postby lp » Sun Apr 30, 2017 7:03 pm

Go to the source code site and request it. Then the currently maintainer will be informed.

I made some codecs, my work is separate and located at my own site.

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

Re: zview maintainer

Postby PeterS » Sun Apr 30, 2017 7:32 pm

Do you mean the sourceforge one ?

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2233
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: zview maintainer

Postby lp » Mon May 01, 2017 1:41 am


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

Re: zview maintainer

Postby PeterS » Tue May 09, 2017 9:12 am

Thanks Lonny, I have added it as a feature request on zView.

I was pondering whether something like an SLB could be created with most of the standard printer functions in it (printer dialogue, printer connection etc.). It might make it easier to add printing support to other applications like zView, Netsurf, Highwire.

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

Re: zview maintainer

Postby wongck » Wed May 10, 2017 1:21 am

Why not make use of the same Print dialogs calls already done in Wdialog?
XaAES does not support the Wdialog print dialog call but it already support some other dialogs found in Wdialog (fonts, list box and what else? IDK)
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
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2233
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: zview maintainer

Postby lp » Wed May 10, 2017 2:23 am

I looked at the wdialog calls, this one for example: http://toshyp.atari.org/en/008005.html#pdlg_create
What drivers does it look for? Is it just a way of printing via nvdi?

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

Re: zview maintainer

Postby wongck » Wed May 10, 2017 2:57 am

My bad... XaAES does ALREADY support the Wdialog printer dialog.
I have no idea, maybe it looks for NVDI printers, but isn't NVDI printer drivers any GDOS drivers?
I mean the PDF driver is just another GDOS driver.
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: 11937
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: zview maintainer

Postby wongck » Wed May 10, 2017 3:03 am

I just did a quick test.
Booted Mint 1.19+ XaAES with NVDI.... the Wdialog opens up.
Booted Mint 1.19+ XaAES with SpeedoGdos.... the Wdialog does not open up.

So it is closely tied to NVDi printers. :(
I guess it should.... why would they help the competitor?
May be it just test for NVDi cookie?
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
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2233
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: zview maintainer

Postby lp » Wed May 10, 2017 7:38 am

If it's just a layer between nvdi, probably not a good method. I doubt the naes implementation (ndialog) supports the printing extension anyway.

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

Re: zview maintainer

Postby wongck » Wed May 10, 2017 10:02 am

What would be good is that something like fvdi does printing.
Last time I checked, IIRC, it does not support as devices above 10.
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
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2233
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: zview maintainer

Postby lp » Wed May 10, 2017 11:05 am

Ultimately the maintainer of zview has the final say. Anyone can go to the feature request page and add comments to an already existing request.

mikro
Atari God
Atari God
Posts: 1263
Joined: Sat Sep 10, 2005 11:11 am
Location: Brisbane, Queensland, Australia
Contact:

Re: zview maintainer

Postby mikro » Wed May 10, 2017 10:13 pm

The real problem is that the current maintainer knows nothing about GEM (and don't get fooled by the fact he is the author of mxPlay too ;-)) and honestly, doesn't even enjoy the idea of spending time with some GEM stuff.

If anyone need a hand with setting up dev environment etc, no problem, but I wouldn't expect any huge changes in near future; I still want to allocate some time to fix the most annoying issues but adding stuff like printing, whoa.

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

Re: zview maintainer

Postby wongck » Wed May 10, 2017 11:00 pm

Ha ha.... GEM is OK, just making your own GUI that's the worst for me.

I also would like to dabble into printing but at the GDOS level... if only fvdi does printers, may be I will get going.
I had so much issue with NVDI 5, while NVDI 3 works for GDOS printer drivers, NVDI 5 does not.
Any GDOS driver works with SpeedoGDOS....
Just that NVDI team needs to be incompatible with it and they hold majority market shares.....
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
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2233
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: zview maintainer

Postby lp » Thu May 11, 2017 7:13 am

I'd be happy with some of the easier suggestions, like increasing the size of some fields and adding fields so codecs can provide more info about a particular format. ;)

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

Re: zview maintainer

Postby Faucon2001 » Thu May 11, 2017 2:48 pm

I have had a strange behavior with zview in 1920x1080 resolution. When displaying an image in full screen (F10), in this specific resolution, zView applies a few pixels black border around the image, and this is very annoying if you want to use it as a wallpaper for Mint, as it won't fill the screen. In other resolutions like 1280x1024 or 1920x1200 you don't have this black border.
Also, when displaying an image full screen (in any resolution) zview puts some garbage pixels in the last bottom line.
One improvement that could be interesting is the possibility to move from page to page in a PDF document with the keyboard.
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

mikro
Atari God
Atari God
Posts: 1263
Joined: Sat Sep 10, 2005 11:11 am
Location: Brisbane, Queensland, Australia
Contact:

Re: zview maintainer

Postby mikro » Fri May 12, 2017 1:04 am

As Lonny says, put it in the bug tracker, I don't expect to get to zView sooner than a few months from now so reports/wishes like this would be long forgotten.

Rustynutt
Captain Atari
Captain Atari
Posts: 359
Joined: Wed Mar 21, 2012 7:38 am
Location: Oregon
Contact:

Re: zview maintainer

Postby Rustynutt » Fri May 12, 2017 5:21 am

lp wrote:Go to the source code site and request it. Then the currently maintainer will be informed.

I made some codecs, my work is separate and located at my own site.


lp, I'm digging out all my GFA disks to update whatever I have to work with your current work.
Tried the link (lp) in your sig, that domain comes up expired.
Any chance of updating it or pointing in the right direction?
Thanks

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

Re: zview maintainer

Postby PeterS » Fri May 12, 2017 9:10 am

There are other issues in zView like zoom in several steps and then zoom out again and you can't get back to 100% but it is a minor one.

Printing isn't trivial otherwise everyone would implement it. I thought some sort of one-stop plug-in that provides the essential Printing feature might make it easier for the app developers.

I had a look at the QED code and that covers most of the operations.

https://github.com/freemint/qed/blob/ma ... /prn_cfg.c

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

Re: zview maintainer

Postby wongck » Fri May 12, 2017 11:54 am

PeterS wrote:Printing isn't trivial otherwise everyone would implement it. I thought some sort of one-stop plug-in that provides the essential Printing feature might make it easier for the app developers.

I had a look at the QED code and that covers most of the operations.

https://github.com/freemint/qed/blob/ma ... /prn_cfg.c

Don't scare away programmers... it is very simple, if you use VDI.
It is just like writing to the screen, you just open a workstation being a printer instead.
You reuse the same code that writes to the screen except for the X,Y coordinates, taking care of the page size/scaling.
VDI is very powerful, I was able to do print out from my (older) programs without having a printer !!! Just using my screen as the output.

No need for any dialogs what so ever like you see in the QED code.
All these are taken care of by GDOS.
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

Rustynutt
Captain Atari
Captain Atari
Posts: 359
Joined: Wed Mar 21, 2012 7:38 am
Location: Oregon
Contact:

Re: zview maintainer

Postby Rustynutt » Sat May 13, 2017 8:29 pm

lp wrote:Ultimately the maintainer of zview has the final say. Anyone can go to the feature request page and add comments to an already existing request.

lp wrote:Ultimately the maintainer of zview has the final say. Anyone can go to the feature request page and add comments to an already existing request.


Did you really build the load files for all those image formats in a year, as the date suggest in file info? :cheers:

I've seen this before, but it's been years. Is this a raw format dump from the falcon?

FTC.LDG v1.05
File(s): FTC XGA
LDG protocol: v2.34
Type: Import only
Codec: Falcon True Color
Author: Lonny Pursell
Date: Dec 12 2016
Time: 14:11:26
Compiler: PureC v1.1m

Is the PureC version you use for the zview builds the one mentioned in the CT/SV area which requires patching for the 060? Seen a bunch of post about "line a" problems, think I got that right. If so, is that something that can be patched? I have LC5.5.5 (5.56?), and the HiSoft suite DSP and 68k assem.
Downloaded your version of all the GFA programs and tools, followed a couple of links you have. I've worked with FaceValue before, pretty simple. Think pretty much every other package thats been floating around for years, even Prolog :) I've looked at the GCC stuff, but I'm not there by any means :)

Nice work, for many years :)

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2233
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: zview maintainer

Postby lp » Sat May 13, 2017 11:03 pm

Rustynutt wrote:[Did you really build the load files for all those image formats in a year, as the date suggest in file info? :cheers:

I've seen this before, but it's been years. Is this a raw format dump from the falcon?

FTC.LDG v1.05
File(s): FTC XGA
LDG protocol: v2.34
Type: Import only
Codec: Falcon True Color
Author: Lonny Pursell
Date: Dec 12 2016
Time: 14:11:26
Compiler: PureC v1.1m

Is the PureC version you use for the zview builds the one mentioned in the CT/SV area which requires patching for the 060? Seen a bunch of post about "line a" problems, think I got that right. If so, is that something that can be patched? I have LC5.5.5 (5.56?), and the HiSoft suite DSP and 68k assem.
Downloaded your version of all the GFA programs and tools, followed a couple of links you have. I've worked with FaceValue before, pretty simple. Think pretty much every other package thats been floating around for years, even Prolog :) I've looked at the GCC stuff, but I'm not there by any means :)

Nice work, for many years :)


Yes, ftc.ldg loads raw Falcon high-color screen dumps. Well zview is built with gcc far as I know. I did write a bunch of codecs for zview with purec. I patched the purec library myself so its more firebee friendly. I don't know how long it took to write all the codecs as the data stamp is when it was last compiled. I prefer GFA, but LDG modules force me to use 'C'. :lol:

Not sure what you mean about line-a problems. Perhaps you refer to GFA as it had its share of issues. If you want to talk GFA we should keep it in the GFA section and not derail this thread. :wink:

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

Re: zview maintainer

Postby PeterS » Thu May 18, 2017 2:44 pm

So a new function would be needed to open the correct vdi printer device (might not be 21), scale the image to the correct resolution and send to the printer.

This function would have to be attached like the others in menu.c MenuDesktop

I did try to build zView a few years ago but never succeeded.

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

Re: zview maintainer

Postby wongck » Fri May 19, 2017 1:24 pm

PeterS wrote:So a new function would be needed to open the correct vdi printer device (might not be 21), scale the image to the correct resolution and send to the printer.

yes, more or less this is what needs to be done. IIRC, VDI will auto sent to the printer when you do a work_update ( off my head so this is not the real function name).

PeterS wrote:I did try to build zView a few years ago but never succeeded.

Don't bail, the best gold is a the bottom of a barrel of crap!
-Randy Puasch
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: 106
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: zview maintainer

Postby PeterS » Fri Jul 07, 2017 2:00 pm

Just browsing the zView code again.

There is a printer icon, so in zView/catalog/catalog.c [489] the Printer function could be activated:

Code: Select all

      case TOOLBAR_PRINT:
         /* Print image or PDF */
         Menu_print_image();
         break;


then in zView/menu.c [104] add the VDI printing code (the hard part)

Code: Select all

void Menu_print_image( void)
{
   /* todo
   open printer
   scale image
   send to printer
   close printer
    */
}


Social Media

     

Return to “Applications”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests