Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

Last post 04-16-2008, 1:04 PM by Graham. 60 replies.
Page 2 of 5 (61 items)   < Previous 1 2 3 4 5 Next >
Sort Posts: Previous Next
  •  02-15-2008, 1:02 PM 5199 in reply to 5198

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Jerry, does PDF printing work?

    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  02-15-2008, 1:35 PM 5200 in reply to 5198

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

  •  02-15-2008, 2:01 PM 5201 in reply to 5200

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Jerry, is a download of the live cd ready yet ? Stick out tongue

    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  02-15-2008, 5:18 PM 5202 in reply to 5201

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Graham:
    Jerry, is a download of the live cd ready yet ? Stick out tongue

     Graham,  I will remaster the CD and make a new iso tonight - where would you like me to post it?  I haven't had a chance to see how it prints to pdf, but as you know, Linux has lots of ps and pdf tools, so I'm sure I can get that to work.  I usually have included efax-gtk with the Puppy Linux installations I have made.  It's a very easy to use fax send/receive application for Linux.  It also strikes me that I should make the synapse-sever on the Live CD populated with a default user, but include a blank set of synapse-server files to use that can be copied to storage media and symbolically linked to the PuppyLinux file system for the user to have their own customized synapse-sever installation.


    Developer
  •  02-15-2008, 5:39 PM 5203 in reply to 5202

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Jerry,

    The Synapse client relies on a working ghostscript installation to create pdfs.  These are then printed by the user, and also uploaded to the server for a print history.

    So, it looks like ghostscript will have to be installed under wine as well... not sure otherwise how the client could call GS on the linux side.

    As for where to post it ... if you post it anywhere I can download it, I can then push it on to Amazon's S3 for storage ( providing S3 is working properly! )

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  02-15-2008, 6:09 PM 5204 in reply to 5203

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Even though Ghostscript has an install program, my feeling is that it doesn't require you to run the installer program ... as long as the files are there.  I'll try this to verify.


    Developer
  •  02-15-2008, 6:19 PM 5205 in reply to 5203

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Graham:

    Jerry,

    The Synapse client relies on a working ghostscript installation to create pdfs.  These are then printed by the user, and also uploaded to the server for a print history.

    So, it looks like ghostscript will have to be installed under wine as well... not sure otherwise how the client could call GS on the linux side.

    As for where to post it ... if you post it anywhere I can download it, I can then push it on to Amazon's S3 for storage ( providing S3 is working properly! )

     

     Graham,

    The SynapseEMRClient.exe installer did install gs and GSview to Wine, but I didn't check yet to make sure they will work under Wine -- they should.  Wine replicates Windows printing with its own version of gdi.dll and so forth.  What I was referring to was that even if I can't get Wine to print as a "native" Windows printing system, I can always use Linux tools to print any ps or pdf files generated.  But, very likely GSview and gs will work in Wine just as they do on a "native" Windows installation of the synapse client.  I will test that tonight and report back how it works.


    Developer
  •  02-15-2008, 7:48 PM 5206 in reply to 5205

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    I should have mentioned that Wine's gdi32.dll communicates with the existing Linux printing system to print.  Wine can issues an lpr command directly to print (or cups-lpr) etc.  Puppy Linux version 3.0.1 that I used is directly compatible with Slackware, and has the CUPS printing system installed, which is good because CUPS has thousands of print drivers.  The bad news is that CUPS is just a bit flaky on Puppy Linux 3.0.1.  But I expect Barry Kauler and the crew to fix this (they are very responsive) and Puppy is due for a new release any time.  So very likely this problem will be fixed shortly anyway.
    Developer
  •  02-15-2008, 9:09 PM 5207 in reply to 5206

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    This is not a big problem because I can build a native linux client.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  02-16-2008, 10:06 AM 5208 in reply to 5207

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Graham:

    This is not a big problem because I can build a native linux client.

    But we should still concentrate on Core Synapse improvements vs. Linux.

    Especially if Jerry can get it working on Puppy Linux.

     


    Developer
  •  02-16-2008, 2:15 PM 5209 in reply to 5208

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Hopefully we shall have a Live PC to play with today Big Smile

    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  02-18-2008, 2:44 AM 5230 in reply to 5209

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Graham:
    Hopefully we shall have a Live PC to play with today Big Smile

    Graham obtained the new synapse-puppy-3.0.1.iso file from me today and reports everything seems to be working OK so far.  He already has figured out how to change the setting in Wine's implementation of the Windows registry so the environment variable points to the user's own synapse server and user name.

    GSview and ghostscript do indeed work inside Wine on the new Live CD.

     
    More testing to follow, but I agree with Jason that it's good the new Live CD appears to be working with synapse the same as on Windows so there is no "wasted" development time on two different OS's.
     


    Developer
  •  02-18-2008, 3:38 AM 5232 in reply to 5230

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Sadly there are a few problems:

    1. If I set the environment variables in the shell, and then wine synapse.exe, it works okay.  But if i use the gui to launch, then it
    doesn't know about the environment.
    2. All decimals on the screen are being displayed in scientific notation :((  This really screws up the display in my graphs tab
    3. The local embedded web server doesn't appear to be running.  Synapse is supposed to launch another instance of itself just to
    act as a web server on localhost:8001

    You can test this on any Synapse .. by pointing your web server to http://localhost:8001/shutdown.pl and a shut down message is seen.  Actually anything ending in .pl will do this.

    If anyone wishes to test, then the iso can be got from here. The iso image is about 240Mb.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  02-18-2008, 4:11 AM 5233 in reply to 5232

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    BTW, none of these is an insurmountable problem.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  02-18-2008, 4:30 AM 5234 in reply to 5233

    Re: Can Run Windows Synapse Client on Linux using Wine, Need help with getting Synapse Server to work with ODBC

    Smile
    Developer
Page 2 of 5 (61 items)   < Previous 1 2 3 4 5 Next >
View as RSS news feed in XML
Try-out the Click to try-out Synapse EMR Express Edition Free Synapse EMR Express Edition Click to try-out Synapse EMR Express Edition · ©2006 SynapseDirect · Terms and Conditions · Privacy Policy · help us keep Synapse EMR Express free for all Doctors

managing your electronic medical records · Unique Visits Dell Computer