Skip to forum content
FrontAccounting forum
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
Yes, all HP JetDirect cards support FTP and it is enabled by default (Can be disabled, but most don't) Brother printers support FTP as well, but only of PS documents.
Would it be possible to allow a command to be run to post-process the PDF output? Most Linux distributions include ghostscript by default which includes PDF2PS (lowercase) which is easily called as pdf2ps input.pdf output.ps to output a file or pdf2ps input.pdf and the output is returned to standard out.
Thanks,
Craig.
Thanks RodW.
I checked and my printer is an MFC-7840W:
http://www.brother-usa.com/mfc/modeldetail.aspx?PRODUCTID=MFC7840W
Supports "BR-Script 3" which they say is PS3 compatible.
I always thought that inside the PDF wrapper was postscript and that was why it was easy to convert.
You make an excellent point, an additional selection for the printer postscript level would also be helpful.
Lastly below is a little example code to FTP a PDF to a printer (works with most HP printers) as an additional option:
//Close and output PDF document
$pdf->Output('test.pdf', 'F');
$file = 'test.pdf';
$remote_file = 'print_invoice.pdf';
$ftp_server = '192.168.X.Y'; // Printer IP Address
$conn_id = ftp_connect($ftp_server);
$login_result = ftp_login($conn_id, 'test', '');
if (ftp_put($conn_id, $remote_file, $file, FTP_BINARY)) {
echo "successfully uploaded $file to $ftp_server at ".date('l jS \of F Y h:i:s A')."\n";
} else {
echo "There was a problem while uploading $file to $ftp_server at ".date('l jS \of F Y h:i:s A')."\n";
}
ftp_close($conn_id);
It would also be great if there were a selection to send PS vs. PDF to the printer. I'm using a Brother printer and unlike an HP it won't accept a PDF (prints 50 pages of the text in the PDF file)
When setting up an LPD printer it would be great to have a "Print Test Page" button to help with troubleshooting/testing. When printing fails elsewhere in the application and a failure message appears FA doesn't say which printer failed to print. This makes setting troubleshooting more difficult.
Thanks!
Craig.
Posts found: 5