default printer


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers default printer
# 1  
Old 04-02-2003
default printer

Hi Folks,

Anyone know the command to output what the current system default printer is ?

Thanks

Suresh

SCO UnixWare 7.1.1
# 2  
Old 04-02-2003
if using bash:
echo $PRINTER
may work.
# 3  
Old 04-02-2003
That works in ksh as well.. if there is no default printer, nothing is displayed.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

2. Windows & DOS: Issues & Discussions

Print using Window Default Printer

Looking for a program to print a file created in MKS Korn Shell and using the default Windows Vista printer without user interaction (0 Replies)
Discussion started by: njysprez
0 Replies

3. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

4. Solaris

Configuring Printer with Printer Manager

Hi All, I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies

5. UNIX for Dummies Questions & Answers

How to change the default printer

Hello, I'm using Fedora core 5 and bash shell. Could someone please let me know how to change the default printer? Thanks (2 Replies)
Discussion started by: beeloo
2 Replies

6. IP Networking

How do you send printer codes to an IP printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Discussion started by: jeffbugfree
2 Replies

7. Linux

know I do for to printer in printer deskjet 80colun

I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies
Login or Register to Ask a Question