02-28-2002
http://www.hp.com/cposupport/printer....html#P69_4630
Take a look at this link.... the interface file that you are using may need to be edited to contain the correct "Escape" codes to send the correct string to the printer.
You may have to have different interface files for different print functions...
example.. 1 interface for portrait
1 interface for landscape
1 interface for landscape 18cpi condensed
It will be necessary to create 3 different printers in the print que and associate the correct interface for each printer added.
There may also be the capability to pass different print paramaters via command line...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Could someone tell me how to print a text file in land scape.
Thanks (5 Replies)
Discussion started by: yxiao
5 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
I have been looking for a way to print a text file in landscape format with out sucess. I have also looked at thread post by yxiao. but this does not work for me. Any help would be greatful. I have redhat 7.2 and conneted to an HP 4100N printer. THANKS (2 Replies)
Discussion started by: larry
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
Can anybody tell me how to configure my printer to handle lpr -o landscape? Or what I need to do to print a text file in landscape format using the lpr command.
Thanks
Monique (1 Reply)
Discussion started by: squeakywheel
1 Replies
4. Solaris
hi everybody ,
i was just wondering if anyone could tell me how to setup printing landscape from Solaris 9 . We have a hp laser jet 1300 printer connected to an hp jetdirect 1.75x print server. We have set it up to print Portrait but not landscape. Is there some sort of generic script I can use... (3 Replies)
Discussion started by: ppass
3 Replies
5. UNIX for Dummies Questions & Answers
Hey all,
This is probably a stupid question but I can't seem to find the answer I need anywhere.
I have an XML file that I need to be able to print in landscape because the text goes off the page when I try to print in portrait.
I can't find a way to do this using lp. I understand, from... (1 Reply)
Discussion started by: MaristBrandi
1 Replies
6. Solaris
I can print lanscape to a printer in solaris 9 but it won't work in solaris 10 to the same printer. I'm using the same configuration and the same command which is below. Any suggestions would be greatly appreciated. Thanks.
lp -d hp4100 -o "c landscape" filename (4 Replies)
Discussion started by: darren.wyatt
4 Replies
7. Linux
Hello,
I am using version:
cups-config --version - 1.2.4
However, when i use the -o land or -o landscape command it doesn't print in Landscape.
I have the same problem on another server. (Both running CENTOS).
Does landscape printing work in CUPS? Is there a fix?
Thanks in an... (0 Replies)
Discussion started by: stuaz
0 Replies
8. UNIX for Dummies Questions & Answers
to an existing print que? (1 Reply)
Discussion started by: NycUnxer
1 Replies
9. UNIX for Dummies Questions & Answers
I've looked around and am able to print landscape to a PCL 5 printer with this command:
lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30
-d <printer> <file>.
Which gives me a nice 200 columns.
But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Discussion started by: tariqjamal
3 Replies
10. Solaris
hello does any one know if a command exists for printing lp landscape on a kycoera printer.
hp works ok but i cant get kyocera to work
thanks (1 Reply)
Discussion started by: joey298487
1 Replies
GROLJ4(1) General Commands Manual GROLJ4(1)
NAME
grolj4 - groff driver for HP Laserjet 4 family
SYNOPSIS
grolj4 [ -lv ] [ -d[n] ] [ -cn ] [ -ppaper_size ] [ -wn ] [ -Fdir ] [ files... ]
It is possible to have whitespace between a command line option and its parameter.
DESCRIPTION
grolj4 is a driver for groff that produces output in PCL5 format suitable for an HP Laserjet 4 printer.
There is an additional drawing command available:
D'R dh dv'
Draw a rule (solid black rectangle), with one corner at the current position, and the diagonally opposite corner at the current
position +(dh,dv). Afterwards the current position will be at the opposite corner. This generates a PCL fill rectangle command,
and so will work on printers that do not support HPGL/2 unlike the other D commands.
OPTIONS
-cn Print n copies of each page.
-l Print the document with a landscape orientation.
-d [n] Use duplex mode n: 1 is long-side binding; 2 is short-side binding; default is 1.
-psize Set the paper size to size, which must be one of letter, legal, executive, a4, com10, monarch, c5, b5, dl.
-v Print the version number.
-wn Set the default line thickness to n thousandths of an em. If this option isn't specified, the line thickness defaults to 0.04 em.
-Fdir Prepend directory dir/devname to the search path for font and device description files; name is the name of the device, usually lj4.
The following four commands are available additionally in the font description files:
pclweight N
The integer value N must be in the range -7 to +7; default is 0.
pclstyle N
The integer value N must be in the range 0 to 32767; default is 0.
pclproportional N
A boolean flag which can be either 0 or 1; default is 0.
pcltypeface N
The integer value N must be in the range 0 to 65535; default is 0.
ENVIRONMENT
GROFF_FONT_PATH
A list of directories in which to search for the devname directory in addition to the default ones. See troff(1) and groff_font(5)
for more details.
FILES
/usr/share/groff/1.21/font/devlj4/DESC
Device description file.
/usr/share/groff/1.21/font/devlj4/F
Font description file for font F.
/usr/share/groff/1.21/tmac/lj4.tmac
Macros for use with grolj4.
BUGS
Small dots.
SEE ALSO
lj4_font(5), groff(1), troff(1), groff_out(5), groff_font(5), groff_char(7)
Groff Version 1.21 31 December 2010 GROLJ4(1)