Terminal Print Command

Hey guys, I'm trying to send my text document to my printer but I'm not having too much luck.

I'm typing lpr -p hpprinter test.txt

In order to trouble shoot can you please advise me on.....

01. Should the -p be an uppercase P ?

02. How do I set the default printer?

I just want to make sure I have these right.

Thanks


Similar Content



How Do I Setup HP P1102w Printer On Ubuntu 14.04

I am trying to setup HP P1102 printer on Ubuntu 14.04. I have downloaded foo2zjs-z2 and hplip-3.14.10 but I do not know what to do with them. The computer recognines printer but it will not print. I have already tried test page 161 times. please help.

Trouble Printing Under Xubuntu

What I have here is a Dell Optiplex GX620 (stock) with a new install of Xubuntu as of May 18. It works fine except that I am having trouble printing.
The printer is an HP Deskjet 832c hooked to a Linksys BEFW11P1. The Linksys box is an old internet router/firewall/wi-fi/printserver. I am using it as a network printserver with all the other functions disabled. It's a strange setup for sure. But, over there I have another computer running Lucid Puppy 5.3.2 and it prints just fine.
This machine running Xubuntu only will print the simplest of documents. The printer setup will print a test page, Text files will print, AbiWord files will print, PDF files and HTML pages displayed in Firefox do not print.
I have been taking some stabs at trying to fix this problem by changing some settings. but no joy.
Has anyone seen an issue like this? Any pointers/ideas on where to actually look for the problem.
It seems to me that Xubuntu does not use CUPS to manage it's printers? True? Would installing CUPS be a good idea?
Thanks

Command Line IP Printing

Hi Forum,

I have a network printer (HP) running on 192.168.85.24 and I wish to install something that enables me to just shoot pdf och ps files directly to it from the command line, however, it has been hard finding something that describes how to make a bare bones setup like that, the most info I find talk about user interfaces, clicking menues opening web browsers etc, I want things incredibly simple, then they are more robust.

Do you have a tutorial on how to just get an HP-printer to accept ps och or pdf files from the command line?

I run Debian with LXDE and have contact with the printer. (I tested with ping.)

Another question I have is for this forum, do you have a search function? If I had had a search function I would have searched for an answer to the question before posting it.

Kind regards
Johnny

Libreoffice Cannot Find Network Printer, Offers Only (non-existent) Generic Printer

Arch linux, lxdm/lxde, recent installation, feeling I must be doing something stupid, would be glad to be guided!

I have a Brother HL-2030 printer connected to a Raspberry Pi as a print server, CUPS setup, with sharing turned on. Other machines in the household, and indeed other OS's on the machine I'm writing on, print trouble-free to this printer.

On *this* desktop machine, (with libcups installed,) other programs print trouble-free. Firefox, Thunderbird, geany and evince all detect the presence of the network printer, and work as expected.

It's just Libreoffice that does not. This is true both of libreoffice-fresh and libreoffice-still, and it is true for all the components (write, draw, calc etc).

Libreoffice *does* find the network printer from other OS's that I play with; I have Puppy and Mint on the same machine, but those installs of Libreoffice are obviously different/earlier versions (nor do I feel like upgrading them in the circumstances!)

In this context, though, the Libreoffice "File>Printer settings..." menu offers me only a "Generic Printer" (whose properties and options I can edit). If I ask Libreoffice to print to this generic printer, it reports no failure, but that task just seems to disappear into thin air.

On the Pi server, /var/log/cups/ offers

Code:
# extract from /var/log/cups/access_log
# [...snip]
192.168.2.2 - - [22/Jan/2015:18:21:21 +0000] "POST / HTTP/1.1" 200 566 CUPS-Get-Printers server-error-version-not-supported
192.168.2.2 - - [22/Jan/2015:18:21:21 +0000] "POST /printers/Brother_HL-2030_series HTTP/1.1" 200 15824 Print-Job successful-ok
# the above line logs a successful print from geany
192.168.2.2 - - [22/Jan/2015:18:26:40 +0000] "POST / HTTP/1.1" 200 673 CUPS-Get-Default server-error-version-not-supported


