lpd with parallel port

Has anyone attempted to use lpd for printing from the command line
through a parallel port?

I successfully set up my printcap file for using lpd to print to all my
network printers, but I also have a parallel printer that is not on the
network. QNX 6 does a nice job of using spooler to set up printing from
Photon utilities, but I cannot print correctly from the command line.

What’s strange is that I can print succesfully every other time. I’ll
usr lpr to print a file, and it prints. Then I’ll use lpr again, and I
get a blank sheet. Then it will print, then blank, etc, etc. Even
after reboot, it’s the same.

Is it a problem with the printer, or with my setup on QNX 6?

Extra info is below. I’d appreciate any ideas. Thanks!

Edith Hand
Advanced Technique Development Division
Environmental Technology Laboratory
NOAA/CIRES


Printer: HP LaserJet 2100 TN
I’m running QNX 6.1.0 on x86, running from partition, not from Windows.

Printcap file entry for parallel printer:
mace:
:lp=/dev/par1:
:sd=/usr/spool/output/mace:
:mx=0:

/dev/par1 is running. sd directory exists… ??? I’m stumped.

Please don’t cross post.

Regards,
Dave B.


Edith Hand wrote:

Has anyone attempted to use lpd for printing from the command line
through a parallel port?

I successfully set up my printcap file for using lpd to print to all my
network printers, but I also have a parallel printer that is not on the
network. QNX 6 does a nice job of using spooler to set up printing from
Photon utilities, but I cannot print correctly from the command line.

What’s strange is that I can print succesfully every other time. I’ll
usr lpr to print a file, and it prints. Then I’ll use lpr again, and I
get a blank sheet. Then it will print, then blank, etc, etc. Even
after reboot, it’s the same.

Is it a problem with the printer, or with my setup on QNX 6?

Extra info is below. I’d appreciate any ideas. Thanks!

Edith Hand
Advanced Technique Development Division
Environmental Technology Laboratory
NOAA/CIRES


Printer: HP LaserJet 2100 TN
I’m running QNX 6.1.0 on x86, running from partition, not from Windows.

Printcap file entry for parallel printer:
mace:
:lp=/dev/par1:
:sd=/usr/spool/output/mace:
:mx=0:

/dev/par1 is running. sd directory exists… ??? I’m stumped.