Sponsored Content
Operating Systems Linux Slackware Printer won't print but 1 page Post 302599909 by jim mcnamara on Sunday 19th of February 2012 09:06:49 AM
Old 02-19-2012
Copy the pcl5lp script, your printer speaks PCL5. The script has literally dozens of options, it work from the command line. You can use it as is, or read through and grab the pcl commands you want.

https://www.unix.com/unix-dummies-que...ank-pages.html
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Skipping page by UNIX printer

I have HP UNIX 10.20 and whenever anything is printed on DFX 8000, it skips a page. How could I give an lp command so that a) the printer does not skip a page b) Even if it skips a page, the next time it should automatically use the blank page it has ejected. In this way, I can reduce the... (3 Replies)
Discussion started by: augustinep
3 Replies

2. Debian

Serial printer cutting last page of long reports...

Any ideas what could cause this? I have flow control set to XON XOFF on the printer and the on the OS level. (1 Reply)
Discussion started by: djsal
1 Replies

3. Shell Programming and Scripting

lpr- how to print from page to page

hi all i have file_1 which contains 66 pages and i want to print only page 1 to 3 i try to write like this lp -d name_of_printer file_1 -P 1-7 this command does not work any ideas ? (4 Replies)
Discussion started by: naamas03
4 Replies

4. UNIX for Dummies Questions & Answers

Looking for a web page that won't let me in

Hi, I have a project for school using wget and egrep to locate pattern locations on a web page. One of the things we have to do is handle an "access denied" exception. Here is the problem, I can not think of/find any web pages that give me an access denied error to play with, can anyone suggest... (1 Reply)
Discussion started by: njmiano
1 Replies

5. AIX

AIX printer and extra blank page after each print

Guy's I have installed AIX direct Network printer as the below details.... printer1 hp@printer1 hplj-3 (HP-GL/2) Printer is printing fain and clearly but it's printing extra blank page after each print ? What's the couse of this problem ? Pls advice ! (6 Replies)
Discussion started by: ITHelper
6 Replies

6. AIX

AIX Printer Issue: Blank Page Printing.

We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages. Please let us know the cause of this issue and ways to rectify it. If this is problem with banner/feeds how to view the default banner... (1 Reply)
Discussion started by: sugan_p
1 Replies

7. Shell Programming and Scripting

Print multiple copies page by page using lp command

Hi I have a pdf file that is being generated using the rwrun command in the shell script. I then have the lp command in the shell script to print the same pdf file. Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies

8. UNIX for Dummies Questions & Answers

xls2csv.py won't print to outfile

Hi, I'm trying to use pyExcelerator's module "xls2csv" converter in ubuntu. The following works great, except the standard out is in the terminal. sudo python xls2csv.py test.xls I want the csv delimited output to be redirected to a file. When I enter.... sudo python xls2csv.py test.xls... (5 Replies)
Discussion started by: jdilts
5 Replies

9. Shell Programming and Scripting

Variable won't print out - awk

done. (1 Reply)
Discussion started by: myaa02
1 Replies

10. Shell Programming and Scripting

Insert FF (feed form) in text file so that when printing the printer print on a new page accordingly

Hello. First happy new year to everybody. I have a script that generate a text file ( /tmp/part_list.txt for example ). This file can be edited using a kde graphical text editor like kate or kwrite The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
lpadmin(8)						      Easy Software Products							lpadmin(8)

NAME
lpadmin - configure cups printers and classes SYNOPSIS
lpadmin [ -E ] [ -h server ] -d destination lpadmin [ -E ] [ -h server ] -p printer option(s) lpadmin [ -E ] [ -h server ] -x destination DESCRIPTION
lpadmin configures printer and class queues provided by CUPS. It can also be used to set the server default printer or class. When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server. The first form of the command sets the default printer or class to destination. Subsequent print jobs submitted via the lp(1) or lpr(1) commands will use this destination unless the user specifies otherwise with the lpoptions(1) command. The second form of the command configures the named printer. The additional options are described below. The third form of the command deletes the printer or class destination. Any jobs that are pending for the destination will be removed and any job that is currently printed will be aborted. CONFIGURATION OPTIONS
The following options are recognized when configuring a printer queue: -c class Adds the named printer to class. If class does not exist it is created automatically. -i interface Sets a System V style interface script for the printer. This option cannot be specified with the -P option (PPD file) and is intended for providing support for legacy printer drivers. -m model Sets a standard System V interface script or PPD file from the model directory. -o name=value Sets a PPD or server option for the printer. PPD options can be listed using the -l option with the lpoptions(1) command. -o job-k-limit=value Sets the kilobyte limit for per-user quotas. The value is an integer number of kilobytes; one kilobyte is 1024 bytes. -o job-page-limit=value Sets the page limit for per-user quotas. The value is the integer number of pages that can be printed; double-sided pages are counted as two pages. -o job-quota-period=value Sets the accounting period for per-user quotas. The value is an integer number of seconds; 86,400 seconds are in one day. -r class Removes the named printer from class. If the resulting class becomes empty it is removed. -u allow:user,user -u deny:user,user -u allow:all -u deny:none Sets user-level access control on a printer. The latter two forms turn user-level access control off. -v device-uri Sets the device-uri attribute of the printer queue. If device-uri is a filename it is automatically converted to the form file:/file/name. -D info Provides a textual description of the printer. -E Enables the printer and accepts jobs; this is the same as running the accept(8) and enable(8) programs on the printer. -L location Provides a textual location of the printer. -P ppd-file Specifies a PostScript Printer Description file to use with the printer. If specified, this option overrides the -i option (interface script). COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE and TAB. Also, printer and class names are not case-sensitive. Finally, the CUPS version of lpadmin may ask the user for an access password depending on the printing system configuration. This differs from the System V version which requires the root user to execute this command. LIMITATIONS
The CUPS version of lpadmin does not support all of the System V or Solaris printing system configuration options. SEE ALSO
accept(8), cancel(1), disable(8), enable(8), lp(1), lpstat(1), reject(8), CUPS Software Administrators Manual, http://localhost:631/docu- mentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 21 October 2002 Common UNIX Printing System lpadmin(8)
All times are GMT -4. The time now is 04:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy