Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help SCO printer install via command line Post 302125167 by jgt on Wednesday 4th of July 2007 07:29:46 AM
Old 07-04-2007
Try inserting the following lines into a local printer script in /usr/spool/lp/admins/lp/interfaces, removing the equivalent lines from the original script.
Create an entry for office in /etc/hosts, and remove the line
'cp $file /u/PS2' if you don't want to keep a copy of the print file.
Save a copy of the original script.

###start replacement
copies=$4
shift; shift; shift; shift; shift
files="$*"
i=1
while [ $i -le $copies ]
do
for file in $files
do
cp $file /u/PS2
echo "root\n" >/tmp/$F
echo "put $file LPT1" >>/tmp/$F
echo "quit" >>/tmp/$F
ftp office </tmp/$F
done
rm /tmp/$F
i=`expr $i + 1`
done
###end replacement

Also "LPT1" may change depending on the brand of "JetDirect" box (ethernet to parallel adapter)

Last edited by jgt; 07-04-2007 at 08:42 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help !!! How can i install a printer !

I´m sitting hier befor my computer and i have to install a epson stylus printer (parallel) but the problem is i dont know how i can install it...the system is unix -sunos5.7 ....i testet all ..lpr and so on.. i typed in lpr he found no command.... but man lpr works can any body help me... (2 Replies)
Discussion started by: bloerg
2 Replies

2. UNIX for Dummies Questions & Answers

Printer + Unix (SCO)

Hello, I'm a real noob with Unix. I have to make an installation of a printer, EPSON LQ 2080 (impact printer) on local port ltp, on a Unix SCO 5.7. So....where can I find the driver, and how can I install it on a sco ? Sorry for my english, i'm frenchy ;) Thank you ! (1 Reply)
Discussion started by: kok
1 Replies

3. SCO

Printing from SCO 5.05... to XP Shared Printer

I am having trouble getting our accounting program (on SCO 5.05) to print to a shared windows printer. We used to use a program that took care of this PCI print server or somehting like that. but when XP service pack 2 got installed somethign happened with the permissions and the files would... (2 Replies)
Discussion started by: LarryG
2 Replies

4. SCO

How to Install and Configure USB Printer in SCO 6

I'm new in SCO 6. I installed SCO 6 with NIC driver Properly. But I cann't install and Configure USB Printer In SCO 6. Any one help me? email: address deleted by the moderator (0 Replies)
Discussion started by: karzon
0 Replies

5. UNIX for Dummies Questions & Answers

Printer for SCO OpenServer 5

I only know enough about Unix to get me in trouble: I have an old UNIX SCO OpenServer 5 that I am phasing out. It had been connected to an HP laserjet via a serial port connection. As part of the phase out I disconnected and removed the workstations leaving only the server. I didn't think I... (9 Replies)
Discussion started by: rpmaps
9 Replies

6. SCO

Cannot add printer to SCO OS 6

:( I am trying to add some printers under SCO OpenServer 6 and everytime I try to open the printer manager it returns a message that reads "Unable to get allowed/denied form users." "Failed to establish user authorizations." When I press the details button is gives me the following Error Details;... (0 Replies)
Discussion started by: RicardoM
0 Replies

7. UNIX for Dummies Questions & Answers

SCO Printer configuration file

Hello, I am working on Servers running SCO OpenServer 5 and I tend to setup a lot of Servers. I am wondering if mkdev -lp to create printers has a file that I can just copy and paste from an exisiting Server to a new (upgrade) server. I can do this with the hosts and resolv.conf files. ... (1 Reply)
Discussion started by: ewerezak
1 Replies

8. SCO

How to set up a printer on SCO 5

1. Does all the man pr commands work as expected on SCO 5? 2. Do I have to do some special printer setup to connect the printer to the server before trying to print? Thanks - Much. (1 Reply)
Discussion started by: ggats11
1 Replies

9. SCO

How do I install a HP Network Printer on SCO admin ?

We have a SCO UnixWare system version 7.1.3, running a front end ERP system. I have 2 new printers I would like to add so that people can print from the ERP system. The two printers are on the network and have IP address's. They are used throughout the day by Windows XP machines, but can not be... (4 Replies)
Discussion started by: Mick_Dundee
4 Replies
printmgr(1M)						  System Administration Commands					      printmgr(1M)

NAME
printmgr - Solaris Print Manager is a graphical user interface for managing printers in a network SYNOPSIS
/usr/sadm/admin/bin/printmgr DESCRIPTION
Solaris Print Manager is a Java-based graphical user interface that enables you to manage local and remote printer access. This tool can be used in the following name service environments: LDAP, NIS, NIS+, and files. You must be logged in as superuser to use this tool. Using Solaris Printer Manager is the preferred method for managing printer access because Solaris Print Manager centralizes printer infor- mation when it is used in a name service environment. Adding printer information to a name service makes access to printers available to all systems on the network and generally makes printer administration easier because all the information about printers is centralized. Solaris Print Manager may be run on a remote system with the display sent to the local system. See the System Administration Guide: Solaris Printing for instructions on setting the DISPLAY environment variable. Using Solaris Print Manager to perform printer-related tasks automatically updates the appropriate printer databases. Solaris Print Manager also includes a command-line console that displays the lp command line for the add, modify, and delete printer operations. Errors and warn- ings may also be displayed when Printer Manager operations are performed. Help is available by clicking the Help button. USAGE
Solaris Print Manager enables you to do the following tasks: Select a Name Service Select a name service for retrieving or changing printer information. Add Access to a Printer Add printer access on a printer client using Solaris Print Manager. Add an Attached Printer After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for printing. Add a Network Printer After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for printing. Modify Printer Properties After adding access to a printer or adding an attached or network printer, you can modify certain printer attributes. Delete a Printer Delete access to a printer from the print client or delete a printer from the print server or from the name service environment. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWppm | +-----------------------------+-----------------------------+ SEE ALSO
ldap(1), lpget(1M), lpset(1M), attributes(5) System Administration Guide: Solaris Printing for information on LDAP server replication. Although users can use the LDAP command line utilities ldapadd(1) and ldapmodify(1)to update printer entries in the directory, the pre- ferred method is to use lpset. Otherwise, if the lpadd and lpmodify utilities are used, the administrator must ensure that the printer-name attribute value is unique within the ou=printers container on the LDAP server. If the value is not unique, the result of modifications done using lpset or the Solaris Print Manager, printmgr may be unpredictable. SunOS 5.11 23 May 2003 printmgr(1M)
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy