Ubuntu Networking :: Printing Documents Via The Command Line?

Dec 2, 2010

how to send a document to print on a network printer (via IP address) from the command line (not a GUI interface).

View 4 Replies


ADVERTISEMENT

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu :: Unable To Open Documents From Command Line?

Jun 3, 2010

Previously I was able to open any document I wanted in the CLI by typing:

Code:
open some_document.txt
Now when I try to do this I get the following:

[code]...

View 2 Replies View Related

Software :: Printing To Cups-pdf Via Command Line With Options?

Jun 30, 2011

I'm having a hard time trying to print documents to PDF via cups-pdf at the command line and get all of the nice formatting options that the GUI print spooler dialogs provide. I know how to do "lpr -P Generic-CUPS-PDF-Printer filename" to get a general file printed to a PDF, but this method clearly is missing all of the nice formattingptions that get passed when using a GUI print spooler (margins, fonts, dpi, paper size, etc..). I tried to use ps to capture whatever command is being sent by the spooler but couldn't figure it out, since I'm not really sure what commands get called by the spooler

View 8 Replies View Related

General :: Selecting A Font When Printing A Text File From The Command Line?

Jul 29, 2011

I don't understand why this is so difficult.In the old days, there was lpforms which allowed some formatting. CUPS did not see fit to implement this into it's lp package.cgi-...-cgi?lpforms+1In the old days, lpr allowed you to select a font in the command line with -1=fontname. CUPS did not see fit to implement this into it's lpr package.htmIn the old days, printers had fonts installed on them that you could access. Modern printers don't seem to have this. So now I still need to be able to select a font when I print certain text files from the command line but it seems this is impossible. I've been working with instances and lpoptions, which allows me to do a lot of other things I need like orientation and margins and even set the font size, but I still cannot choose a font other than the default.

View 2 Replies View Related

General :: Printing From Command Line Won't Work - Just Sits In Print Queue

Apr 3, 2011

CUPS was not originally installed on my server, I have installed it but cannot print to my network printer. On my laptop, I can... they are both running the same version of Debian. What could be missing?

Here are some details...

I have two computers running the same version of Debian. One is a server with no GUI and the other is my laptop with GDM installed. My laptop (which prints with no problem) is connected via Wifi. My server is connected directly to the router via Ethernet. I cannot print from the server.

The printer is a Canon Pixma MP495 that connects to the router via Wifi. I have downloaded drivers for the printer from [url] and installed them successfully using dpkg on both computers.

Right now I have a regular text file that I am using for a test page. To print from my laptop (with success) I type:

Code:

This does not work from the server. What could I be missing?

lpq run on server:

Code:

lpinfo readout:

Code:

View 14 Replies View Related

Ubuntu :: LPR Not Printing Complete Documents

Jul 20, 2010

I have just upgraded from Jaunty to Karmic. Mostly it's gone okay; a few things broke but I can fix most of them. One thing I can't figure out, though: 'lpr' stopped working properly. Printing via a GUI (i.e.: using the "print" option from an application) works fine. Printing to CUPS-PDF works fine. But printing via the command line (ie: lpr myFile.txt) doesn't work. It consistently cuts off the first line of text. For what it's worth I have a Dell Inspiron connected wirelessly to an HP OfficeJet J6480. HPLIP is installed and working fine.

View 1 Replies View Related

OpenSUSE Hardware :: CUPS Not Properly Printing Multipage Documents On SUSE 11.4?

Aug 4, 2011

CUPS 1.4.6.70.1note label of version number might be wrong) on my suse 11.4 linux machine with a canon pixma mp460 printer and gnome desktop does not properly print multipage documents when asked to.e second page and subsequent pages include an overwrite of another page and are unusable. Looks like previous page is printed on top of current page. I have seen this problem referenced elsewhere on the internet, e.g., linux questions w/o reasonable fix.

