printing from QNX to a n/w printer

Hi All:

I’ve been trying to setup a remote printer on my QNX box (6.2.1). I was
following instructions found in chapter 12 of sysadmin doc for QNX 6.1 at
qnx web site ( Remote printing to a TCP/IP-enabled printer). It seems to
work, both, lpd and spooler mechanism. Now I can easily print from photon
applications. However, when text files are printed using lpr/lpd, the
printout is not properly formatted - each subsequent line is shifted right
by the number of characters in the previous line.

Does anyone know which options should be set/unset in printcap file? Any
other configuration files to update/create? Any filters to use and how?

The printer I use is: HP LaserJet 5000N.

Thank you all,
Igor

Hi Igor,

If you want to print out of photon, you have start all the time the command
“spooler”!
You need an special description file under “/etc/printers/”. Copy the best
fit file and
change the lines about the filter.

/etc/printers/lexmark_ps.cfg = {

Filter = phs:ps:phs-to-ps -l1
Filter = ps:$d:lpr -h -P lexi <<< That is
important!!!

}

\

Mit freundlichem Gruß
Sascha Morgenstern

BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: info@bitctrl.de
WWW: http://www.bitctrl.de





“Igor Gonchar” <igonchar@vortek.com> schrieb im Newsbeitrag
news:bjtecq$rd0$1@inn.qnx.com

Hi All:

I’ve been trying to setup a remote printer on my QNX box (6.2.1). I was
following instructions found in chapter 12 of sysadmin doc for QNX 6.1 at
qnx web site ( Remote printing to a TCP/IP-enabled printer). It seems to
work, both, lpd and spooler mechanism. Now I can easily print from photon
applications. However, when text files are printed using lpr/lpd, the
printout is not properly formatted - each subsequent line is shifted right
by the number of characters in the previous line.

Does anyone know which options should be set/unset in printcap file? Any
other configuration files to update/create? Any filters to use and how?

The printer I use is: HP LaserJet 5000N.

Thank you all,
Igor

Thank you, Sascha!
This was a part of instructions found in the sysadmin manual and which I
have done already. Unfortunately, this setup doesn’t provide for me full
solution. Seems that something more needs to be changed…

Thanks again,
Igor

“Sascha Morgenstern” <sascha@bitctrl.de> wrote in message
news:bk3ml4$9kl$1@inn.qnx.com

Hi Igor,

If you want to print out of photon, you have start all the time the
command
“spooler”!
You need an special description file under “/etc/printers/”. Copy the best
fit file and
change the lines about the filter.

/etc/printers/lexmark_ps.cfg = {

Filter = phs:ps:phs-to-ps -l1
Filter = ps:$d:lpr -h -P lexi <<< That is
important!!!

}

\

Mit freundlichem Gruß
Sascha Morgenstern

BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: > info@bitctrl.de
WWW: > http://www.bitctrl.de





“Igor Gonchar” <> igonchar@vortek.com> > schrieb im Newsbeitrag
news:bjtecq$rd0$> 1@inn.qnx.com> …
Hi All:

I’ve been trying to setup a remote printer on my QNX box (6.2.1). I was
following instructions found in chapter 12 of sysadmin doc for QNX 6.1
at
qnx web site ( Remote printing to a TCP/IP-enabled printer). It seems to
work, both, lpd and spooler mechanism. Now I can easily print from
photon
applications. However, when text files are printed using lpr/lpd, the
printout is not properly formatted - each subsequent line is shifted
right
by the number of characters in the previous line.

Does anyone know which options should be set/unset in printcap file? Any
other configuration files to update/create? Any filters to use and how?

The printer I use is: HP LaserJet 5000N.

Thank you all,
Igor
\

I had a similar problem… I ended up piping the output through “textto
-c” at some point in the process to change it to CRLF format.

Carey

Igor Gonchar wrote:

Thank you, Sascha!
This was a part of instructions found in the sysadmin manual and which I
have done already. Unfortunately, this setup doesn’t provide for me full
solution. Seems that something more needs to be changed…

Thanks again,
Igor

“Sascha Morgenstern” <> sascha@bitctrl.de> > wrote in message
news:bk3ml4$9kl$> 1@inn.qnx.com> …

Hi Igor,

If you want to print out of photon, you have start all the time the

command

“spooler”!
You need an special description file under “/etc/printers/”. Copy the best
fit file and
change the lines about the filter.

/etc/printers/lexmark_ps.cfg = {

Filter = phs:ps:phs-to-ps -l1
Filter = ps:$d:lpr -h -P lexi <<< That is
important!!!

}

\

Mit freundlichem Gruß
Sascha Morgenstern

BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: > info@bitctrl.de
WWW: > http://www.bitctrl.de





“Igor Gonchar” <> igonchar@vortek.com> > schrieb im Newsbeitrag
news:bjtecq$rd0$> 1@inn.qnx.com> …

Hi All:

I’ve been trying to setup a remote printer on my QNX box (6.2.1). I was
following instructions found in chapter 12 of sysadmin doc for QNX 6.1

at

qnx web site ( Remote printing to a TCP/IP-enabled printer). It seems to
work, both, lpd and spooler mechanism. Now I can easily print from

photon

applications. However, when text files are printed using lpr/lpd, the
printout is not properly formatted - each subsequent line is shifted

right

by the number of characters in the previous line.

Does anyone know which options should be set/unset in printcap file? Any
other configuration files to update/create? Any filters to use and how?

The printer I use is: HP LaserJet 5000N.

Thank you all,
Igor


\

Thanks, Carey! I also tried to pipe to a2ps, and it works as well.

Igor

“Carey L. Duran” <cduran@harscotrack.com> wrote in message
news:3F72BEB6.6050207@harscotrack.com

I had a similar problem… I ended up piping the output through “textto
-c” at some point in the process to change it to CRLF format.

Carey

Igor Gonchar wrote:
Thank you, Sascha!
This was a part of instructions found in the sysadmin manual and which I
have done already. Unfortunately, this setup doesn’t provide for me full
solution. Seems that something more needs to be changed…

Thanks again,
Igor

“Sascha Morgenstern” <> sascha@bitctrl.de> > wrote in message
news:bk3ml4$9kl$> 1@inn.qnx.com> …

Hi Igor,

If you want to print out of photon, you have start all the time the

command

“spooler”!
You need an special description file under “/etc/printers/”. Copy the
best
fit file and
change the lines about the filter.

/etc/printers/lexmark_ps.cfg = {

Filter = phs:ps:phs-to-ps -l1
Filter = ps:$d:lpr -h -P lexi <<< That is
important!!!

}

\

Mit freundlichem Gruß
Sascha Morgenstern

BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: > info@bitctrl.de
WWW: > http://www.bitctrl.de





“Igor Gonchar” <> igonchar@vortek.com> > schrieb im Newsbeitrag
news:bjtecq$rd0$> 1@inn.qnx.com> …

Hi All:

I’ve been trying to setup a remote printer on my QNX box (6.2.1). I was
following instructions found in chapter 12 of sysadmin doc for QNX 6.1

at

qnx web site ( Remote printing to a TCP/IP-enabled printer). It seems
to
work, both, lpd and spooler mechanism. Now I can easily print from

photon

applications. However, when text files are printed using lpr/lpd, the
printout is not properly formatted - each subsequent line is shifted

right

by the number of characters in the previous line.

Does anyone know which options should be set/unset in printcap file?
Any
other configuration files to update/create? Any filters to use and how?

The printer I use is: HP LaserJet 5000N.

Thank you all,
Igor




\