07-26-2008
printer setup/permission denied
Setting up a USB laserjet samsung ml1710 on a dell desktop under FC5. I used the sstem-config-software graphical interface. At the end, the test
page printed fine. All seemed to go as per instructions in reference text.
However if I try to print a file (as root or as user) I get a bash permission
denied reply. Checkind permissions in /usr/bin/lpr or lp, it appears permissions
are set at rwx for all. I find /dev/ttyS0 as -I think- location of printer.
Any suggestions? I have an earlier request in, but that one followed a quite different set-up path, and did not print the test page. The printer seems linked, given the test page- why permission denied on lp and lpr?
Thanks- Marshall Blann
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i'm trying to set up my internet connection and i was told i need to edit the file
/etc/ppp/pap-secrets
but i get a permission denied message...why?? (6 Replies)
Discussion started by: justchillin
6 Replies
2. UNIX for Dummies Questions & Answers
Could someone tell me why I am getting a permission denied message when I attempt to run this on an out file? Thanks! (8 Replies)
Discussion started by: trouscaillon
8 Replies
3. UNIX for Dummies Questions & Answers
I just started computer science at UW Milwaukee. When I access the university Solaris system from PuTTY, I get permission denied when I try to access the file I wrote. Now I really have no idea what I'm doing, I just don't understand why I get permission denied in my won directory. Thank You
... (0 Replies)
Discussion started by: howeezy
0 Replies
4. UNIX for Advanced & Expert Users
Hi,
I can not execute a .env file
$ . /Data/oracle/d03/mydbora/8.0.6/MYDB.env
-bash: /Data/oracle/d03/mydbora/8.0.6/MYDB.env: Permission denied
Even if :
-rwxrwxrwx 1 oracle dba 2903 Mar 5 2007 /Data/oracle/d03/mydbora/8.0.6/MYDB.env
Please help.
Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies
5. UNIX for Dummies Questions & Answers
I'll start off by saying that I know very little about Unix - however, I do know that I have a .profile file in my home directory, and that I should be able to invoke it by typing . profile. However, when I do this for ANY .filename, I get ".: Permission denied". I'm pretty sure that there is... (12 Replies)
Discussion started by: bbersani
12 Replies
6. AIX
Enable printer - Permission denied
I have created prnuser in AIX system and I member this user to printq and lp groups when I try to enable any printer I'm getting Permission denied
Pls advice .... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
7. Red Hat
Hi guys im new to this db
i have a small prob while installing websphereportal6.1i think i was installed succesfully
but the error im getting is while starting server.
check this out
# ./serverStatus.sh -all
Error loading: /usr/wps61/AppServer/java/jre/bin/classic/libjvm.so: cannot... (1 Reply)
Discussion started by: varma917989
1 Replies
8. Shell Programming and Scripting
I created a user so that when he logs in he will be directed to a menu
/etc/passwd
user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh
However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies
9. UNIX for Dummies Questions & Answers
when i run echo "User” > /dev/tty5 why do i get permission denied? :confused: (2 Replies)
Discussion started by: chinababy
2 Replies
10. Ubuntu
Trying to get date into the txt file.
It says
Permission denied.
echo $(date +%I:%M:%S_%D) >> /tmp/systemd_suspend_test_err.txt
exec 2>> /tmp/systemd_suspend_test_err.txt
if ; then
# Do the thing you want before suspend here
echo "we are suspending $(date +%I:%M:%S_%D)."
elif ;... (5 Replies)
Discussion started by: drew77
5 Replies
XDPR(1) General Commands Manual XDPR(1)
NAME
xdpr - dump an X window directly to a printer
SYNOPSIS
xdpr [ filename ] [ -display host:display ] [ -Pprinter ] [ -device devtype ] [ option ... ]
DESCRIPTION
Xdpr uses the commands xwd, xpr, and lpr or lp to dump an X window, process it for a particular printer type, and print it out on the
printer of your choice. This is the easiest way to get a printout of a window. Xdpr by default will print the largest possible represen-
tation of the window on the output page.
The options for xdpr are the same as those for xpr, xwd, and lpr or lp. The most commonly-used options are described below; see the manual
pages for these commands for more detailed descriptions of the many options available.
OPTIONS
filename
Specifies a file containing a window dump (created by xwd) to be printed instead of selecting an X window.
-Pprinter
Specifies a printer to send the output to. If a printer name is not specified here, xdpr (really, lpr or lp) will send your output
to the printer specified by the PRINTER environment variable. Be sure that type of the printer matches the type specified with the
-device option.
-display host:display[.screen]
Normally, xdpr gets the host and display number to use from the environment variable ``DISPLAY.'' One can, however, specify them
explicitly; see X(1).
-device devtype
Specifies the device on which the file will be printed. Currently supported:
la100 Digital LA100
ljet HP LaserJet series and other monochrome PCL devices such as ThinkJet, QuietJet, RuggedWriter, HP2560 series, and HP 2930
series printers
ln03 Digital LN03
pjet HP PaintJet (color mode)
pjetxl HP HP PaintJet XL Color Graphics Printer (color mode)
pp IBM PP3812
ps PostScript printer
The default is PostScript. -device lw (LaserWriter) is equivalent to -device ps and is provided only for backwards compatibility.
-help This option displays the list of options known to xdpr.
Any other arguments will be passed to the xwd, xpr, and lpr or lp commands as appropriate for each.
SEE ALSO
xwd(1), xpr(1), lpr(1), lp(1), xwud(1), X(1)
ENVIRONMENT
DISPLAY which display to use by default.
PRINTER which printer to use by default.
COPYRIGHT
Copyright X Consortium
See X(1) for a full statement of rights and permissions.
AUTHORS
Paul Boutin, MIT Project Athena
Michael R. Gretzinger, MIT Project Athena
Jim Gettys, MIT Project Athena
X Version 11 Release 6 XDPR(1)