From: Ciro S. <ci...@ka...> - 2005-10-19 01:48:09
|
I still can't print. I changed the conf file, added the printer name I have %printer =3D ('Samsung' =3D> 'lpr -Pml-1740-2'); I selected in the preferences (now it's my default). I logeed out, logged in, but I don't see any action when I click "print" There is nothing in /usr/local/sql-ledger/spool/ I don't understand the differences between post/print/ what does the software do when I choose 'screen'? thank you for your help ciro On 10/18/05, James P. Kinney III <jk...@lo...> wrote: > > On Mon, 2005-10-17 at 22:27 -0400, Ciro Soto wrote: > > I finally got sql_ledger to work. Without a manual this is very > > difficult to figure out. > > Anyways, I tried to print a invoice, and after I click on 'print' I > > don't know where the pdf file goes. > > What directory is it printed to ? > > You have to modify the sql-ledger.conf file to have real printers > listed. It's a perl hash generator string with 'name' =3D> 'print command= ' > pairs. The print command is what would be used to print a file from the > command line minus the filename. > > e.g, I want to print file foo.txt to a printer called hp: > > lp -Php foo.txt > > So for sql-ledger.conf I would have a printer line like: > > 'hp' =3D> 'lp -Php' > > If you have multiple printers, each line is separated by a ';'. > > > > Fedora Core 3 system. > > > > c > > > > -- > > "All problems are at the interface. Each one of them has a solution." > > from: "The Guitar Maker: An Exploration of Wisdom, Design and Love." > > A novel by C. A. Soto Aguirre. > > http://www.TheGuitarMakerExploration.com/ > -- > James P. Kinney III \Changing the mobile computing world/ > CEO & Director of Engineering \ one Linux user / > Local Net Solutions,LLC \ at a time. / > 770-493-8244 \.___________________________./ > http://www.localnetsolutions.com > > GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) > <jk...@lo...> > Fingerprint =3D 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQBDVU/jYZCtw4KcbKcRAoZVAJ9mZ2W2pOZdvoBlN45ojVfglKlHRACfaNLk > ZOhqQr/oJUY1siexezHQ9z4=3D > =3DXxvt > -----END PGP SIGNATURE----- > > > -- "All problems are at the interface. Each one of them has a solution." from: "The Guitar Maker: An Exploration of Wisdom, Design and Love." A novel by C. A. Soto Aguirre. http://www.TheGuitarMakerExploration.com/ |