gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] bug: write document in windows


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] bug: write document in windows
Date: Fri, 24 Jun 2011 09:58:32 +0200
User-agent: KMail/1.13.7 (Linux/2.6.38.4-23-desktop; KDE/4.6.4; i686; ; )

Am Mittwoch, 22. Juni 2011, 06:09:36 schrieb address@hidden:
> Hi
> How are you?
> Gnumed was not able to "write document" in windows because of failure to
> import from temp folder. Is it solved?
> 
> vaibhav

I beleive the error was not on importing from temp folder but as missing batch 
file

You can fix this easily

create a new file called gm-print_doc.bat

and place it in the PATH (e.g. on WinXP in C:\Windows\System32)

In this file put this:

echo %1
rem "You need to adjust the path to the Adobe reader executable"
rem "Furthermore you can specify command line arguments to Adobe reader"
rem "/T means print to default printer open and close Reader automatically"
rem "/P means open print dialog in Adobe reader"

rem "This is for Spanish path to Adobe reader  8.0"
rem "C:\Archivos de programa\Adobe\Reader 8.0\Reader\AcroRd32.exe" /T %2

rem "This is for German path to Adbobe reader 9.0"
rem "C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe" /T %2

rem "This opens the printer selection dialog"
rem "C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe" /P %2

rem "This might cover more cases (English/German) but not Spanish"
"C:\Progra~1\Adobe\Reader 9.0\Reader\AcroRd32.exe" /P %2
exit 0


activate the line you want by removing "rem" at the beginning of the line.

I tested it and it works great.

For the next GNUmed version Karsten has built this into GNUmed directly.

Sebastian 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]