|
From: Tero A. <te...@pr...> - 2005-06-27 16:29:41
|
PROBLEM: Printing in Windows XP
I have installed Sql-ledger to a Win XP (service pack1 ) computer
installation includes Apache 2.054
Perl 5.8.7
+ Apache-DBI + Apache-DBILogin + DBD-Pg
(specially compiled for Perl 5.8.7 win
version )
AFPL Ghostscript 8.51
GSview 4.7
Miktex - Full
Microsoft VCToolkit
Postgre 8
IndigoStar - sendmail
SITUATION: Everything works exept:
1) printing to a printer HPLaserJetIIIP
2) Emails don't have senddate ( some Perl-component missing ? )
* Printer is local printer- Shared with name HPLaserJ
* IP of computer running Sql-ledger is 192.168.1.252
If I choose print to sceen with postgript I get a GSview window with perfect
template
If I choose to print to screen with PDF I get Adobe/GSview window with perfect
template
If I choose to print to file I get Apache-error and logfile shows me:
-malformed header from script. Bad header=No File to print
or
-malformed header from script. Bad header=The syntax of the command
is i: is.pl referrer: http://127.0.0.1/sql-ledger/is.pl.....
( Which one I get depends what I put to sql.conf file as printer )
Because winXP by default don't give me a possibility to use lpr ( as I can
in Linux ) I have tried many different printer settings.
When I print from command line I can do it for example:
> print /d:\\192.168.1.252\HPLaserJ filename(with path)
whit that command I can print to all shared LPT-connected-printers in network
( Windows ones)
so I try:
Some examples:
# available printers
%printer = ( Default => 'print /d:\\192.168.1.252\HPLaserJ');
and
%printer = ( Default => 'print /d:\\\\192.168.1.252\\HPLaserJ');
and
%printer = ( Default => 'copy /d:\\\\192.168.1.252\\HPLaserJ');
BUT NON OF EM WORKS
WHAT TO PUT THERE ????????
|