- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Model scripts for printers
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
01-13-2003 11:03 AM
01-13-2003 11:03 AM
Model scripts for printers
-> "/etc/lp/interface/model.orig/c10w2h9[4886]: /caro.out: Cannot create the specified file."
now c10w2h10 is the printname and it's trying to write to a file in slash. When I view the script this is when it's being called.
-> "# ********** Start sending bytes out ****************
echo"start sending bytes">>/caro.out
"
I wandering what it's being used for and how to correct this problem???
cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 01:45 AM
01-14-2003 01:45 AM
Re: Model scripts for printers
Which model script (i.e. name) did you install?
Where did you get that model script from?
Does "caro" mean anything to you? (It does not to me.)
In any case, post the first 20 or so lines of the interface script (/etc/lp/interface/model.orig/c10w2h9) or attach the complete script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 01:57 AM
01-14-2003 01:57 AM
Re: Model scripts for printers
check permissions of /var/adm/lp/log.
# ll /var/adm/lp/log
-rw-r--r-- 1 lp lp 33 Nov 19 19:15 /var/adm/lp/log
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 06:16 AM
01-14-2003 06:16 AM
Re: Model scripts for printers
Keep the suggestions coming, I'm still trying to figure it out.
cheers,
martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 06:32 AM
01-14-2003 06:32 AM
Re: Model scripts for printers
To me, it looks like a message that someone added in order to debug the interface script while it was being developed, but which is probably not needed now.
The solution is either to change the model script to put the log elsewhere if you want to keep it (/var/tmp or /tmp would be best), or to just comment the line
echo"start sending bytes">>/caro.out
out of the script.
If you decide to keep the log file, you would probably want it to be more informative than just "start sending bytes" anyway. I'd suggest that it was changed to
echo "`date`: start sending bytes"
so that you know how often it's being used. Another consideration is housekeeping. The last thing you want to do is to fix one problem, and create another by filling up /var or /tmp.