10-31-2002
Are you wanting to just dump the current page to printer or text file?
There is a program for BSDs (and I betcha on Linux and others as well) called script that allows the user to capture output to a text file. While it is not exactly what you seek, it could be used for capturing output and later dumping to a printer.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. AIX
Hi. My server was running fine for a couple of months. When the building power system needs to be maintained, we had to shutdown all servers, then my AIX server just didnt want to start at all.
When it reaches the "Welcome to AIX" screen, it reboots again :(
Could anyone have any idea what it... (2 Replies)
Discussion started by: bsddaemon
2 Replies
3. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
4. HP-UX
I have a small network of dumb terminals (9 HP 715 RISC machines OS Ver A.09.05) one as an application server, the other 8 diskless workstations. One workstation failed and I need to get a spare up on the network.
With a bootable disk in the spare machine I found the MAC address of the spare... (1 Reply)
Discussion started by: gnappi
1 Replies
5. Solaris
Hi all,
First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for.
I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Discussion started by: newbie_01
0 Replies
6. HP-UX
I have had a failure on an HP 715 workstation and luckily have plenty of spares to replace the failed one with. I know that on the server these files need to have the replacement machine configured:
bootptab, hosts, and clusterconf
I can ping the replacement workstation but the workstation... (4 Replies)
Discussion started by: gnappi
4 Replies
7. Shell Programming and Scripting
I have code fragment like
{
aa
bb
cc
} > $LOG
aa bb cc, all call function "ff", I want "ff" to print on the screen,but others do not print on the scree, is there a method? I can't use "tee", becasue tee I meet the write "error"
ff()
{
echo "hello"
} (2 Replies)
Discussion started by: yanglei_fage
2 Replies
8. OS X (Apple)
OS-X 10.8.4
Using locate I get these results:
10:~ mize$ locate /Users/mize/*.sh
/Users/mize/Zend/workspaces/DefaultWorkspace/SLM/vendor/ZF2/bin/check-cs.sh
/Users/mize/copy_ascii_upload.sh
/Users/mize/copy_ascii_upload_to_server.sh
/Users/mize/copy_form_functions_php_to_jpl.sh... (7 Replies)
Discussion started by: Gary Mize
7 Replies
9. AIX
I have searched many times but nothing found. Somebody help please :(:(:( (1 Reply)
Discussion started by: bobochacha29
1 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OSX
classes.conf
classes.conf(5) Apple Inc. classes.conf(5)
NAME
classes.conf - class configuration file for cups
DESCRIPTION
The classes.conf file defines the local printer classes that are available. It is normally located in the /etc/cups directory and is gener-
ated automatically by the cupsd(8) program when printer classes are added or deleted.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
DIRECTIVES
<Class name> ... </Class>
Defines a specific printer class.
<DefaultClass name> ... </Class>
Defines a default printer class.
Accepting Yes
Accepting No
Specifies whether the printer is accepting new jobs.
AllowUser [ user @group ... ]
Allows specific users and groups to print to the printer.
DenyUser [ user @group ... ]
Prevents specific users and groups from printing to the printer.
Info text
Specifies human-readable text describing the printer.
JobSheets banner banner
Specifies the banner pages to use for the printer.
KLimit number
Specifies the job-k-limit value for the printer.
Location text
Specifies human-readable text describing the location of the printer.
OpPolicy name
Specifies the operation policy for the printer.
PageLimit number
Specifies the job-page-limit value for the printer.
Printer
Specifies a printer that is a member of the printer class.
QuotaPeriod seconds
Specifies the job-quota-period value for the printer.
Shared Yes
Shared No
Specifies whether the printer is shared.
State idle
State stopped
Specifies the initial state of the printer (Idle or Stopped)
StateMessage text
Specifies the message associated with the state.
StateTime seconds
Specifies the date/time associated with the state.
SEE ALSO
cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), printers.conf(5),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2013 by Apple Inc.
29 April 2009 CUPS classes.conf(5)