You are not logged in.
Pages: 1
I added an HP Deskjet 3420 using the CUPS web configruation. I can only print a test page (which probably means the driver at least is working).
However, using
lp Untitled\ 1.odtyields no results. It simply addes the job but does not print the one character in the file.
I tried using hp-print; however, it stops with this error:
Print command failed with status code 1. lpr -P deskjet_3420 -o page-set=all "/home/robin/text.txt"
Note: hp-print doesn't allow me to print ODT files so I just used a plaintext file for testing purposes.
Last edited by brotatos (2012-02-26 22:46:19)
Offline
Um. You cannot just send an odt file to the printer. You are going to have to print that from within LibreOffice. The odt file is not a text file; it is much closer to a binary file.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Sanity check:
lpstat -aOffline
ewaller: Going into libreoffice and printing the file did nothing.
/dev/zero:
hp_deskjet_3420 accepting requests since Sun 26 Feb 2012 03:31:55 PM PSTOffline
ewaller: Going into libreoffice and printing the file did nothing.
Let's just leave aside odt files for the moment. The title of the thread says you have trouble printing with lp, and you said you did test it with a plain text file. Once we have lp working on plain text files, you may need to consider whether lp is the best choice for printing odts.
/dev/zero:
hp_deskjet_3420 accepting requests since Sun 26 Feb 2012 03:31:55 PM PST
Try changing
lpr -P deskjet_3420 -o page-set=all "/home/robin/text.txt"
to
lp -d hp_deskjet_3420 /home/robin/text.txtOffline
lp -d hp_deskjet_3420 /home/robin/text.txt
lp: No file in print request.Last edited by brotatos (2012-02-27 04:50:10)
Offline
Nvm started new thread
moderator edit: Here is the link https://bbs.archlinux.org/viewtopic.php?id=167327
Last edited by ewaller (2013-07-28 16:32:08)
Offline
Pages: 1