LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-01-2006, 02:41 PM   #1
coolbud
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
Question why printer alias not work


I am trying to create an alias (vk1) for one of remote printer(name-test). I can print from my workstation(running linux 2.6.9-34) if i use actual printer (test) name, but when i use alias (vk1) it shows error:

#lpr -Pvk1 < /etc/motd
lpr: error - unable to print file: client-error-not-found

i have added alias by running setup-->printer configuration. But it does not show in /etc/printcap file. if i run setup again it shows alias there.

# cat /etc/printcap
=====================================================
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
test|test:rm=fsweb12-linux.oa.caio.com:rp=test:
=====================================================


I would appreciate if someone know the reason why its happening ??Thanks in advance..
 
Old 08-01-2006, 07:30 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: FreeBSD, NetBSD
Posts: 1,446

Rep: Reputation: 46
http://www.linuxquestions.org/questi...d.php?t=469864

Do not post your question more than once... and don't bump your own thread within 24 hours unless adding more information. This is the definition of absolute rudeness here. I have reported the other thread to be closed.
 
Old 08-01-2006, 07:34 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
What does 'lpstat -a' show?
 
Old 08-02-2006, 12:30 PM   #4
coolbud
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Hi

Neither i have fun in posting same issue twice nor it would resolve it any earlier. This was my first post . When it does not appear in forum after first issuance..i become little panic & shoot another one.

Don't try to relate it with rudeness..i am aware of rules & member with other forums .i have joined this forum to share linux experience, not to create nuisance in forum.

I hope it would clear that nothing was intentional...

-Coolbud

=======================================================

Here is my answer for other thread :

output of lpstat -a
# lpstat -a
test accepting requests since Jan 01 00:00
#
 
Old 08-07-2006, 04:29 PM   #5
coolbud
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Lightbulb

I would like to share the solution which i found..

I have created one more printer using same remote IP & que information. It serve same purpose like alias...easy fix ..

-Coolbud
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
alias does not work in shell script mannahazarika Programming 9 01-20-2006 01:56 PM
printer modules not loaded; parallel printer doesn't work blinux1 Linux - Newbie 7 06-24-2004 09:59 PM
alias does not work until ". .bash_profile" pcoveney100 Linux - Software 4 06-04-2004 09:17 PM
.bash_profile alias doesn´t seem to work Electronkz Linux - Newbie 2 04-11-2004 03:17 AM


All times are GMT -5. The time now is 12:01 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration