Am 23.04.2021 um 13:31 schrieb Phillip Helbig (undress to reply):
> Thanks to all with suggestions for setting up print queues. I now have:
>
> $ sh que/ful sys$print
> Generic printer queue SYS$PRINT
> /GENERIC=(JANDER_PRINT,LEEBIG_PRINT,MINNIM_PRINT,AAAAAA_PRINT)
> /OWNER=[SYSTEM] /PROTECTION=(S:M,O:D,G:R,W:S)
>
> All of the execution queues are set up the same and look like this:
>
> $ sh que /fu JANDER_PRINT
> Printer queue JANDER_PRINT, idle, on JANDER::"
192.168.1.21:9100",
> mounted form DEFAULT
> /BASE_PRIORITY=4 /DEFAULT=(FORM=DEFAULT) Lowercase /OWNER=[SYSTEM]
> /PROCESSOR=TCPIP$TELNETSYM /NO_INITIAL_FF
> /PROTECTION=(S:M,O:D,G:R,W:SM)
> /SCHEDULE=(NOSIZE)
>
> Works fine for text and PostScript, but not for PDF, though PDF can be
> printed from other devices. I don't know if those other devices convert
> the PDF to something else behind the scenes.
>
I have a brother MFC-L3730CDN which seems to be rather similar. I also
had no luck in printing PDF documents. Postcript and text documents are
printed correctly.
However, I suggest using a DCPS queue. You then have the possibility to
format text documents e. g. with line numbers and use DCPS parameters
like PAGE_RANGE, NUMBER_UP and so on.
In
DCPS_STARTUP.COM I added the following lines to define the queue
COLORLASER:
$ DEFINE /EXEC /SYSTEM DCPS$COLORLASER_PRODUCT_NAME "HPGENERIC"
$!
$ ON ERROR THEN CONTINUE
$ IF .NOT. SETUP_MODE THEN @SYS$STARTUP:DCPS$EXECUTION_QUEUE -
COLORLASER - ! P1 - Execution queue name
AUTO=(RX2660,ZX2000)::"IP_LPD/brother-mfc-l3730cdn:9100" - ! P2
DCPS_LIB - ! P3 - Logical name for library(ies)
"" - ! P4 - Default queue parameters
"/SEPARATE=(NOBURST,NOTRAILER)" - ! P5 - Default queue qualifiers
"" - ! P6 - Communication speed (serial only)
"" - ! P7 - Device characteristics
"" ! P8 - Verify on/off
$!
After starting DCPS the queue is shown as:
rx2660_sys$ sh que/fu colorlaser
Printer queue COLORLASER, idle, on RX2660::DCPS$, mounted form DCPS$DEFAULT
(stock=DEFAULT)
/AUTOSTART_ON=(RX2660::DCPS$,ZX2000::DCPS$) /BASE_PRIORITY=4
/DEFAULT=(FORM=DCPS$DEFAULT (stock=DEFAULT)) /NOENABLE_GENERIC
/LIBRARY=DCPS_LIB Lowercase /OWNER=[SYSTEM] /PROCESSOR=DCPS$SMB
/PROTECTION=(S:M,O:D,G:R,W:S) /SCHEDULE=(NOSIZE)
rx2660_sys$
There is one disadvantage to your solution: When trying to print a PDF
document no error sheet is printed. Instead, the PDF seems to be
recognized as text and lots of sheets of waste are printed.
A DCPS raw TCP queue (which should be better since raw TCP is
bidirectional) did not work. Th printer always showed "receiving data"
and did not print anything.