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


Similar Content



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.

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....

Using The Teminal Command Line In Ubuntu 12.04 Lts

Stupid question i know. I am trying to install some brother printer drivers and following the instructions it states that i must change to the directory where the file is stored by using the following command line "cd /home/(loginname)/downloads"

this comes back with unkown directory. When i use DIR the directory is there but it will not allow me to access it?

This has worked before. I have been using linux now for a few years and never had this problem before. It must be something stupid that I am doing.

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

How To Search All Sub-directories For A File Or Command Line In A File In Ubuntu?

Hello--

I'm trying to locate a file or a command line in a file on my hard drive. I am running Ubuntu 12.05.4 linux. Is there a grep command that will search the whole tree from root down to all the sub-directories?

Thank You.

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

Hello &I Have A Printer Problem

I have very recently installed Linux Mint 16 (Cinnamon) and after a hard slog managed to get wifi and my printer (Canon Pixma MG5550) installed and operating.
My problem is in Libre Office printing labels on an Avery J8162 sheet of 14 labels. I have raised a new document and had the address typed on all 14 labels (same name & address on all 14)but when printing to the actual label sheet the addresses are okay on the first line only and then progresses down the sheet printing outwith the label.
I have checked all settings and verified that they conform to what I need. Now dont know what to do and if anyone can help then I would appreciate your response.
Thank you
Tikiman

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.

Problem With CUPS Printing.

Hello,

I have cups 1.7 set up. And have a printer LaserJet P1606DN configured. But with one user, every morning the first printing gets errror "Unable to write print data: Broken pipe". After that printing works fine. Printer is set with maximum sleep time "after 1 hour".

Any ideas, what to check?

Scripts To Respond To Prompts

I have searched and was unsuccessful in finding a quick command or example to use.

I'm looking to automate an update process using command line in Debian.
Normally I'd use apt-get update|upgrade|dist-upgrade .

If apt-get finds a package to update it queries a Y/n response.
My objective is to have a script determine if this prompt is there, and if so to respond with 'Y'.
If not then it should not enter a response.

I know I'll need to use an IF/ELSE function, but what I'm having difficulties locating is to read the output of apt-get .

I know there's books and sites available, but they are all long and sometimes difficult to read or understand. And maybe my keywords are the right ones to use, as I'm not able to pinpoint a solution.

Thanks for your assistance.