Current solution is to print docs one page at a time and all works well but this is more than inconvenient.Note my CUPS package is as downloaded from SUSE 11.4 repos and packman repos per standard software management tool. Note also that the version number label of 1.4.6.70.1 was transmitted using software management from SUSE and doesn't look like a proper version number based upon CUPS version sequence.I've posted this message on CUPS forum and received notice that this version is 3rd party software and not theirs and they have no responsibility. I assume then that the version is really from SUSE. That is why I am posting message at SUSE forum.I have found and made a change to increase ghostscript memory by pasting a line into the cups conf file. That has not solved the problem even after stopping are restarting cupsd service

View 6 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Ubuntu Networking :: Ad-Hoc Works With GUI But Not Command Line

Jul 17, 2010

I have two Roboards that need to communicate with one another. I have sucessfully installed Ubuntu 9.04 using the 386 kernel based on instructions found online.I can use the GUI to set up an Ad-Hoc network using one Roboard ("Create New Wireless Network"), call it Manet, and connect to "Manet" using the GUI on the other Roboard and ping/ssh between the boards. However, when I try to create the same wireless network using the command line using:

ifconfig wlan2 down
iwconfig wlan2 key off essid 'Manet' channel 5 ap any
ifconfig wlan2 up

I don't see any entry in iwconfig under "Cell". It keeps giving me "Not Associated"When I try to enter the same information on the other Roboard to try to connect to the network, it doesn't connect and under iwconfig, I don't even see any entry for ESSID. Could somebody please tell me why it works when I use the GUI and not the command line.

View 1 Replies View Related

Ubuntu Networking :: Connecting Wirelessly Via Command Line?

May 11, 2010

For reasons that are not terribly interesting I decided it would be a great idea to remove and re-install the xserver-xorg package. Which proved to be a much larger mistake than I imagined it would be. I purged the package, and then restarted.Naturally I need to have an internet connection to use apt-get to reinstall xserver-xorg, which is where my idea falls apart.I followed the directions in the How To: Manual Network Configuration. However, after I enter the command "sudo dhclient wlan1" I get the line "wmaster0: unknown hardware address type 801" twice prior to the output that the above link shows. Then I just get DHCPDISCOVER messages until I get a "No DHCPOFFERS received. No working leases in persistent database - sleeping."

I'm connecting with WEP to a router that I know works (because I'm using it to type this on my laptop right now) and I know that the wireless adapter(RTL8187) is installed properly because it automatically connected to my network when I had xserver-xorg still installed.I'm running ubuntu 9.04.I've searched for a few hours and I'm no closer to resolving the issue.

View 9 Replies View Related

Ubuntu Networking :: Connecting To Wireless Via Command Line

Jun 21, 2010

I have setup my wireless card via ndiswrapper and I can see that if I perform an iwconfig that the card is wlan0. I have attempted to connect with the router but I can't get any connection.I know the password is: ########## (10 digits long) but for the life of me I can't get it to work via command line.

View 2 Replies View Related

Ubuntu Networking :: Speed Test By Command Line?

Jun 26, 2010

I'm using a remote dedicated server running ubuntu server edition, and I have no idea what the upload/download speeds are.Is there a reliable method to test these speeds via the command line?

View 2 Replies View Related

Ubuntu Networking :: Can't Connect Command Line To A Wifi?

Aug 13, 2010

I'm trying to connect to a AP by command line but I can't yet. Using the network manager it's possible but I need the command lines to use in my code programming.

Here it's what I tryed:
Code:
sudo iwconfig wlan0 mode managed channel 6 key restricted s:'12345' essid 'cassiano-PC_AP'
and the tail: sudo tail -f /var/log/syslog
Code:
Aug 13 14:05:55 cassiano-linux kernel: [13476.935795] wlan0: direct probe to AP 00:15:af:84:29:d3 (try 1)
Aug 13 14:05:55 cassiano-linux kernel: [13476.935943] wlan0: deauthenticating from 00:15:af:84:29:d3 by local choice (reason=3)

[Code]...

View 2 Replies View Related

Ubuntu Networking :: Anything Wrong With NIC / Is This Something That Can Be Resolved Via Command Line?

Sep 1, 2010

