<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Printing to cups-lpd enabled queue fails]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9716&amp;type=atom" />
	<updated>2022-04-09T15:21:48Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9716</id>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40837#p40837" />
			<content type="html"><![CDATA[<p>Thanks for working to repro this....was beginning to think it was just me!</p><p>Has this been fixed for PHP 8.0/8.1?</p>]]></content>
			<author>
				<name><![CDATA[bradlanier]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45844</uri>
			</author>
			<updated>2022-04-09T15:21:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40837#p40837</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40836#p40836" />
			<content type="html"><![CDATA[<p>Booted with Live USB Ubuntu 21.10 and received&nbsp; &quot;Printer does not acept the job (0)&quot; <br />Downgraded php to 7.4. Things are working normal. Printing from both localhost and remote.<br />This php8 is a nightmare with FA.<br />@joe, while at it, can you please correct the spelling mistake in reporting\includes\class_printer.inc line 50 to read<br />&quot;Printer does not accept the job&quot;.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-04-09T14:35:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40836#p40836</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40823#p40823" />
			<content type="html"><![CDATA[<p>My environment:<br />Apache 2.4.48<br />PHP 8.0.8<br />Ubuntu Impish 21.10<br />Network Attached HP Color Laser<br />I also used the base Queue Name, but added the class to eliminate that as a possible cause of the problem.</p><p>So, unless the later above versions introduced a problem with using this print config, I am lost.</p>]]></content>
			<author>
				<name><![CDATA[bradlanier]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45844</uri>
			</author>
			<updated>2022-04-09T00:39:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40823#p40823</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40815#p40815" />
			<content type="html"><![CDATA[<p>@bradlanier,<br />I made the same setup as you mentioned above and its working for me. <br />My environment MINT (Ubuntu 20.2)<br />CUPS and CUPS-BSD<br />XINETD running with cups-lpd daemon<br />USB attached Printer (Canon MX320)<br />Did not create Class in CUPS just used the Queue Name of the printer (MX320-series).<br />FA printer Def:<br />Host name or IP: localhost<br />Port:&nbsp; &nbsp; 515<br />Printer Queue: MX320-series<br />Timeout: 5<br />I am able to print fine from FA installed locally. I also have another instance of FA installed on Windows 10 and it prints fine on the same printer from remote. Printer definition on the remote FA ix same as above but has the Mint IP address instead of localhost.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-04-08T02:53:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40815#p40815</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40814#p40814" />
			<content type="html"><![CDATA[<p>Any possibility to get the FA print system updated to directly support modern print options (CUPS)?</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[bradlanier]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45844</uri>
			</author>
			<updated>2022-04-08T00:53:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40814#p40814</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40810#p40810" />
			<content type="html"><![CDATA[<p>No, but I sure would like to.</p>]]></content>
			<author>
				<name><![CDATA[bradlanier]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45844</uri>
			</author>
			<updated>2022-04-07T15:34:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40810#p40810</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40809#p40809" />
			<content type="html"><![CDATA[<p>@bradlanier,</p><p>Did you succeed to get to work? How?</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-04-07T15:15:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40809#p40809</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40703#p40703" />
			<content type="html"><![CDATA[<p>No such entries in /etc/hosts</p>]]></content>
			<author>
				<name><![CDATA[bradlanier]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45844</uri>
			</author>
			<updated>2022-03-09T05:04:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40703#p40703</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40702#p40702" />
			<content type="html"><![CDATA[<p>Check if there exists an IP to URL linkage in etc/hosts where localhost might clash with actual IP.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2022-03-09T04:26:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40702#p40702</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Printing to cups-lpd enabled queue fails]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40698#p40698" />
			<content type="html"><![CDATA[<p>When printing in FA to Ubuntu Server localhost cups-lpd queue, print fails with &quot;Printer does not acept the job (0)&quot; error message.</p><p>When printing from another system to the same cups-lpd queue, the printer works normally.</p><p>Summary steps for setup:<br />installed cups-bsd package<br />installed cups<br />setup HP Color Laserjet M281cdw printer in cups<br />setup class queue and added printer<br />setup cups-lpd daemon using xinetd with logging<br />in FA, setup printer using class queue<br />attempted print, received&nbsp; &quot;Printer does not acept the job (0)&quot; error highlighted in red<br />systemscl status xinetd has the following entries for the cups-lpd daemon:<br />&nbsp; &nbsp; &nbsp;Connection from localhost (IPv4 127.0.0.1)<br />&nbsp; &nbsp; &nbsp;Print waiting jobs (no-op)<br />&nbsp; &nbsp; &nbsp;Closing connection<br />&nbsp; &nbsp; &nbsp;Connection from localhost (IPv4 127.0.0.1)<br />&nbsp; &nbsp; &nbsp;Receive print job for CLanOffColLasM281<br />&nbsp; &nbsp; &nbsp;Closing connection<br />the corresponding cups-lpd log entries are:<br />&nbsp; &nbsp; &nbsp;START printer pid=41149 from=::ffff:127.0.0.1<br />&nbsp; &nbsp; &nbsp;START printer pid=41150 from=::ffff:127.0.0.1<br />&nbsp; &nbsp; &nbsp;EXIT printer status=0 pid=41149 duration=0(sec)<br />&nbsp; &nbsp; &nbsp;EXIT printer status=1 pid=41150 duration=0(sec)</p><p>I then setup another computer to print to the port on the failing system using lpd protocol.&nbsp; The print test succeded<br />systemscl status xinetd has the following entries for the cups-lpd daemon:<br />&nbsp; &nbsp; &nbsp;Connection from BRADS-DELL-LAP.aisg.local (IPv4 192.168.77.100)<br />&nbsp; &nbsp; &nbsp;Receive print job for CLanOffColLasM281<br />&nbsp; &nbsp; &nbsp;Print file - job ID = 15<br />&nbsp; &nbsp; &nbsp;Closing connection<br />the corresponding cups-lpd log entries are:<br />&nbsp; &nbsp; &nbsp;START printer pid=41324 from=::ffff:192.168.77.100<br />&nbsp; &nbsp; &nbsp;EXIT printer status=0 pid=41324 duration=0(sec)</p><p>Please advise.</p>]]></content>
			<author>
				<name><![CDATA[bradlanier]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45844</uri>
			</author>
			<updated>2022-03-09T03:10:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40698#p40698</id>
		</entry>
</feed>
