|
From: Tero A. <te...@pr...> - 2005-06-29 17:45:48
|
This solution seems very promising, there is however one small problem: gsprint command needs filename to be passed as : " filename "=20 not: -filename If use: =A0 =A0 %printer =3D ( Default =3D> 'gsprint -'); it will be passed as ' gsprint -filename ', and ends up with error=20 so the big question is how to change it to be: 'gsprint "filename"' Now if I only could find out how to modify sql-ledger so that it is passed = so.=20 =46orm.pm? ANY IDEAS ?? > Hi, > > I think you have a couple of problems here... > > 1) SL makes PostScript files which are sent to the printer... unless > your printer is a postscript printer, you'll have problems > > 2) Windows does not have any command which will send standard input to a > printer... > > The solution is to use the GSPrint utility from GSview: > > %printer =3D ( Default =3D> 'gsprint -'); > > will print to the default windows printer, you can make it print to a > specific printer by adding a -printer option as follows: > > %printer =3D ( Laser =3D> 'gsprint -printer "HP LaserJet 6P" -'); > > Alternatively, > > %printer =3D ( Printers =3D> 'gsprint -query -'); > > will ask you which printer to print to. > > You will need to make sure that you add the gsview directory (c:\program > files\ghostgum\gsview) to your path. > > I don't run SL on windows, but I think this will work... > > Hope this helps > > Regards > > Richard |