Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Printcap entry for serial printer on Digi serial port server
@ 2005-01-18 14:37 mwburden
  2005-01-19  6:10 ` Alexander Ackermann
  0 siblings, 1 reply; 2+ messages in thread
From: mwburden @ 2005-01-18 14:37 UTC (permalink / raw)


Good morning,

I have a number of serial printers attached to Digi TS16 serial port
servers using the Digi RealPort driver.   If I   cat > /dev/ttyD1001s
my output prints perfectly.

I used sysman to create a print queue using this device, and used  lpc
up  to start the queue.   Jobs submitted to the new printer remain in
the queue and do not print.

I tried copying the "seial printer" section from the FAQ and posting it
into my  /etc/printcap  in place of the entry for the new printer, with
the same results.

Print queues for non-local printers are working fine.

I've been able to come close to getting this to work by using an output
filter script that simply cats standard input to  /dev/ttyD1001s, and
set the device for the printer queue to  /dev/null,  but this has some
obvious drawbacks (lpstat -v won't show the correct device, for
example.)

Does anyone know why  cat  can send output to the device with no
problem, but  lpd  can't?



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

* Re: Printcap entry for serial printer on Digi serial port server
  2005-01-18 14:37 Printcap entry for serial printer on Digi serial port server mwburden
@ 2005-01-19  6:10 ` Alexander Ackermann
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Ackermann @ 2005-01-19  6:10 UTC (permalink / raw)


mwburden schrieb:
> Good morning,
> 
> I have a number of serial printers attached to Digi TS16 serial port
> servers using the Digi RealPort driver.   If I   cat > /dev/ttyD1001s
> my output prints perfectly.
> 
> [ ... ]
> I've been able to come close to getting this to work by using an output
> filter script that simply cats standard input to  /dev/ttyD1001s, and

hi,

maybe things are different with the serial device when opened by the lpd 
instead of cat (Baud Rate, modem control, flow-control). Try "man 
printcap" and look for the settings commented like "if lp is a tty ..."

Otherwise, if your TS16 supports local lpd services (like Decserver 700 
or 900 devices) why not use them ?

Regards

Alexander Ackermann


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

end of thread, other threads:[~2005-01-19  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-18 14:37 Printcap entry for serial printer on Digi serial port server mwburden
2005-01-19  6:10 ` Alexander Ackermann

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