On 7 March 2014 08:26, Juergen Daubert <jue@jue.li> wrote:
On Thu, Mar 06, 2014 at 09:11:15PM +0000, Wawrzek Niewodniczanski wrote:
Hi,
I have a strange problem with cups. I install port and found I cannot connect to port 631. To address it I added /etc/hosts.allow cupsd: 127.0.0.1
try
cupsd: 127.0.0.1 localhost
Thanks it works.
for some unknown reasons cups, and only cups AFAIK, needs both to work properly. I'll add a note about that to the cups README.
Good idea. Now I have another problem related to my hp deskjet f4280 printer. I installed hpcups and my printer was recognise by cups but I cannot print anything, even test page. On the test page (webpage in cups) I see following lines: Print Test Page HP_Deskjet_F4200_series Error Unable to print test page: No such file or directory I tried both hplip 3.14.1 from port and latest 3.14.3 (BTW. Please update port). Also I don't see in Firefox, but LibreOffice see it, however cannot properly print. I see jobs in the completed jobs list, but they are cancelled with size 0. Regards, Wawrzek PS. Error messages from log (from test page run). D [07/Mar/2014:22:41:31 +0000] [Client 11] POST /printers/HP_Deskjet_F4200_series HTTP/1.1 D [07/Mar/2014:22:41:31 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [07/Mar/2014:22:41:31 +0000] [Client 11] Authorized as XXX using Basic D [07/Mar/2014:22:41:31 +0000] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/printers.cgi" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[8] = "HOME=/var/spool/cups/tmp" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[10] = "SERVER_ADMIN=root@YYY" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[11] = "SOFTWARE=CUPS/1.7.1" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[13] = "USER=root" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[14] = "CUPS_MAX_MESSAGE=2047" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[15] = "CUPS_SERVER=/var/run/cups/cups.sock" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[16] = "CUPS_ENCRYPTION=IfRequested" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[17] = "IPP_PORT=631" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[18] = "AUTH_TYPE=Basic" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[19] = "LANG=en_US.UTF8" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[20] = "REDIRECT_STATUS=1" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[21] = "GATEWAY_INTERFACE=CGI/1.1" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[22] = "SERVER_NAME=localhost" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[23] = "SERVER_PORT=631" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[24] = "REMOTE_ADDR=127.0.0.1" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[25] = "REMOTE_HOST=localhost" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[26] = "SCRIPT_NAME=/printers/HP_Deskjet_F4200_series" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[27] = "SCRIPT_FILENAME=/usr/share/cups/doc/printers/HP_Deskjet_F4200_series" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[28] = "PATH_INFO=/HP_Deskjet_F4200_series" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[29] = "REMOTE_USER=XXX" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[30] = "SERVER_PROTOCOL=HTTP/1.1" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[31] = "HTTP_COOKIE=org.cups.sid=f92abcc38becd7e65a5f7df1bccfc2a9" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[32] = "HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[33] = "HTTP_REFERER=http://localhost:631/printers/HP_Deskjet_F4200_series" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[34] = "REQUEST_METHOD=POST" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[35] = "CONTENT_LENGTH=64" D [07/Mar/2014:22:41:31 +0000] [CGI] envp[36] = "CONTENT_TYPE=application/x-www-form-urlencoded" D [07/Mar/2014:22:41:31 +0000] [CGI] Started /usr/lib/cups/cgi-bin/printers.cgi (PID 25457) I [07/Mar/2014:22:41:31 +0000] [Client 11] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=25457) D [07/Mar/2014:22:41:31 +0000] [Client 11] file=13 D [07/Mar/2014:22:41:31 +0000] [Client 11] Waiting for CGI data. D [07/Mar/2014:22:41:31 +0000] [CGI] org.cups.sid cookie is "f92abcc38becd7e65a5f7df1bccfc2a9" : -- Dr Wawrzyniec NiewodniczaĆski or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124