Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Script issue - Prints pages with jibberish... Post 302580677 by methyl on Friday 9th of December 2011 08:36:13 AM
Old 12-09-2011
Have you tried printing to the opposing printer? Might eliminate the printer itself.
What is the make and model of each printer, and how are they connected to the network? Do they both have the same amount of internal memory?

Is this custom "pdpr" an alias, a script or what? Has $PATH been modified to find a different version when used from the command line? i.e. Are you sure that you are executing the same program from your script?

Slightly off topic (I think): Beware that $PRINTER is a system reserved Environment Variable name left over from early unix but still read by modern commands. It's usually mentioned in "man lp" to name but a few places.

The HP "Advance Printing Software" product is well documented for Tru64 unix, but would help to know what Operating System and version you have.

Last edited by methyl; 12-09-2011 at 10:37 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Printer prints blank pages

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)
Discussion started by: George26
6 Replies

2. Solaris

man pages issue

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)
Discussion started by: kingston
2 Replies

3. UNIX and Linux Applications

netcat prints blank pages

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)
Discussion started by: dunpealslyr
3 Replies

4. Shell Programming and Scripting

echo prints nothing-shell script

could anyone tell me why when i execute the following script, echo returns blank set k = 1 echo $k (9 Replies)
Discussion started by: saman_glorious
9 Replies

5. Shell Programming and Scripting

Script that prints 2 messages to a screen session

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)
Discussion started by: kylecn
1 Replies

6. UNIX for Dummies Questions & Answers

Client web pages very slow to load. Squid issue?

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)
Discussion started by: torontobob
0 Replies

7. Shell Programming and Scripting

Script to compare 2 files and prints difference as output sidebyside

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)
Discussion started by: Optimus81
10 Replies

8. Shell Programming and Scripting

Script which telnets to a device, runs commands and prints output to a file

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)
Discussion started by: samantha123
1 Replies

9. Web Development

Php script prints values but not seen in browser

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)
Discussion started by: crimso
3 Replies

10. What is on Your Mind?

Man Pages - Removed Table Tags and Fixed Scrollbar Issue

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
filter(1)						      Easy Software Products							 filter(1)

NAME
filter - cups file conversion filter interfaces SYNOPSIS
filter job user title num-copies options [ filename ] DESCRIPTION
The CUPS filter interface provides a standard method for adding support for new document types to CUPS. Each filter is capable of convert- ing from one or more input formats to another format that can either be printed directly or piped into another filter to get it to a print- able format. Filters must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a tempo- rary file as required by the file format. All output must be sent to the standard output. The command name (argv[0]) is set to the name of the destination printer. ENVIRONMENT VARIABLES
The following environment variables are defined by the CUPS server when executing each filter: CHARSET The default text character set (typically us-ascii or iso-8859-1). CLASS When a job is submitted to a printer class, contains the name of the destination printer class. Otherwise this environment variable will not be set. CONTENT_TYPE The MIME type associated with the file (e.g. application/postscript). CUPS_DATADIR The directory where data files can be found. CUPS_SERVERROOT The root directory of the server. DEVICE_URI The device-uri associated with the printer. LANG The default language locale (typically C or en). PATH The standard execution path for external programs that may be run by the filter. PPD The full pathname of the PostScript Printer Description (PPD) file for this printer. PRINTER The name of the printer; this is provided for shell scripts which may not be able to get the passed argv[0] string. RIP_CACHE The recommended amount of memory to use for Raster Image Processors (RIPs). SOFTWARE The name and version number of the server (typically CUPS/1.1). TZ The timezone of the server. USER The user executing the filter (typically lp). COMPATIBILITY
While the filter interface is compatible with System V interface scripts, it will only work with the System V interface script as the only filter. Typically the interface script will be provided via the lpadmin(8) command using the -i option. SEE ALSO
backend(1), cupsd(8), CUPS Interface Design Description, CUPS Software Administrators Manual, CUPS Software Programmers Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 22 June 2000 Common UNIX Printing System filter(1)
All times are GMT -4. The time now is 04:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy