Sponsored Content
Full Discussion: Printers
Top Forums UNIX for Dummies Questions & Answers Printers Post 90 by Neo on Friday 13th of October 2000 12:16:26 PM
Old 10-13-2000
In UNIX, printers are generally not mounted. The interface to the printer is a device file. This file is a kernel extension. The device file is written to just like any other file.

Writing to the printer device file is normally done via a shell utility which takes in the information to print, opens the printer device file, and writes to the printer: i.e. lp(), lpd() and other shell built-in functions.

Applications can also write directly to the printer(s) by opening and writing to the device file.

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question Regarding Printers

I havve a printer directly connected to the network point with no host computer . Can this printer be configured on a Unix machine . (3 Replies)
Discussion started by: Jai
3 Replies

2. UNIX for Dummies Questions & Answers

Disabled printers

How does or what makes a printer go into a disabled state? (5 Replies)
Discussion started by: dsb0
5 Replies

3. Solaris

Printers Question

Is there a limit on how many printers you can have configured in Solaris? The reason I ask is we use RF printers for the software we run and have added 52 of these printers the problem is that I need to add about another 50 and its like we have hit a limit at 52 it wont let us add anymore. If... (2 Replies)
Discussion started by: Acleoma
2 Replies

4. UNIX for Dummies Questions & Answers

Usb printers

Hey guys!! I just had changed my server and the new one does not have a parallel port, only usb, and I donīt know how to make a usb printer work. Iīm using sco openserver 5.0.7 Someone can help me? :confused: (1 Reply)
Discussion started by: proyesa
1 Replies

5. Solaris

printers from Tru64 to Solaris10

hi! i am looking for a way to migrate a Tru64 print configuration (/etc/printcap) to Solaris 10 printers (/etc/printers.conf).... the costumer has about 180 printers configured, so i don't really want to do that by hand ;) to you know a tool or a script, that could do that job for me? ... (1 Reply)
Discussion started by: pressy
1 Replies

6. HP-UX

Printers question...

Hi there... I have a question for those who mess with printers in hpnpl\jetadmin... what's the differance bitween local printer queue and remote printer queue and why for adding a remote queue i need to restart my spooler while for a local queue i dont... thanx for the help! Eliraz. (1 Reply)
Discussion started by: eliraza6
1 Replies

7. UNIX for Dummies Questions & Answers

How to copy printers to new server

Hi, I want to setup printers in a SUN solaris server named B I have the list of my printers in old server (SUN solaris) named A Can I copy the cofiguration without one by one registering all printer from server A to server B. If can, how to do that (what command or what files should be... (0 Replies)
Discussion started by: sil_123
0 Replies

8. Solaris

Help, my printers have disappeared

Hi all I have a really strange situation. This morning I ran lpstat -p and it didn't return any results. I ran lpstat -t and the scheduler is running. How strange, it seems all the printers have disappeared from my server. Can anyone perhaps explain to me how this is possible? (4 Replies)
Discussion started by: soliberus
4 Replies

9. UNIX for Dummies Questions & Answers

Re-Mapping Printers.

Hi we have a situation where some printers are on a server that sometimes has to be rebooted. If this happens the Unix boxes we have that are referencing the printers in the vfstab file fail to work even when the print server is brought back up. Does anyone know if it would be possible to put... (0 Replies)
Discussion started by: Hadleyshope
0 Replies

10. UNIX for Beginners Questions & Answers

AIX 4.3 - Need help - Printers not working

I am running an old IBM P-Series server running AIX 4.3 (I know a dinosaur). The OS has not been updated. We had a hard drive failure last weekend, and I was able to get most of the system back up, however, I have 3 line printers and 3 label printers that I can not get working. I have tried... (2 Replies)
Discussion started by: Patrick.Crocker
2 Replies
lprsetup(8)						      System Manager's Manual						       lprsetup(8)

Name
       lprsetup - printer spooler set up program

Syntax
       /etc/lprsetup

Description
       The command provides an interactive easy-to-use facility for administrating the line printers on your system.  The program contains on-line
       help and default answers to questions about adding, deleting, or changing the characteristics of any of the line printers on  your  system.
       Whenever  a  question  is  asked,  the  default	selection  is given in ] .  You can press Return in response to the question to accept the
       default, or enter an alternate value for the given parameter.

       The program knows about all of the possible symbols in the file.  See for a current list.  After you have entered a printer  specification,
       and  have  verified  that  it  is  correct,  then creates the spooling directory, links the output filter, and creates an entry for the new
       printer.

       If the printer is connected to your system, you must specify the printer device name which is in the lp printcap entry.

       If lp is set to nn you are prompted to choose between or If your printer is connected to a port on your system, choose the default setting,
       If you choose you are prompted for the baud rate, br.  The default is the recommended baud rate for the printer.

       If  you	want  to set up your printer to a LAT line, choose the option.	At this point, proceeds only if you have chosen a valid LAT device
       for lp.	It assumes that the LAT device has been configured for host initiated connections using If it has not, you must do this before the
       queue works.  For information about how to set up a LAT line, see Chapter 3 of the Guide to Ethernet Communications Servers.

       If  lp  is  set	to another device, for example the program assumes that you are setting up a printer with a parallel port, for example, It
       does not prompt you for device type information, and serial port specific entries are not put into the entry.

See Also
       printcap(5), lpc(8), MAKEDEV(8)
       Guide to Ethernet Communications Servers
       Guide to System Environment Setup

																       lprsetup(8)
All times are GMT -4. The time now is 01:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy