From: Jason S. <ja...@de...> - 2006-05-03 12:40:41
|
On Wednesday 03 May 2006 01:00, Bob Holden wrote: > I'm running Version 2.6.7 on CentOS 4.2 on a secure VPS connection to the > host. > > How can I set printing to ONLY print to PDF's? (NO way to hook up a print= er > locally as Server is not in our office.) > > Thanks in advance for your expert response! :) > > In a previous question I posted here, where I was looking to make PDF the=20 default print option that showed up on each screen, Joseph Toon gave the=20 following response: =2D-------------------- You can change this by editing the source. To do this for the invoice scree= n,=20 do the following: 1. Edit sql-ledger/bin/mozilla/is.pl 2. Comment line 187 (add a # at the beginning): =A0 =A0 =A0 =A0 =A0$form->{format} =3D "postscript" if $myconfig{printer}; 3. Insert a line with the following: =A0 =A0 =A0 =A0 =A0$form->{format} =3D "pdf"; Save and test. This should now make pdf the default for the invoicing scree= n.=20 Other files you may want to do the same change are: aa.pl (ar/ap), jc.pl (j= ob=20 costing), oe.pl (quotations) =2D------------------- This will not make PDF printing the ONLY option available, just the default. =2D-=20 Jason Shein Director of Networking, Operations and Systems Detached Networks ja...@de... ( 905 ) - 876 - 4158 Voice ( 905 ) - 876 - 5817 Mobile http://www.detachednetworks.ca On-Site Computer Services - Available 24/7 Earn your service for FREE! Ask about our referral program. |