I am trying to print a PCL file by executing the command lp.
There are printing filters that works when you do that.
I would like those filters to be turned off.
So I read the lp man page, and I found
“PLOT Determines if the data stream is interpreted by the device driver when
formatting the text. If the PLOT mode is off, the text is formatted using the
current values set with the LPRSET ioctl operation.”
“If the PLOT mode is set, no interpretation of the data stream is performed and
the bytes are sent to the printer without modification. Setting the PLOT mode
causes other formatting modes, such as NOFF and NOFL, to be ignored. The default
printer backend, piobe, sends all output in PLOT mode.”
Does anyone know the steps I must follow to accomplish the latter?
Do I have to execute a sequence of commands from the command line? Would it be needed to write a program in C or something like that?
Thanks in advance,
enriqcore
There are printing filters that works when you do that.
I would like those filters to be turned off.
So I read the lp man page, and I found
“PLOT Determines if the data stream is interpreted by the device driver when
formatting the text. If the PLOT mode is off, the text is formatted using the
current values set with the LPRSET ioctl operation.”
“If the PLOT mode is set, no interpretation of the data stream is performed and
the bytes are sent to the printer without modification. Setting the PLOT mode
causes other formatting modes, such as NOFF and NOFL, to be ignored. The default
printer backend, piobe, sends all output in PLOT mode.”
Does anyone know the steps I must follow to accomplish the latter?
Do I have to execute a sequence of commands from the command line? Would it be needed to write a program in C or something like that?
Thanks in advance,
enriqcore