Hi,
I get two problems. I have now tried a ledgersmb APT package in debian wheezy/7.1/LSMB-1.3.34 and a ubuntu raring/13.04/LSM-1.3.25. Both show the same behaviour
I was using 1.2.23 for years as well and was so stupid to install ledgesmb.tar.gz 1.3 on the production machine, somehow loosing the file name with invoice number when updating perl packages (can not retrieve which ones I updated). So I thought I would be done using a debian packaged ledgersmb on a clean debian/ubuntu to solve it, unfortunately the same behaviour exists there as well
I installed cups-bsd to get the lpr command and cups-pdf for printer PDF. These packages are installed on the same server where ledgersmb and apache2 is installed. I created just one product and one customer.
The results below are from debian wheezy 7.1
apt-get update/upgrade before "apt-get install ledgersmb"
perl v5.14.2
cups-pdf_2.6.1-6_amd64.deb
during installation I skipped the database user creation:
- create postgres user in psql (not using APT script): CREATE ROLE
ledgersmb WITH SUPERUSER LOGIN NOINHERIT ENCRYPTED PASSWORD 'pwd';
- using ledgersmb/
setup.pl in webGUI, all ok.
1. print to pdf always gives filename _stdin_.pdf, I expect a invoice number in the filename
Use of uninitialized value in lc at /usr/share/perl5/LaTeX/Driver.pm line 137.
2013/10/13 19:50:25 - INFO - LedgerSMB::new -- setting dbh from argstr $self->{dbh}=DBI::db=HASH(0x29d7d30)
And the result is a valid PDF with file name _stdin_.pdf
When I do the same PDF but then print to screen the browser gets a filename invoice-2.pdf (invoice number!) and the same valid PDF is opened in a pdf viewer. In the apache2/error.log I do see with print to screen as well: Use of uninitialized value in lc at /usr/share/perl5/LaTeX/Driver.pm line 137 but I do not see the message about "INFO - LedgerSMB::new".
2. print to queue results in no result at all