# extract of /var/log/cups/error_log
# [...snip]
E [22/Jan/2015:18:21:20 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:21:20 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:21:21 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Printers (no URI) from 192.168.2.2
E [22/Jan/2015:18:26:40 +0000] Returning IPP server-error-version-not-supported for CUPS-Get-Default (no URI) from 192.168.2.2

I really think I must be doing something very stupid and newbie-ish!

Print Quality Problems -- Epson WF-3620/Linux Mint 13

I just got an Epson WF-3620 all-in-one printer last week, to replace an older Epson WF 600 all-in-one. Both of these printers use the same universal Linux driver; it is identified on the Epson website as the ESC/P-R generic driver, version 1.4.4.

With my older Epson WF 600, I had no problems with print quality. With the new printer, copies look great, and test pages are perfect, but when I try to print a document from my hard drive, I get something that looks like a draft-quality printout. Blacks come out pale gray, and anything less than black drops out completely. I've tried changing the media type from plain papers-draft to plain papers-high in Properties/Printer Options, as recommended to another poster with the same problem on forums.openprinting.org, but this didn't work for me.

I tried calling Epson, just on the off chance that I'd get someone familiar with Linux, but wasn't lucky this time. Epson officially doesn't support Linux. I managed after some effort to get them to tell me the procedure for adjusting the print quality in Windows and Mac, just in case I could extrapolate it to Linux, but the menus are completely different.

My computer is a Dell Inspiron 580s desktop. I am running Linux Mint 13.

If no one knows a fix for this, one other thing that would be helpful is any recommendations for other all-in-one printer brands that support Linux. Thanks.

How To Install Printer On OpenOffice

Hi - I just installed KDE 3.2 and OpenOffice on my Debian PC. Both are great program but I can't print in OpenOffice. I configured my HP Laserjet printer in the Control Center & prints a test page with no problem. However, it's not in the list of printers in OpenOffice. There's two printers listed in the drop-down list - lp and Generic Printer - but not the LaserJet. How do I get my LaserJet to show up in the list of printers in OpenOffice? Thanks in advance for your help.

Fedora 19 + CUPS + Brother DCP-J925DW

Hello,

Using Fedora 19 (Gnome)

I am unable to print on my Printer : Brother DCP-J925DW

I have followed these intructions on installing the printer driver : http://welcome.solutions.brother.com...ion_prn1a.html

The drivers needed are installed :

[root@jonashp Jonas]# rpm -qa | grep -e cups -e lpr
bluez-cups-4.101-9.fc19.x86_64
cups-filesystem-1.6.4-2.fc19.noarch
cups-filters-1.0.40-4.fc19.x86_64
python-cups-1.9.63-4.fc19.x86_64
cups-libs-1.6.4-2.fc19.x86_64
cups-pk-helper-0.2.4-2.fc19.x86_64
cups-1.6.4-2.fc19.x86_64
gutenprint-cups-5.2.9-11.fc19.x86_64
dcpj925dwlpr-3.0.1-1.i386
cups-filters-libs-1.0.40-4.fc19.x86_64
dcpj925dwcupswrapper-3.0.0-1.i386


But when I try to print a pdf document or a test page via cups website (http://localhost:631/printers) nothing happens.

I tried with network :

Description: DCP-J925DW
Location:
Driver: Brother DCP-J925DW CUPS (color, 2-sided printing)
Connection: lpd://192.168.1.110/binary_p1
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided


Status according to CUPS : DCP-J925DW (Idle, Accepting Jobs, Not Shared)


I have tried with usb and let Fedora detect and auto-install the printer : printing does not work.


What else can I try ?

Printer Problems Canon IP4500 And Ubuntu 109

Hi there. I'm new to Linux. My son installed it. First, I was pleased. Then I was angry: we have three printers in the house. It was incompatible with them all (when I connected the printer, it did not automatically install it. Now I'm frustrated. I have been to sites to find out what version of Linux I have. I am not a techie. I worked out how to get into the black terminal screen. I worked out how to write the command uname -a and got the answer Ubuntu 109. I don't know what this means but I then worked out how to put a command in $ sudo apt-get install cnijfilter-ip4500series to install the printer. It asked me for my password. I entered the password I use to open the user interface when I turn on the laptop. No dice. I need to distribute posters this pm. I will have to spend more money, going into town to get them from there. Not great. Any help appreciated. Advice, guidance, kind words of encouragement....

Making A .run File Run For A Printer Driver Run?

I am running puppy precise 5.7.1 and I am trying to run a printer driver but to run the driver I am told to run this command in the console: ( Desktop$ sh hplip-3.15.2.run ) but I get no such command exist message. Any help please.
Also I have looked but can't find out what the sh command does. So thanks in advance for any info/help.

Need To Print To Dell All-In-One Printer But Don't Have The Driver.

I checked the Dell support site but can't find the Linux driver for their printer. I don't think they support Linux. My printer is a Dell 968 and I'm using Lubuntu 14.04