Sponsored Content
Operating Systems Solaris Solaris 10 and blank page with lp Post 303029180 by Linusolaradm1 on Tuesday 22nd of January 2019 09:24:47 PM
Old 01-22-2019
Solaris 10 and blank page with lp

Probably is possible to solving using cups,but I want to try the classical unix printing system.
I have setup a fake printer with cups-pdf,clients like Windows server,Linux and Solaris11 works ok.
On solaris 10 I get only blank pages,I have used this syntax



Code:
lpadmin -p Cups_pdf -s 192.168.0.2:515 -E -n  /usr/local/lib/lp/model/ppd/CUPS-PDF.ppd -I postscript
lpadmin -d Cups_pdf
accept Cups_pdf
lpstat -t

I have also tried the generic pppd.gz

Code:
lpadmin -p Cups_pdf -s 192.168.0.2:515 -E - n /usr/lib/lp/model/ppd/system/foomatic/Generic/Generic-PostScript_Printer-Postscript.ppd.gz -I postscript
lpadmin -d Cups_pdf
accept Cups_pdf
lpstat -t

But print only blank pages.
 

8 More Discussions You Might Find Interesting

1. Solaris

Solaris box shows blank screen after power up

Hi All, I have a solaris machine that powers up and displays a blank screen? All the keyboard, monitor and mouse are plugged in. It was booting fine before and when it was disconnected and re-connected (mouse/keyboard/monitor) it just powered on and came up with a blank screen. Please... (5 Replies)
Discussion started by: tlee
5 Replies

2. UNIX for Dummies Questions & Answers

Creating Custom man Page in Solaris

Hello experts, I'm creating a custom man page. I have two unix boxes - one Hp & the other Solaris On HP, I simply moved the .Z file to /usr/man/man7.Z/ and after that "man myPage" worked. I then tried to do the same on Solaris. First thing is the relevant directory seemed to be... (1 Reply)
Discussion started by: sridhar_423
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Open any thread, get a zero-byte blank page

I've made the thread title as descriptive as possible since I don't know if the admins can open it. Well sure, now I can open THIS one. I'm getting it on any other thread I try in What's On Your Mind and High Level Programming. Okay, it's decided to make a liar of me now. It seems to be... (2 Replies)
Discussion started by: Corona688
2 Replies

4. 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

5. Solaris

How to scroll through the man page in Solaris

Hey All, I generally login to the Solaris box using Putty. But when I read a man page, I am not being able to scroll line by line using traditional 'j' or 'k' keys. Any idea about how can we scroll through line by line while reading a manage page over Putty (2 Replies)
Discussion started by: paragkalra
2 Replies

6. Solaris

Blank Password (Solaris 10)

Hello, I have a doubt about the accounts. With a "grep" to file "shadow" get the accounts have no password: The output is: However, if I do a "su <bin, sys, etc>" request password. What is the true state of accounts? The file "shadow" are as follows: I... (4 Replies)
Discussion started by: musul
4 Replies

7. 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

8. UNIX for Beginners Questions & Answers

Solaris 10 Login Page Loop

I'm currently logged in as Root on a Solaris 10 Server for my schools department and I'm trying to figure out why 20 of my users(Students) can log into the Solaris 10 Sun Ray Oracle Server with correct username and password but then be looped back to the same log in page. I tried deleting their... (7 Replies)
Discussion started by: mwilliams21z
7 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 09:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy