<div dir="ltr">Still working on this. I can now print from the command line using either lp or lpr. I didn't have lpr working at first so I just changed the freeside print command to lp. I now have lpr working and have tried setting the freeside command back to the default of lpr -h. Still nothing. When I click reprint invoice I get returned to the cust main page. The best I can decipher send-invoice.cgi that is the intended behavior but I may be reading it incorrectly. In any case I get no errors. Going to Reports > Logs > Syslog shows nothing related to printing. I can't find any evidence of freeside passing the print command anywhere. <div><br></div><div>This is what is in the apache error log when I try to print. Is there anything here that's causing this?</div><div><br></div><div><div>[49205] [Sat Sep 16 08:27:54 2017] [warning]: FS::CGI::menubar deprecated; include /elements/menubar.html instead at /var/www/html/freeside/config/config-view.cgi line 1. (/usr/share/perl/5.20/Carp.pm:168)</div><div>[49206] [Sat Sep 16 08:28:00 2017] [warning]: FS::Conf created with no locale fallback. (/usr/share/perl5/FS/Conf.pm:70)</div><div>[49344] [Sat Sep 16 08:28:15 2017] [warning]: CGI::param called in list context from package HTML::Mason::Commands line 178, this can lead to vulnerabilities. See the warning in "Fetching the value or values of a single named parameter" at /usr/share/perl5/CGI.pm line 436. (/usr/share/perl5/CGI.pm:436)</div><div>[49203] [Sat Sep 16 08:28:46 2017] [warning]: FS::CGI::menubar deprecated; include /elements/menubar.html instead at /var/www/html/freeside/view/cust_bill.cgi line 1. (/usr/share/perl/5.20/Carp.pm:168)</div><div>[49204] [Sat Sep 16 08:28:52 2017] [warning]: WARNING: (pkgpart 86) Package def option recur_fee not found in options or plandata!</div><div> at /usr/share/perl5/FS/<a href="http://part_pkg.pm">part_pkg.pm</a> line 1288.</div><div>        FS::part_pkg::option(FS::part_pkg::flat=HASH(0x7f71932cbc18), "recur_fee") called at /var/www/html/freeside/view/cust_main/packages/package.html line 19</div><div>        HTML::Mason::Commands::__ANON__("countrydefault", "US", "manage_link_text", undef, "company_address", ARRAY(0x7f71932fdb50), "part_pkg-term_discounts", "", "cust_pkg-large_pkg_size", ...) called at /usr/share/perl5/HTML/Mason/Component.pm line 138</div><div>        HTML::Mason::Component::run(HTML::Mason::Component::FileBased=HASH(0x7f7193379070), "countrydefault", "US", "manage_link_text", undef, "company_address", ARRAY(0x7f71932fdb50), "part_pkg-term_discounts", "", ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 1305</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1295</div><div>        HTML::Mason::Request::comp(undef, undef, "countrydefault", "US", "manage_link_text", undef, "company_address", ARRAY(0x7f71932fdb50), "part_pkg-term_discounts", ...) called at /var/www/html/freeside/view/cust_main/packages/section.html line 35</div><div>        HTML::Mason::Commands::__ANON__(FS::cust_pkg=HASH(0x7f71932fa930), "cust_pkg-hide_discontinued-part_svc", "", "manage_link_text", undef, "countrydefault", "US", "cust_pkg-show_autosuspend", "", ...) called at /usr/share/perl5/HTML/Mason/Component.pm line 160</div><div>        HTML::Mason::Component::run_dynamic_sub(HTML::Mason::Component::FileBased=HASH(0x7f71932daff0), "subcomponent_.packagerow", FS::cust_pkg=HASH(0x7f71932fa930), "cust_pkg-hide_discontinued-part_svc", "", "manage_link_text", undef, "countrydefault", "US", ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 951</div><div>        HTML::Mason::Request::call_dynamic(FS::Mason::Request=HASH(0x7f7192dda658), "subcomponent_.packagerow", FS::cust_pkg=HASH(0x7f71932fa930), "cust_pkg-hide_discontinued-part_svc", "", "manage_link_text", undef, "countrydefault", "US", ...) called at /usr/local/etc/freeside/masondata/obj/2343492872/view/cust_main/packages/section.html.obj line 8</div><div>        HTML::Mason::Commands::__ANON__(FS::cust_pkg=HASH(0x7f71932fa930), "cust_pkg-hide_discontinued-part_svc", "", "manage_link_text", undef, "countrydefault", "US", "cust_pkg-show_autosuspend", "", ...) called at /usr/share/perl5/HTML/Mason/Component.pm line 138</div><div>        HTML::Mason::Component::run(HTML::Mason::Component::Subcomponent=HASH(0x7f71932da080), FS::cust_pkg=HASH(0x7f71932fa930), "cust_pkg-hide_discontinued-part_svc", "", "manage_link_text", undef, "countrydefault", "US", "cust_pkg-show_autosuspend", ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 1305</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1295</div><div>        HTML::Mason::Request::comp(undef, undef, FS::cust_pkg=HASH(0x7f71932fa930), "cust_pkg-hide_discontinued-part_svc", "", "manage_link_text", undef, "countrydefault", "US", ...) called at /var/www/html/freeside/view/cust_main/packages/section.html line 17</div><div>        HTML::Mason::Commands::__ANON__("cust_location_cache", HASH(0x7f71932d4d70), "cust_main", FS::cust_main=HASH(0x7f7192df2c08), "packages", ARRAY(0x7f719324fb18)) called at /usr/share/perl5/HTML/Mason/Component.pm line 160</div><div>        HTML::Mason::Component::run_dynamic_sub(HTML::Mason::Component::FileBased=HASH(0x7f71932daff0), "main", "cust_location_cache", HASH(0x7f71932d4d70), "cust_main", FS::cust_main=HASH(0x7f7192df2c08), "packages", ARRAY(0x7f719324fb18)) called at /usr/share/perl5/HTML/Mason/Request.pm line 951</div><div>        HTML::Mason::Request::call_dynamic(FS::Mason::Request=HASH(0x7f7192dda658), "main", "cust_location_cache", HASH(0x7f71932d4d70), "cust_main", FS::cust_main=HASH(0x7f7192df2c08), "packages", ARRAY(0x7f719324fb18)) called at /usr/local/etc/freeside/masondata/obj/2343492872/view/cust_main/packages/section.html.obj line 17</div><div>        HTML::Mason::Commands::__ANON__("cust_location_cache", HASH(0x7f71932d4d70), "cust_main", FS::cust_main=HASH(0x7f7192df2c08), "packages", ARRAY(0x7f719324fb18)) called at /usr/share/perl5/HTML/Mason/Component.pm line 138</div><div>        HTML::Mason::Component::run(HTML::Mason::Component::FileBased=HASH(0x7f71932daff0), "cust_location_cache", HASH(0x7f71932d4d70), "cust_main", FS::cust_main=HASH(0x7f7192df2c08), "packages", ARRAY(0x7f719324fb18)) called at /usr/share/perl5/HTML/Mason/Request.pm line 1305</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1295</div><div>        HTML::Mason::Request::comp(undef, undef, "cust_location_cache", HASH(0x7f71932d4d70), "cust_main", FS::cust_main=HASH(0x7f7192df2c08), "packages", ARRAY(0x7f719324fb18)) called at /var/www/html/freeside/view/cust_main/packages.html line 186</div><div>        HTML::Mason::Commands::__ANON__(FS::cust_main=HASH(0x7f7192df2c08)) called at /usr/share/perl5/HTML/Mason/Component.pm line 138</div><div>        HTML::Mason::Component::run(HTML::Mason::Component::FileBased=HASH(0x7f7193261b08), FS::cust_main=HASH(0x7f7192df2c08)) called at /usr/share/perl5/HTML/Mason/Request.pm line 1305</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1295</div><div>        HTML::Mason::Request::comp(undef, undef, FS::cust_main=HASH(0x7f7192df2c08)) called at /var/www/html/freeside/view/cust_main.cgi line 280</div><div>        HTML::Mason::Commands::__ANON__("keywords", 292) called at /usr/share/perl5/HTML/Mason/Component.pm line 138</div><div>        HTML::Mason::Component::run(HTML::Mason::Component::FileBased=HASH(0x7f7192decde0), "keywords", 292) called at /usr/share/perl5/HTML/Mason/Request.pm line 1305</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1295</div><div>        HTML::Mason::Request::comp(undef, undef, undef, "keywords", 292) called at /usr/share/perl5/HTML/Mason/Request.pm line 958</div><div>        HTML::Mason::Request::call_next(FS::Mason::Request=HASH(0x7f7192dda658)) called at /var/www/html/freeside/autohandler line 1</div><div>        HTML::Mason::Commands::__ANON__("keywords", 292) called at /usr/share/perl5/HTML/Mason/Component.pm line 138</div><div>        HTML::Mason::Component::run(HTML::Mason::Component::FileBased=HASH(0x7f7192db20c8), "keywords", 292) called at /usr/share/perl5/HTML/Mason/Request.pm line 1303</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1295</div><div>        HTML::Mason::Request::comp(undef, undef, undef, "keywords", 292) called at /usr/share/perl5/HTML/Mason/Request.pm line 484</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 484</div><div>        eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 436</div><div>        HTML::Mason::Request::exec(FS::Mason::Request=HASH(0x7f7192dda658)) called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165</div><div>        HTML::Mason::Request::ApacheHandler::exec(FS::Mason::Request=HASH(0x7f7192dda658)) called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831</div><div>        HTML::Mason::ApacheHandler::handle_request(HTML::Mason::ApacheHandler=HASH(0x7f718f2e6288), Apache2::RequestRec=SCALAR(0x7f7192dbc620)) called at /usr/local/etc/freeside/<a href="http://handler.pl">handler.pl</a> line 141</div><div>        eval {...} called at /usr/local/etc/freeside/<a href="http://handler.pl">handler.pl</a> line 141</div><div>        HTML::Mason::handler(Apache2::RequestRec=SCALAR(0x7f7192dbc620)) called at -e line 0</div><div>        eval {...} called at -e line 0 (/usr/share/perl/5.20/Carp.pm:169)</div></div><div><br></div><div><br></div><div><br></div><div>Thanks for any help,</div><div>Brian</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 15, 2017 at 10:42 AM, Brian Mine <span dir="ltr"><<a href="mailto:bbooker45@gmail.com" target="_blank">bbooker45@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">I have the network printer set as the default so that lp would get it to print. Or so I thought. I don't think freeside is passing the command at all but I'm not sure where I need to look to figure out what's going on. </div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sep 15, 2017 9:32 AM, "Larry Smith" <<a href="mailto:lesmith@ecsis.net" target="_blank">lesmith@ecsis.net</a>> wrote:<br type="attribution"><blockquote class="m_3794159257440609383quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmmm,  my system uses a network printer and<br>
the command is:<br>
<br>
> rlpr -no-bind -h -Plp@<printer-ip-address><br>
<br>
and it seems to work just fine.<br>
<br>
--<br>
Larry Smith<br>
<a href="mailto:lesmith@ecsis.net" target="_blank">lesmith@ecsis.net</a><br>
<div class="m_3794159257440609383elided-text"><br>
On Fri September 15 2017 09:15, Brian Mine wrote:<br>
> Freeside version 3.9<br>
> Debian 8.3<br>
> Perl 5.20.2<br>
><br>
> I can't seem to get freeside to send anything to my printer. Using a<br>
> network printer and I can print from the command line. Something like ls |<br>
> lp works fine but printing within freeside does nothing. I set the print<br>
> command to lp in settings. I'm not able to find anything in syslog or cups<br>
> logs. The web ui just returns to customer page, no error or much of<br>
> anything else.<br>
><br>
> Thanks for any help!<br>
</div>______________________________<wbr>_________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
<a href="http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users" rel="noreferrer" target="_blank">http://freeside.biz/cgi-bin/ma<wbr>ilman/listinfo/freeside-users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>