1 (edited by boxygen 10/13/2018 04:24:27 pm)

Topic: How to Use Print Profiles

How to use Print Profiles to send print directly to printer at a POS Location without going to browser preview. I am using Windows 10.

Printer is connected to the same computer where FA is used.

www.boxygen.pk

Re: How to Use Print Profiles

Is POS location different from FA location?
Is there a different printer connected to the POS machine?

Re: How to Use Print Profiles

By FA location if you mean the hosted location then yes FA is hosted at cloud. But if you mean the browser location from where print is sent then it is the same location i.e same computer to which POS printer is connected .

Only one printer i.e the POS printed is connected to the POS machine (computer )

www.boxygen.pk

Re: How to Use Print Profiles

Then there is no need to make print profiles. Just print the PDF reports directly onto the local printer.

Re: How to Use Print Profiles

Actually I need to avoid the process of previewing and then printing through browser. It will save time by avoiding a repetitive process while handing customers at Point of Sale location.

Can't we set print profiles for this reason?

www.boxygen.pk

Re: How to Use Print Profiles

Set the PDF to auto print in the printer preferences if the print profiles do not work. Choose a network capable POS printer of use a software driver for it or open the appropriate port like CUPS Ports 515, 631, 9100-9102 TCP on your router and windows firewall.

7 (edited by notrinos 10/15/2018 07:07:57 pm)

Re: How to Use Print Profiles

Print profile will not solve the problem.
Add this code to line 954 of pdf_report.inc

$this->IncludeJS("print();"); // force to open print dialog

modified code will be:

function End($email=0, $subject='')
{
    global $SysPrefs, $path_to_root;

    $this->IncludeJS("print();"); // force to open print dialog

Would be fine if this could be implemented to the core.
Tested on Chrome and Firefox

Phuong

Re: How to Use Print Profiles

@joe: Worth adding to the core with either a checkbox or sys_prefs flag?

Re: How to Use Print Profiles

Yes, this solution has solved my problem

www.boxygen.pk

Re: How to Use Print Profiles

This has been added to stable repo. A Company Setup has been added. 'Open Print Dialog Direct On Reports'. Default not marked.

Joe