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
lprsetup(8)						      System Manager's Manual						       lprsetup(8)

Name
       lprsetup - printer spooler set up program

Syntax
       /etc/lprsetup

Description
       The command provides an interactive easy-to-use facility for administrating the line printers on your system.  The program contains on-line
       help and default answers to questions about adding, deleting, or changing the characteristics of any of the line printers on  your  system.
       Whenever  a  question  is  asked,  the  default	selection  is given in ] .  You can press Return in response to the question to accept the
       default, or enter an alternate value for the given parameter.

       The program knows about all of the possible symbols in the file.  See for a current list.  After you have entered a printer  specification,
       and  have  verified  that  it  is  correct,  then creates the spooling directory, links the output filter, and creates an entry for the new
       printer.

       If the printer is connected to your system, you must specify the printer device name which is in the lp printcap entry.

       If lp is set to nn you are prompted to choose between or If your printer is connected to a port on your system, choose the default setting,
       If you choose you are prompted for the baud rate, br.  The default is the recommended baud rate for the printer.

       If  you	want  to set up your printer to a LAT line, choose the option.	At this point, proceeds only if you have chosen a valid LAT device
       for lp.	It assumes that the LAT device has been configured for host initiated connections using If it has not, you must do this before the
       queue works.  For information about how to set up a LAT line, see Chapter 3 of the Guide to Ethernet Communications Servers.

       If  lp  is  set	to another device, for example the program assumes that you are setting up a printer with a parallel port, for example, It
       does not prompt you for device type information, and serial port specific entries are not put into the entry.

See Also
       printcap(5), lpc(8), MAKEDEV(8)
       Guide to Ethernet Communications Servers
       Guide to System Environment Setup

																       lprsetup(8)
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy