From: Rolf S. <in...@to...> - 2008-04-25 21:45:28
|
Joseph schrieb: > This one saves pdf files as "Letter" size but postscripts prints as "A4" > So I'm trying to ind out what commend is sql-ledger using to send "ps" output to a printer. > This way I can double check my postscript setting if I know what postscript program is sql-ledger using. SQL-Ledger calls latex + dvips to create the PS and pdflatex to create the PDF files: Form.pm line 825...: if ($self->{format} eq 'postscript') { system("latex --interaction=nonstopmode $self->{tmpfile} > $self->{errfile}"); ... system("dvips $self->{tmpfile} -o -q"); ... Form.pm line 839...: if ($self->{format} eq 'pdf') { system("pdflatex --interaction=nonstopmode $self->{tmpfile} > $self->{errfile}"); ... If they behave differently, I would look for the cause in the LaTeX installation and not in SQL-Ledger. I suggest to create simple tex file, run latex and check the logfile for warnings and errors. Rolf |