- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Copying Printer Definitions on Tru64
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 07:10 AM
тАО05-26-2004 07:10 AM
What is the easiest way to do this ?
What are a few good references (examples) ?
Thanks.
= Mike =
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 10:16 AM
тАО05-26-2004 10:16 AM
Re: Copying Printer Definitions on Tru64
For BSD printing you need to copy /etc/printcap and for each printer-name create a spooling directory with that name in /usr/spool.
Then use "lpc check", and it will tell you if you forgot something.
JB.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 11:01 PM
тАО05-26-2004 11:01 PM
Re: Copying Printer Definitions on Tru64
# lprsetup
or via sysman station.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 12:45 AM
тАО05-27-2004 12:45 AM
Re: Copying Printer Definitions on Tru64
Make directories for spooling as follows
# mkdir lpdn (n is the printer's number)
# chmod 775 lpdn
# chown daemon lpdn
# chgrp daemon lpdn
If you need further assisstance, let me know
HTH
Mohamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 02:49 AM
тАО05-27-2004 02:49 AM
SolutionI have been in the same situation before and had to migrate so many (talking about 100s) of printers making it virtually impossible to use the 'lprsetup' command. Here is what I did, I merged the /etc/hosts (most printers were network printers) file from the source to the one on target server as well as the /etc/printcap file.
Then I ran the following script to configure the spool directories.. check this out..
#!/bin/ksh
# Notes for creating printer support files and directories
c=0
cat /etc/printcap |grep "|" > printer_list.dat
for i in `cut -f1 -d "|" printer_list.dat`
do
echo $i
c=`expr $c + 1`
k=`echo $i | cut -f 2 -d 'p'`
touch /usr/adm/${i}err
chown daemon:daemon /usr/adm/${i}err
mkdir /var/spool/lpd${k}
chown daemon:daemon /var/spool/lpd${k}
done
echo ""
echo "Created the spool directories for $c printers"
Hope this helps,
regds,
Abdul Rahman.