I'm running a fresh install of Ubuntu 10.4.1 on a Dell Dimension 4700 desktop.When connected to the network (jack in wall, no router), I normally navigate my intranet and the internet.But here's the issue: this particular Dell machine has an IP addresses that is radically different from all other machines connected to the same network.I have tried to edit etc/network/interfaces to force a different IP, but then I lose connectivity. I need this to follow the IP scheme of my intranet so I can set up a server that resolves by hostname. Is there anything wrong with the NIC or is this something that can be resolved via command line?

View 9 Replies View Related

Ubuntu Networking :: 10.04.1 - Connect To Adsl Using Command Line?

Oct 22, 2010

i cant connect to adsl with pon dsl-provider or any command line. just network manager applet GUI works for me. i follow this guide [URL] and try about 3 hours but without success. i edit /etc/network/interfaces following this thread: [URL] but after any alteration in /etc/network/interfaces and restart network my adsl connections are not work at all and also i lost my GUI applet connections too. then i have to back /etc/network/interfaces to its original content and restart my computer to restore my connections

pon dsl-provider error is:

Quote:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5

View 8 Replies View Related

Networking :: Command Line To Run Tools For Wireless In Ubuntu?

Jan 17, 2011

I want to run OpenBox on a netbook. For those of you not familiar, it is a very simple window manager, where I can launch a terminal with a mouse click, and I can start the few apps that I need from the command line. Basically, I am trading eye candy and easy access to a lot of stuff I don't need for a more responsive GUI.

My question is...what package should I install, and what corresponding command line would be used to launch a tool to manage the wireless LAN connection?

View 2 Replies View Related

Ubuntu Networking :: Connect To Internet Using Command Line

Jun 6, 2011

I want to connect to the internet using the command line. I'm 95% I have my wireless card installed correctly, since I'm using it right now.dhclient takes a minute or two, then finishes. It gives no output, success or failure. Then I open up Firefox and I'm not connected to the internet. What can I do to figure out what the problem is?

View 9 Replies View Related

Ubuntu Networking :: Command Line Control Of Network Settings

Mar 10, 2010

I frequently ssh into machines to do work. In some cases, the machine is headless so there is no option to log in.Under Debian and on older versions of Ubuntu I would pull out the avahi and network-manager packages and manually configure the interfaces file to my liking and be done with it.However, I would now like to learn how to work within avahi/network manager. So, is there a doc somewhere explaining how to work with modern Ubuntu networking at the command-line level? Ie: Setting up a wireless connection, setting static/dynamic IPs, etc?

View 3 Replies View Related

Ubuntu Networking :: USB Wireless USB Modem From The Command Line Termianl Only?

May 14, 2010

Without Gdm (The GUI Desktop running), or an Internet connection, how does One get pppd or wvdial to connect to a wireless broadband modem?I'm SURE this can be done with any modern Distro without additional downloads...but seem to be missing some crucial step...? I've been trying things like: (scrips for pppd and chat and ln {links} ttyACM0 to /dev/modem?) the modem is definitely on ttyACM0.

ln -sf /dev/ttyACM0 /dev/modem
/etc/ppp/chat-script
#!/bin/sh

[code]....

View 1 Replies View Related

Ubuntu Networking :: Launch Wireless Connection From The Command Line?

Oct 11, 2010

The title about says it! I have a major problem on my laptop after installing updates. Some of my icons in the top panel are broken. So as a first step I need to reinstall a few things. The first step is to start the wireless connection from the terminal. So would someone please tell what the command is?

View 2 Replies View Related

Ubuntu Networking :: GUI Network Setup And Command Line Not Reflecting Changes?

Mar 6, 2011

I'm running Ubuntu 10.04 LTS, Lucid Lynx and I'm having problems implementing changes to interfaces.I have made changes to my interfaces via the GUI but when I open a terminal window and so a ifconfig I find that nothing has changed. I've opened an editor and looked at etc/network/interfaces but changes made with the GUI never make it to the config file.Does the networking GUI result in changes to the etc/network/interfaces file.

View 1 Replies View Related

Ubuntu Networking :: Close/Open Port 21 Using Command Line?

Mar 12, 2011

