printing on linux


 
Thread Tools Search this Thread
Operating Systems Linux Fedora printing on linux
# 1  
Old 04-05-2009
printing on linux

Hi,

What is the command to view connected printers to a machine? I want to print files using lpr but I don't know the printer name. The system has linux fedora 9 installed.

Thanks...
# 2  
Old 04-06-2009
In Mac OS:
cat /etc/cups/printers.conf

It appears to work on centOS also, so
it might work in Fedora as well.
# 3  
Old 04-06-2009
Here's a specific usage where I printed a blank page:

$ sudo cat /etc/cups/printers.conf
Password:
# Printer configuration file for CUPS v1.3.8
# Written by cupsd on 2008-11-30 20:53
<Printer Dell_Laser_Printer_1720dn___Mauib_9s_Computer>
Info Dell Laser Printer 1720dn @ Maui's Computer
....
</Printer>


$ echo | lpr -P Dell_Laser_Printer_1720dn___Mauib_9s_Computer
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Printing, SYSPRINTER, IP printing

Dear readers, We have a printer problem with a UNIX system. The OS is Unix IRIX 6.5 We have connected a printerto the system. If we then make a test print everything goes well . (IP printing) But if we make a print from the "orrga,i"program. Then we see all the printouts stuck within the... (3 Replies)
Discussion started by: SergevdH
3 Replies

2. Shell Programming and Scripting

Why its printing like this?

Hi, when i use the following awk i will get the output like double time printed values and the 2nd time only its giving data, please help me to find this for ex: awk code: file_name=$1 file_name1=$2 ctn=$(awk 'FNR==NR{a=$4;}$2 in a{t=a-$4;print $2,(FNR==1)?"":t"@"}' ${file_name}... (3 Replies)
Discussion started by: Shenbaga.d
3 Replies

3. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

4. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

5. AIX

Remote printing to Linux CUPS queue

Hello all. I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies

6. Red Hat

Remote printing from Linux to AIX

Hello, I also posted this on the AIX forum in hopes of getting help. I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with some AIX printers that have a user... (0 Replies)
Discussion started by: sbaker
0 Replies

7. AIX

Remote printing from Linux to AIX

Hello, I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with some AIX printers that have a user defined backend. I turned on logging for lpd on the AIX... (0 Replies)
Discussion started by: sbaker
0 Replies

8. UNIX for Dummies Questions & Answers

Printing

How do I configure a UNIX printer to print to a Windows PC with vt320 emulation (0 Replies)
Discussion started by: sowlix
0 Replies

9. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies
Login or Register to Ask a Question