From: Kristjan K. <kri...@gm...> - 2008-01-06 23:00:02
|
That didn't work, even using it from command line gives errors. I understand that dvipdf is no longer developed and replaced with dvipdfm or even dvipdfmx, which is the newest and recommended choice. Does anybody know which .pl files in SL directory have these commands? Maybe it would be sufficient to just edit the command there. Or is there anybody out there at all who has got printing and/or creating pdf working on Windows installation? Thankful for any hints, Kristjan 2008/1/6, Michael Hasse <mh...@it...>: > > As an interim workaround should be able to just add the path and then > make a copy of the dvipdfm.exe with the name that's expected, dvipdf.exe > > > Thanks, > > Michael > > > > On Jan 6, 2008, at 8:17 AM, Kristjan Kaljund wrote: > > > 2008/1/6, Stroller <lin...@my...>: > >> > >> > >> On 4 Jan 2008, at 21:45, Kristjan Kaljund wrote: > >>> > >>> ... I finally got SL working on Windows server (Win XP + > >>> Apache2triad + all those DBD and DBI things),... > >>> - I'm unable to print or save in pdf-format any of the > >>> invoices. After several more hours of online search I have proTeXt > >>> installed > >>> and the pdf+postscript options show nicely in the appropriate > >>> pulldown > >>> menus, but no actual result - SL simply refreshes the screen as if > >>> it's done > >>> something or just gives a simple 'Error' message. > >> > >> Hi Kristjan, > >> > >> I'd guess - but it's only a guess - that Ghostscript might be > >> required. > >> > >> (Update: http://faculty.smu.edu/barr/latex/ seems to confirm this) > >> > >> Can you make a PDF using a simple test .tex file? > >> > >> I haven't used LaTeX on Windows, but the comp.text.tex newsgroup [1] > >> is VERY helpful. > >> The FGA (frequently given answer) there is "Can you recreate the > >> problem in a minimal example and post it?" > >> > >> For example, one of my problems was in the past resolved by basing > >> future revisions on the following tex markup: > >> \documentclass[pdftex]{article} > >> \usepackage[latin1]{inputenc} > >> \usepackage[pdftex]{geometry} > >> \geometry{a4paper,landscape, > >> nohead,nofoot, > >> left=15mm,right=15mm,top=1cm,bottom=1cm} > >> \usepackage{longtable} > >> \begin{document} > >> \thispagestyle{empty} > >> \noindent > >> ABC\hfill this XYZ\par > >> > >> \vfill\noindent > >> ABC\hfill XYZ > >> > >> \end{document} > >> > >> Under Linux I would place this in a file called " test.tex" and run > >> `latex test.tex`. This gives a foo.dvi output file, which I would > >> convert to pdf using `dvipdf foo.dvi `. I'm not sure how you > >> undertake this on Windows, but you need to convert a .tex file to PDF > >> before you start chasing problems with LedgerSMB. > >> > >> Stroller. > >> > >> > >> [1] http://groups.google.com/group/comp.text.tex/ > > > > > > Hi, > > > > Thanks for you reply. Ghostscript in installed and following your > > instruction I managed to create a .pdf from the quoted .tex file, > > the only > > difference being that the command in my case is not 'dvipdf > > test.dvi, but > > 'dvipdfm test.dvi'. I guess I would need to change that somewhere > > in the SL > > configuration as well? I just don't know where - the sql- > > ledger.conf files > > just says: > > > > # if the server can't find gzip, latex, dvips or pdflatex, add the > > path > > $ENV{PATH} .= ":/usr/local/bin"; > > > > but running dvips or pdflatex from command line seems to work fine. > > > > Kristjan > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > sql-ledger-users mailing list > > sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |