Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Please help with Lexmark Landscape Printing
@ 1998-01-30  5:00 Darcy Coleman
  1998-02-02  5:00 ` Ernest LaBonte
  0 siblings, 1 reply; 3+ messages in thread
From: Darcy Coleman @ 1998-01-30  5:00 UTC (permalink / raw)



Can anyone help with the following problem?

We're trying to setup network printer (Lexmark Optra N) to print
landscape using escape sequences piped to input filter. 

Digital suggested we try the following:

- created a file with the proper escape sequences to print landscape
  ESC&l1O  (provided to us by Lexmark)

- created a file in /usr/lbin that pipes the escape sequence to the
input filter

- in the printcap file called the above file as our input filter

The result of this is ONLY the banner page - nothing else is printing,
and it's not printing landscape.  We need to be able to call this from
within an Oracle application, as a variety of output formats are
required.

Does anyone have any other solutions?  Or, maybe we're missing a simple
step?

Many thanks

Darcy Coleman/Jane Johnson



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please help with Lexmark Landscape Printing
  1998-01-30  5:00 Please help with Lexmark Landscape Printing Darcy Coleman
@ 1998-02-02  5:00 ` Ernest LaBonte
  1998-02-02  5:00   ` Andrew Butchart
  0 siblings, 1 reply; 3+ messages in thread
From: Ernest LaBonte @ 1998-02-02  5:00 UTC (permalink / raw)
  To: Darcy Coleman

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

Darcy Coleman wrote:
> 
> Can anyone help with the following problem?
> 
> We're trying to setup network printer (Lexmark Optra N) to print
> landscape using escape sequences piped to input filter.
> 
> Digital suggested we try the following:
> 
> - created a file with the proper escape sequences to print landscape
>   ESC&l1O  (provided to us by Lexmark)
> 
> - created a file in /usr/lbin that pipes the escape sequence to the
> input filter
> 
> - in the printcap file called the above file as our input filter
> 
> The result of this is ONLY the banner page - nothing else is printing,
> and it's not printing landscape.  We need to be able to call this from
> within an Oracle application, as a variety of output formats are
> required.
> 
> Does anyone have any other solutions?  Or, maybe we're missing a simple
> step?
> 
> Many thanks
> 
> Darcy Coleman/Jane Johnson

[-- Attachment #2: t.txt --]
[-- Type: text/plain, Size: 576 bytes --]

Usually in trying to provide printing solutions it helps to have the
following information:

	- The OS version
	- Current printcap entry
	- File types being printed. PCL, PostScript, Text, etc..
	- Specific printer model number.

The Lexmark web site isn't clear what print features are available on
all variants of the Optra N printer.  If I had to guess I expect that
it does have PostScript Level 2, and HP PCL languages.  I also expect 
the printer has tcp/ip socket printing capabilities and tcp/ip socket
number is 9100.

Any chance you will be upgrading to V4.0D soon?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please help with Lexmark Landscape Printing
  1998-02-02  5:00 ` Ernest LaBonte
@ 1998-02-02  5:00   ` Andrew Butchart
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Butchart @ 1998-02-02  5:00 UTC (permalink / raw)



I have had some success with a Lexmark laser printer.  First, I set it to
PCL mode then used my handy-dandy PCL2 reference sheet to set up 2 pcl
files:
one containing
   <Esc>E<Esc>&l1O
and one with just
  <Esc>E

<Esc> is character 27.

I then took my output and cat it with the escape setups

cat $PCLSETUP/hpland.pcl MYREPORT.RPT $PCLSETUP/hpreset.pcl > MYREPORT.HP
lpr -Plexmark MYREPORT.HP

I have also been able to use this method to cat a report from the
application with a form layout, e.g. print a purchase order on a purchase
order form using blank paper in the printer.

Good Luck

Andrew Butchart
abutchar@log.on.ca
http://gb.log.on.ca/abcweb/


Ernest LaBonte wrote in message <6b4mga$25l$1@lead.zk3.dec.com>...
>Darcy Coleman wrote:
>>
>> Can anyone help with the following problem?
>>
>> We're trying to setup network printer (Lexmark Optra N) to print
>> landscape using escape sequences piped to input filter.
>>
>> Digital suggested we try the following:
>>
>> - created a file with the proper escape sequences to print landscape
>>   ESC&l1O  (provided to us by Lexmark)
>>
>> - created a file in /usr/lbin that pipes the escape sequence to the
>> input filter
>>
>> - in the printcap file called the above file as our input filter
>>
>> The result of this is ONLY the banner page - nothing else is printing,
>> and it's not printing landscape.  We need to be able to call this from
>> within an Oracle application, as a variety of output formats are
>> required.
>>
>> Does anyone have any other solutions?  Or, maybe we're missing a simple
>> step?
>>
>> Many thanks
>>
>> Darcy Coleman/Jane Johnson
>





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-02-02  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-30  5:00 Please help with Lexmark Landscape Printing Darcy Coleman
1998-02-02  5:00 ` Ernest LaBonte
1998-02-02  5:00   ` Andrew Butchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox