A shot in tge dark: do the departments each have their own printer ? It might be that each printer expects a different encoding.
Going back to the original code...
According to the online docs for this command, the printer is specified with
and not "-d". For a number of reasons this could be the source of your problem
Hello Everyone :) ,
I have this printer installed on the network which is an HP 1160.
When sending a print job to the printer from SCO Unix 7.1 it prints one line of text and the rest of it comes up with blank pages.
I have tried deleting the printer and recreating it; but I am getting... (6 Replies)
hi all
i have installed veritas storage foundation 5.1 in my sun blade 150 which running with sun solaris 5.10. Veritas commands manual pages are located in /opt/VRTS/man/man1m directory. But if i give "man vxassist" It says "no manual entry for vxassist". How to resolve this? (2 Replies)
Please direct me to the right forum tree if i am in the wrong section for this.
i have netcat on a unix machine and there is no man nc or man netcat available.
my command i am using is:
cat $FILE1 | netcat -h $PRINTER -p 9100
(-h -p -d are the only flags available in this version of... (3 Replies)
Im trying to make a script that prints 2 messages to a screen session, one after the other.
screen -x session44 -X stuff "`printf "Test 1\r"`"
This works fine, but adding a second lien with a different message yields no results.
Changed Subject: Please Follow Forum Rules Regarding... (1 Reply)
Hi.
I have netBSD box acting as gateway, ftp, mail & web server, etc. It is now seven years old and has never missed a beat. The only problem is that the (Windows) boxes in my little network are now experiencing VERY slow web page loads.
The other problem is that in the years since a Unix... (0 Replies)
Hi All,
Am trying script to compare 2 files and print the difference found from old file to new file on line by line basis on side by side display.
Basically line by line comparision and files may contain blank line as well
I know we have compare/diff commands but i don't how to make... (10 Replies)
I am connecting to a device using telnet, I want my script to perform certain commands : ie- show device , show inventory..etc and write the output it sees from the terminal to a file.
this is what I have got :
#!/usr/bin/expect --
set running 1
spawn telnet <ip address>
expect ... (1 Reply)
greetings,
i'm a php and html novice and i figured i'd learn by diving in. i've written a php script that i've placed in the /var/www/html directory. it's supposed to give some relative info about the system when you point a browser at it. if i run the script using "php -q index.php" all the... (3 Replies)
OK.
I fixed the horizonal scroll bar issues in the man pages pre format output for the man pages by removing all table tags and converting to divs:
https://www.unix.com/members/1-albums220-picture876.png
I still have some work to do on reformatting the deep search redirects and the... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT SUNOS
digestp
mailp(1) User Commands mailp(1)NAME
mailp, digestp, filep, newsp, filofaxp, franklinp, timemanp, timesysp - frontends to the mp Text to PDL (Printer Description Language)
pretty print filter
SYNOPSIS
mailp [options] filename...
newsp [options] filename...
digestp [options] filename...
filep [options] filename...
filofaxp [options] filename...
franklinp [options] filename...
timemanp [options] filename...
timesysp [options] filename...
DESCRIPTION
The mailp utility is a frontend to the mp(1) program. It uses different names to provide various mp options:
mailp Prints out mail messages.
newsp Prints out USENET news articles.
digestp Prints out USENET digest files.
filep Prints out ordinary ASCII files.
filofaxp Prints out in Filofax personal organiser format.
franklinp Prints out in Franklin Planner personal organiser format.
timemanp Prints out in Time Manager personal organiser format.
timesysp Prints out in Time/System International personal organiser format.
mailp and the associated programs read each filename in sequence and generate a prettified version of the contents. If no filename argu-
ments are provided, mailp reads the standard input.
mailp works in two ways. With the -D option, it will work as an X print server client to produce the PDL of the target printer and spool
it. With the -d or -P option, it will generate and spool PostScripttm output.
OPTIONS
The following options are supported:
-d printer Sends output to the named printer. Otherwise, sends output to the printer named in the PRINTER environment variable.
-D Generates the PDL for the target printer and spools it to the printer.
-F Instead of printing who the mail article is for, the top header will contain who the mail article is from. This is a useful
option for people with their own personal printer.
-h Banner printing is disabled. Most of the information that typically appears on the banner sheet is output in the mp ban-
ners.
-l Formats output in landscape mode. Two pages of text will be printed per sheet of paper.
-P printer Same as -d option.
-s subject Uses subject as the new subject for the printout. If you are printing ordinary ASCII files which have been specified on the
command line, the subject will default to the name of each of these files.
OPERANDS
The following operand is supported:
filename The name of the file to be read.
ENVIRONMENT VARIABLES
If none of the -d, -D, or -P options is used, mailp uses the PRINTER environment variable to determine the printer to which the output from
the mp(1)program is sent. If the PRINTER variable is not found, the default destination is the PostScripttm printer.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmp |
+-----------------------------+-----------------------------+
SEE ALSO mp(1), attributes(5)NOTES
The -P option, which spools the PDL directly to the target printer in mp(1), produces PostScripttm when used in mailp so as to be backward
compatible.
SunOS 5.10 30 Oct 2000 mailp(1)