Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* HP LaserJet Print problem from DEC Unix 3.2G
@ 1997-09-24  4:00 Daniel Qiao Jianxin
  1997-09-26  4:00 ` System Managers
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Qiao Jianxin @ 1997-09-24  4:00 UTC (permalink / raw)



Now, I enccountered following problem:
when I print one report from one Unix Server to one HP laserjet printer
which connect to 
network through printer server, all printout are on one line without CR.
I wonder if the Dec Unix cannot print without proper printer driver,
anybody have any
suggestion for setting this printer in printcap file.

Thank you



-- 
Daniel Qiao Jianxin

System Engineer
Email:qiaojx@csm.st.com.sg




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

* Re: HP LaserJet Print problem from DEC Unix 3.2G
  1997-09-24  4:00 HP LaserJet Print problem from DEC Unix 3.2G Daniel Qiao Jianxin
@ 1997-09-26  4:00 ` System Managers
  1997-09-29  4:00   ` Joe Spanicek
  1997-10-06  4:00   ` Rob Eagleston
  0 siblings, 2 replies; 6+ messages in thread
From: System Managers @ 1997-09-26  4:00 UTC (permalink / raw)



Daniel Qiao Jianxin wrote:
> 
> Now, I enccountered following problem:
> when I print one report from one Unix Server to one HP laserjet printer
> which connect to
> network through printer server, all printout are on one line without CR.
> I wonder if the Dec Unix cannot print without proper printer driver,
> anybody have any
> suggestion for setting this printer in printcap file.
> 
> Thank you
> 
> --
> Daniel Qiao Jianxin
> 
> System Engineer
> Email:qiaojx@csm.st.com.sg
 
In your printcap file set  :rp=text
As Michael Stenberg suggested (see Unix FAQ), this works 
for text and postscript files. 

Marzia Bonecchi
Dipartimento di Matematica
Universia` di Milano



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

* Re: HP LaserJet Print problem from DEC Unix 3.2G
  1997-09-26  4:00 ` System Managers
@ 1997-09-29  4:00   ` Joe Spanicek
  1997-09-30  4:00     ` System Managers
  1997-10-06  4:00   ` Rob Eagleston
  1 sibling, 1 reply; 6+ messages in thread
From: Joe Spanicek @ 1997-09-29  4:00 UTC (permalink / raw)



System Managers wrote:
> 
> Daniel Qiao Jianxin wrote:
> >
> > Now, I enccountered following problem:
> > when I print one report from one Unix Server to one HP laserjet printer
> > which connect to
> > network through printer server, all printout are on one line without CR.
> > I wonder if the Dec Unix cannot print without proper printer driver,
> > anybody have any
> > suggestion for setting this printer in printcap file.
> >
> > Thank you
> >
> > --
> > Daniel Qiao Jianxin
> >
> > System Engineer
> > Email:qiaojx@csm.st.com.sg
> 
> In your printcap file set  :rp=text

works for text files only


:rp=raw

works for text and postscript




> As Michael Stenberg suggested (see Unix FAQ), this works
> for text and postscript files.
> 
> Marzia Bonecchi
> Dipartimento di Matematica
> Universia` di Milano



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

* Re: HP LaserJet Print problem from DEC Unix 3.2G
  1997-09-29  4:00   ` Joe Spanicek
@ 1997-09-30  4:00     ` System Managers
  1997-10-01  4:00       ` Joe Spanicek
  0 siblings, 1 reply; 6+ messages in thread
From: System Managers @ 1997-09-30  4:00 UTC (permalink / raw)



Joe Spanicek wrote:
> 
> System Managers wrote:
> >
> > > when I print one report from one Unix Server to one HP laserjet printer
> > > which connect to
> > > network through printer server, all printout are on one line without CR.
> > > --
> > > Daniel Qiao Jianxin
> > >
> > In your printcap file set  :rp=text
> 
> works for text files only
> 
> :rp=raw
> 
> works for text and postscript
> 
> > As Michael Stenberg suggested (see Unix FAQ), this works
> > for text and postscript files.
> >
> > Marzia Bonecchi
> > Dipartimento di Matematica
> > Universia` di Milano

Sorry, Joe, but rp=text does actually work for text and postscript.
We had the same problem as Daniel with two HP network printers (LaserJet
5M 
and DeskJet 1600CM); rp=printername or rp=raw didn't work for ASCII
files.
We set rp=text and solved the problem. (We did so in Digital Unix and
even in VMS UCX.)
The reason is that LPD daemon adds a CR at the end of each line for a
queue with rp=text, before sending it to the printer; it doesn't do this
if
rp is set raw (this setting works for PCL or Postscript files).

                 Marzia



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

* Re: HP LaserJet Print problem from DEC Unix 3.2G
  1997-09-30  4:00     ` System Managers
@ 1997-10-01  4:00       ` Joe Spanicek
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Spanicek @ 1997-10-01  4:00 UTC (permalink / raw)



System Managers wrote:
> 
> Joe Spanicek wrote:
> >
> > System Managers wrote:
> > >
> > > > when I print one report from one Unix Server to one HP laserjet printer
> > > > which connect to
> > > > network through printer server, all printout are on one line without CR.
> > > > --
> > > > Daniel Qiao Jianxin
> > > >
> > > In your printcap file set  :rp=text
> >
> > works for text files only
> >
> > :rp=raw
> >
> > works for text and postscript
> >
> > > As Michael Stenberg suggested (see Unix FAQ), this works
> > > for text and postscript files.
> > >
> > > Marzia Bonecchi
> > > Dipartimento di Matematica
> > > Universia` di Milano
> 
> Sorry, Joe, but rp=text does actually work for text and postscript.
> We had the same problem as Daniel with two HP network printers (LaserJet
> 5M
> and DeskJet 1600CM); rp=printername or rp=raw didn't work for ASCII
> files.
> We set rp=text and solved the problem. (We did so in Digital Unix and
> even in VMS UCX.)
> The reason is that LPD daemon adds a CR at the end of each line for a
> queue with rp=text, before sending it to the printer; it doesn't do this
> if
> rp is set raw (this setting works for PCL or Postscript files).
> 
>                  Marzia

Sorry,

My mistake, both my printers (HP4MP & HP1600CM) have have PCL &
Postscript capability. I also print from a PC and require the PCL
options - so I use RAW.

Joe



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

* Re: HP LaserJet Print problem from DEC Unix 3.2G
  1997-09-26  4:00 ` System Managers
  1997-09-29  4:00   ` Joe Spanicek
@ 1997-10-06  4:00   ` Rob Eagleston
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Eagleston @ 1997-10-06  4:00 UTC (permalink / raw)




What I did to solve this problem was I renamed lpr to lpr.pro and created a
script  named lpr which sent 3 files to the printer using lpr.pro .  The
first print job simply had two pcl commands in it. One to set a carriage
return equal to a new line, the other to compressed text. The second  file
is the actual file to be printed. The third is a another PCL file that
resets the printer back to the defaults.  This works very well, however, I
have had some network print servers reset to default after every job, for
which the script does not work.  I usually have to set the printer up in
the printcap file to  :rp=text in these cases.  


Hope this helps....




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

end of thread, other threads:[~1997-10-06  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-24  4:00 HP LaserJet Print problem from DEC Unix 3.2G Daniel Qiao Jianxin
1997-09-26  4:00 ` System Managers
1997-09-29  4:00   ` Joe Spanicek
1997-09-30  4:00     ` System Managers
1997-10-01  4:00       ` Joe Spanicek
1997-10-06  4:00   ` Rob Eagleston

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