tail -f /var/spool/lp/logs/requests |egrep "U|D|F"
This is the Output:
= APHP-662741, uid 394, gid 50, size 64134, Fri Sep 21 09:47:02 2012
D APHP
F /usr/spool/lp/temp/662741-1
U karoline
How do you format the Output to look like this;
karoline APHP /usr/spool/lp/temp/662741-1
Thanks in...
I got it :-) work like a champ
# while x=0; do cancel JCHP1; sleep 2; done
request "JCHP1-609224" canceled
request "JCHP1-609225" canceled
request "JCHP1-609226" canceled
request "JCHP1-609227" canceled
# lpstat -o JCHP1 | while read a b; do cancel $a; sleep 1; done
request "JCHP1-608628" canceled
Still not working ...I have over 5000 print jobs in the queue right now.
I had a scripts but it doesn't work until I get my queue to smaller size.
here is the script with run error
# lpcancel...
how do I cancel all the print jobs all at once? it is SCO-OS6
lpstat -o PrinterName | while read a b; do cancel $a; done
-this command only cancel 1 jobs and hung up. I don't know how to insert the sleep command in the loop as suggested in prior post.
# lpstat -o SRHP | while read a b; do...
Hi, I'm using Evolution as Outlook replacement to my Exchange 2K7 mail box hosted by Comcast.net.
I'm not able to authenticate. I can configured Evolution as imap client only and loosing the Outlook functionality.
Comcast Tech support can't help much ...
Please post if you able to connect...
Hi All,
I'm looking for email server on ubuntu platform that work almost like Exchange and support Outlook Client
-For email client on ubuntu 11 which one will have look and feel of outlook and able to connect to exchange?
-Commercial licence is fine..I just need to 2012 recommendation, if...
Try this if you used gdm and ubuntu:
I used x11vnc and set it to start after gdm ...I'm on ubuntu 11
edit /etc/gdm/Init/Default and add to bottom before exit
# Start the x11vnc Server
/usr/bin/x11vnc -bg -reopen -forever -skip_lockkeys -auth guess
I got it working now. The model need to point to the foomatic-db-compressed-ppds:0/Oki-ML_320-okiibm.ppd
Here is how I did it.
*Configured Printer in Linux Console How-To*
Example: add OKidata ML-320 on lpt1 to the queue name Oki using ubuntu 1104
-Get info on the device
user@user:~$...
Dan it! always forgot that sudo thingy :-)
user@user:/var/log/cups$ sudo lpadmin -p oki -v parallel:/dev/lp0 -m Oki-ML_320-okiibm.ppd.gz
[sudo] password for user:
lpadmin: Unable to copy PPD file!
user@user:/var/log/cups$
Still not work :-(
here is the cups error log;
[24/Jan/2012:11:00:16 -0800] [cups-driverd] Unable to open "/usr/share/cups/model/Oki-ML_320-okiibm.ppd" - No such file or directory
E [24/Jan/2012:11:00:16 -0800] copy_model: empty PPD file!
E [24/Jan/2012:11:00:16 -0800] Returning IPP server-error-internal-error...
I have CUPS install and would like to add a Okidata 320 on lpt port to the printing queue in linux console -- no X server, no GUI. The CUPS web admin is not available for this installation.
lpinfo -m
show:
foomatic-db-compressed-ppds:0/Oki-ML_320-okiibm.ppd Oki ML 320 Foomatic/okiibm...
Yes I tried both option. The left side is what the software is looking for. Right side is the remap.
In all, I'm @ 99% in achieving my goal. My user will need to hit CTRL + H for delete when using the terminal.
Thank-You all for helping and sharing your knowledge enable me to make it possible.
here is the configuration.
/* CTRL-S= /* LEFT ARROW - same as CURSOR-LEFT above.
/* CTRL-D= /* RIGHT ARROW - same as CURSOR-RIGHT above.
CTRL-A=CTRL P /* CTRL/P - FIRST CHARACTER OF PREVIOUS WORD.
CTRL-F=CTRL C /*...
My apps is configured for vt100 so it is only understood the esc key
below:
Editing Functions
Name Mnemonic Sequence
Delete character DCH ESC [ Pn P
Insert line IL ESC [ Pn L
Delete line DL ESC [ Pn M
how do I set the backspace to do
Delete character DCH ESC [ Pn P
my backspace key look like this ^? I tried that in the profile didnt work.
try that in the terminfo didnt work either
what it the code for CTRL H if I want map that in my terminfo?
One minor problem my apps is hard code with CTRL H to back space & erase previous character.
I have eliminate remapping in the profile because the software is not looking there. It is getting the info from terminfo
I need to map the BS to CTRL H ---because in side the apps I can hit the CTRL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.