I would like to Close/Open port 21 using command line. I have an FTP server and I don't want to have the port open all the time. I need only two hours by week to be open port 21 from outside to inside.So I need to know the command line for opening and closing the port 21 then I will implement this in a script into cron.hourly.

View 2 Replies View Related

Ubuntu Networking :: Error Connecting To Wireless Via Command Line

Apr 6, 2011

I've been familiarizing myself with the command line and am attempting to connect to a wireless network but am getting stuck at the point wherein I need to put in a password.When I run iwconfig I see my card is wlan0.I definitely know my password as I can connect using a GUI. The encryption method for my network is WPA2.Could someone tell me how I could connect to a WPA2 secured network via a command line, and/or where I went wrong with what I've been trying?

View 1 Replies View Related

Ubuntu Networking :: Get Wireless WPA2 Working With Command Line Only?

Jul 6, 2011

I wanted to run a little media server in my house, shared with my laptop only, so I could free up space on my laptop drive. I took one of my Linux boxes out of my render farm and loaded up a minimal install, command line only of Ubuntu Lucid from the mini ISO (32 bit). I had to plug in a lan cable to install, but I wanted to move my box back out to the "farm" that doesn't have wired access to my intranet.

After much research, trial and error, this is what worked for me. My wireless card uses an Atheros AR5001X+ chip, and it works with the desktop cd out of the box. I found the "just works" desktop install uses the ath5k driver that is now included in Lucid, but I'm not using a desktop or window manager. I haven't tried this on server version, if you do, let others know what you had to install to get it to work.

The things I do tell you about, I instruct you as if you are a newbie, however I have left out some things that users should know or be able to lookup easily, like if you want a static address instead of using dhcp. You may not need all of the steps or you may have to do more research and troubleshooting.

Find your wireless card (you may need to lookup what to do if it is not recognized at all)List all pci devices, only show network devices (-v verbose, -vv very verbose): >>lspci -vv | grep Network List all hardware (| less lets you pause at each page - arrow keys, page down/up to navigate, q to quit) >>lshw | less

[Code]...

View 1 Replies View Related

Software :: Use Awk For Printing Line From Database?

Jul 22, 2010

I have inserted some records in a table having column "value1 varchar2(4000)" and want to spool in a file.I have written as below

/********/
set echo off
set feed off

[code]....

View 1 Replies View Related

Ubuntu Networking :: Install Wireless-tools From A Command Line Installation?

Jan 7, 2010

I did a command-line installation. I dont have an ethernet connection, only wireless. For some reason the alternate installer doesnt install "wireless-tools" How do i install it? At this point I am thinking of booting off a live USB, downloading the wireless-tolls package from here Save it to a folder in the command line installation where?) then boot back into command line and install from there But I am not that savvy with command lines, and dont know where to install to...

View 1 Replies View Related

Ubuntu Networking :: Setting Up The Wireless Interface On Server (command-line Only No GUI) / WPA

Aug 14, 2010

I've been having issues setting up the wireless interface on my Ubuntu server (command-line only, no GUI) and I can't seem to get it working. It seems as though the card is recognized, the drivers are installed and the interface is up, but it fails to connect. I have no idea where I'm going wrong. I have WPA and a MAC filtering setup on my wireless router. An exception has been made for this PC's MAC address and I've manually entered the connection details into /etc/network/interfaces.

[Code]...

View 2 Replies View Related

Fedora Networking :: Starting DHCP On Command Line?

Sep 25, 2009

I need to start DHCP after booting into run level 1.

So i am going to ....

ifconfig eth1 up

what is the command to start DHCP service?

View 7 Replies View Related

Fedora Networking :: Getting Wireless Connection From Command Line?

Jun 16, 2011

I'm new here but have been using different distros for a couple of years. I ran into this problem like a year ago for the first time and I really would like to solve this ( with your help now). I've already used hours trying to figure this out and seeked solutions online. So first things first:

- I want to connect to a wireless access point from CLI (for many different reasons)
- I'm using Fedora 13 with KDE and Gnome some specs:

Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02) Kernel driver in use: iwl3945 Kernel modules: iwl3945

[Code]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved