Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automated print pdf to folder
08-19-2015, 05:21 AM,
#4
RE: Automated print pdf to folder
Here is what I did
replaced
function OutputI($DocumentFilename = 'Document.pdf') {
if (($DocumentFilename == null) or ($DocumentFilename == '')) {
$DocumentFilename = _('Document.pdf');
}
$this->Output($DocumentFilename,'I');
}

function OutputD($DocumentFilename = 'Document.pdf') {
if (($DocumentFilename == null) or ($DocumentFilename == '')) {
$DocumentFilename = _('Document.pdf');
}
$this->Output($DocumentFilename,'D');
}
With
function OutputF($DocumentFilename = 'Document.pdf') {
if (($DocumentFilename == null) or ($DocumentFilename == '')) {
$DocumentFilename = _('Document.pdf');
}
$this->Output('/weberp/App_Data/print/' . $DocumentFilename, 'F');

I keep getting 500 error I have changed the permissions on the server folder thinking that may be the problem so I think it may be the path
The url is http://XXX.15.3.139/weberp I have tried the above and also /App_Data/print/ any help would be greatly appreciated.
Reply


Messages In This Thread
Automated print pdf to folder - by daveparrish - 08-15-2015, 11:43 AM
RE: Automated print pdf to folder - by daveparrish - 08-19-2015, 05:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)