Sponsored Content
Operating Systems AIX AIX printer and extra blank page after each print Post 302406728 by jgt on Tuesday 23rd of March 2010 05:51:32 PM
Old 03-23-2010
Does your print file contain escape sequences?
Are you printing plain text, PCL5 or Postscript?
 

10 More Discussions You Might Find Interesting

1. AIX

AIX 5.2 print to a local printer

HHi guys . I have this problem ,I'm trying to print to a local machine (windows from the aix box , I;m using tiny Term Emulator) I mean i have no idea what should i do to get this going. The printer is connect it to the pc , it does not have an ip address. Thanks a lot Jose (0 Replies)
Discussion started by: josramon
0 Replies

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

3. SCO

I need the print banner (extra page) disabled

I looked around the forum here and found some answers to getting the banner page disabled but when I print a test page they aren't working. The printer I'm printing to is a HPLaserJet 2300. I couldn't find no banner settings in it either. I'm using Sco OS 5.05. Please advise. Thanks (2 Replies)
Discussion started by: texastig
2 Replies

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

5. Slackware

Printer won't print but 1 page

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

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

7. AIX

Print to Windows PDF printer from AIX

Hopefully this is the correct place to post this, if not please let me know. I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)
Discussion started by: DerangedNick
3 Replies

8. UNIX for Beginners Questions & Answers

Remote print from SLES (SAP) to AIX 7.1 04 sp2 virtual printer queue gets down

Hello Administrators. I have a bit difficult problem. I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device. whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies

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

10. Solaris

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 lpadmin -p Cups_pdf -s... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
Tk_FontId(3)						       Tk Library Procedures						      Tk_FontId(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_FontId, Tk_GetFontMetrics, Tk_PostscriptFontName - accessor functions for fonts SYNOPSIS
#include <tk.h> Font Tk_FontId(tkfont) Tk_GetFontMetrics(tkfont, fmPtr) int Tk_PostscriptFontName(tkfont, dsPtr) ARGUMENTS
Tk_Font tkfont (in) Opaque font token being queried. Must have been returned by a previous call to Tk_GetFont. Tk_FontMetrics *fmPtr (out) Pointer to structure in which the font metrics for tkfont will be stored. See DATA STRUCTURES below for details. Tcl_DString *dsPtr (out) Pointer to an initialized Tcl_DString to which the name of the Postscript font that corresponds to tkfont will be appended. _________________________________________________________________ DESCRIPTION
Given a tkfont, Tk_FontId returns the token that should be selected into an XGCValues structure in order to construct a graphics context that can be used to draw text in the specified font. Tk_GetFontMetrics computes the ascent, descent, and linespace of the tkfont in pixels and stores those values in the structure pointer to by fmPtr. These values can be used in computations such as to space multiple lines of text, to align the baselines of text in different fonts, and to vertically align text in a given region. See the documentation for the font command for definitions of the terms ascent, descent, and linespace, used in font metrics. Tk_PostscriptFontName maps a tkfont to the corresponding Postscript font name that should be used when printing. The return value is the size in points of the tkfont and the Postscript font name is appended to dsPtr. DsPtr must refer to an initialized Tcl_DString. Given a "reasonable" Postscript printer, the following screen font families should print correctly: Avant Garde, Arial, Bookman, Courier, Courier New, Geneva, Helvetica, Monaco, New Century Schoolbook, New York, Palatino, Symbol, Times, Times New Roman, Zapf Chancery, and Zapf Dingbats. Any other font families may not print correctly because the computed Postscript font name may be incorrect or not exist on the printer. DATA STRUCTURES
The Tk_FontMetrics data structure is used by Tk_GetFontMetrics to return information about a font and is defined as follows: typedef struct Tk_FontMetrics { int ascent; int descent; int linespace; } Tk_FontMetrics; The ascent field is the amount in pixels that the tallest letter sticks up above the baseline, plus any extra blank space added by the designer of the font. The descent is the largest amount in pixels that any letter sticks below the baseline, plus any extra blank space added by the designer of the font. The linespace is the sum of the ascent and descent. How far apart two lines of text in the same font should be placed so that none of the characters in one line overlap any of the characters in the other line. SEE ALSO
font(n), MeasureChar(3) KEYWORDS
font, measurement, Postscript Tk 8.0 Tk_FontId(3)
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy