02-27-2009
Printing Landscape to PCL 6 Printer
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 out as portrait.
What can I do to print landscape to a PCL 6 printer HP4250DN ?
Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
OS: HP-UX B.11.11 U
Printer: HP 8150.
I require a font to be downloaded to the printer and used.
As documented the steps are:
1. Tell printer to accept font
2. Send the font to the printer
3. Make the font permanent
4. Select font for use
or in PCL
1. <Esc>*c90D
2.... (0 Replies)
Discussion started by: mbb
0 Replies
2. 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
3. HP-UX
Hi,
I have a pcl file with a color invoice. Can you please advise me how I can print it directly from Hp/Ux command line to a network printer with a known IP address. The printer model is Xerox Docu Color 1632. How can I configure that printer under HpUx and which command is for printing pcl... (2 Replies)
Discussion started by: piooooter
2 Replies
4. 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
5. 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
6. Red Hat
I need to setup a HP 4000 PCL printer - it seems out of the box - I can only can use PostScript. Any guidance is appreciated.
In the SCO world - I used HPNP with no problems. (2 Replies)
Discussion started by: markb4
2 Replies
7. HP-UX
Hello everyone..
While printing through command line, we can set printing option with -o <lanscape/portrait> to print file in required mode.
But i want to know is there any way we can set this as default behaviour for this printer?
After configuration any script we can modify for this... (0 Replies)
Discussion started by: laxmikant
0 Replies
8. Solaris
Help!
I have to solve an urgent problem!
I have a Solaris 10 server, where I created a line of printing with the command
# /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
Discussion started by: poyato
0 Replies
9. 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
10. SCO
I am trying to get a network printer to work that currently works from my Unix (5.0.7) server when printing text files only. When I try to print post script files like a PDF file I get all of the controls so I am not sure if I have my printer configuration setup properly in Unix
The printer... (1 Reply)
Discussion started by: ziggy6
1 Replies
LEARN ABOUT ULTRIX
ln03of
ln03of(8) System Manager's Manual ln03of(8)
Name
ln03of - LN03(S) laser printer filter
Syntax
/usr/lib/lpdfilters/ln03of [-c] [-nlogin] [-hhost] [-wwidth] [-lnum] [-iindent] [accounting file]
Description
The filter is used to filter text data destined for the LN03 and LN03S laser printers. The filter handles the device dependencies of the
printers and performs accounting functions. Accounting records are written to the file specified by the af field in at the time of comple-
tion for each job.
The filter can handle plain ASCII files and files that have been preprocessed by nroff. The filter translates nroff control sequences for
underlining, superscripting, and subscripting into the correct LN03(S) control sequences.
The filter can be the specified filter in both the of and the if fields in the file. For further information, see When both fields are
specified the of filter is used only to print the banner page. It is then stopped to allow the if filter access to the printer. The if
filter maintains accounting information.
If the of field is the only one specified the filter is used to print the banner page. It is then stopped and restarted. This allows the
of filter to be used to maintain accounting information.
If the if field is the only one specified the banner page will be sent directly to the printer. If the printer has been left in an undeter-
mined state the banner page may not print correctly.
The best results will be obtained when the filter is specified in both the of and if fields. For a more detailed discussion on filters see
the ``Line Printer Spooler Manual'' in the ULTRIX Supplementary Documents, Volume 2: Programmer.
Options
The arguments passed to the filter depend on its use. The of filter is called with the following arguments:
ln03of -wwidth -llength
The width and length values come from the pw and pl fields in the database. The if (or restarted of) filter is passed the following
arguments:
ln03of -c -nlogin -hhost -wwidth -lnum -iindent accounting file
The -c flag is optional, and supplied only when control characters are to be printed, that is, when the -l option of is used to
print the file. The -w and -l arguments are the same as for the of filter, however, they may have different values if the -w and/or
-z options of were used to print the file. If the value of the width is greater than 80 the job will be printed in landscape mode
with a slightly smaller font. The length of the page is assumed to be 66 regardless of the length specified. The -n and -h argu-
ments specify the login name and host name of the job owner. These arguments are used to record accounting information. The -i
option specifies the amount of indentation to be used. The last argument is the name of the accounting file specified from the af
field in the database.
Diagnostics
The lf field (default /dev/null) in the database specifies error logging file name.
Files
Printer capabilities database
See Also
lpr(1), pr(1), printcap(5), lpd(8), MAKEDEV(8), pac(8)
``Line Printer Spooler Manual,'' ULTRIX Supplementary Documents, Volume 2: Programmer
ln03of(8)