09-20-2011
Are you saying that with a 10 page document for example, that the user is getting a blank page every 2 pages? If this is the case, then I can't see it being a banner problem. I'm *guessing* that it might be because of page size settings if it's happening in the middle of a document. Of course I reserve the right to be wrong!
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. UNIX for Dummies Questions & Answers
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
3. AIX
Hi,
I experience some issues with my new print queues that I created in AIX (smitty). This following print queue is dedicated to print on tray 1 and the user have to put the paper manually, the jobs should be executed without separator page.
But when we print on this queue, the job is executed... (1 Reply)
Discussion started by: imad77
1 Replies
4. Post Here to Contact Site Administrators and Moderators
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
5. AIX
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. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
7. Slackware
OS: Slackwar 13.37
Printer: hpDeskjet 1000 j110
Printer Drivers/Software: HPLIP 3.11.3a (min was 3.10.9) and Cups
The printer will print the first of n-pages but from page 2 on it prints the page (or part of it) backs up and starts again down about 0.8 lines and does this repeatedly till the... (2 Replies)
Discussion started by: slak0
2 Replies
8. UNIX for Beginners Questions & Answers
Hello group.
I recently upgraded my company's server from an IBM P520 w/AIX 5.1 to a new Power 8 w/AIX 7.2. The old server used serial printing and we turned off the print queing feature. We did this because we have many custom forms and did not want a que/spooling situation where a print job... (1 Reply)
Discussion started by: Len Davis
1 Replies
9. Shell Programming and Scripting
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
10. Solaris
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
lpadmin -p Cups_pdf -s... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT PHP
ps_begin_page
PS_BEGIN_PAGE(3) 1 PS_BEGIN_PAGE(3)
ps_begin_page - Start a new page
SYNOPSIS
bool ps_begin_page (resource $psdoc, float $width, float $height)
DESCRIPTION
Starts a new page. Although the parameters $width and $height imply a different page size for each page, this is not possible in Post-
Script. The first call of ps_begin_page(3) will set the page size for the whole document. Consecutive calls will have no effect, except for
creating a new page. The situation is different if you intent to convert the PostScript document into PDF. This function places pdfmarks
into the document which can set the size for each page indiviually. The resulting PDF document will have different page sizes.
Though PostScript does not know different page sizes, pslib places a bounding box for each page into the document. This size is evaluated
by some PostScript viewers and will have precedence over the BoundingBox in the Header of the document. This can lead to unexpected results
when you set a BoundingBox whose lower left corner is not (0, 0), because the bounding box of the page will always have a lower left corner
(0, 0) and overwrites the global setting.
Each page is encapsulated into save/restore. This means, that most of the settings made on one page will not be retained on the next page.
If there is up to the first call of ps_begin_page(3) no call of ps_findfont(3), then the header of the PostScript document will be output
and the bounding box will be set to the size of the first page. The lower left corner of the bounding box is set to (0, 0). If ps_find-
font(3) was called before, then the header has been output already, and the document will not have a valid bounding box. In order to pre-
vent this, one should call ps_set_info(3) to set the info field BoundingBox and possibly Orientation before any ps_findfont(3) or
ps_begin_page(3) calls.
Note
Up to version 0.2.6 of pslib, this function will always overwrite the BoundingBox and Orientation, if it has been set before with
ps_set_info(3) and ps_findfont(3) has not been called before.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $width
- The width of the page in pixel, e.g. 596 for A4 format.
o $height
- The height of the page in pixel, e.g. 842 for A4 format.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
ps_end_page(3), ps_findfont(3), ps_set_info(3).
PHP Documentation Group PS_BEGIN_PAGE(3)