anybody with same problem as i have now?
i re-started doing test on this… this still interests me.
improvements are the following:
1.) i can now print but “garbled”(unreadable, special characters) output using
root pts/1$ cat /etc/inittab >/dev/lp1
- properties shows
name: lp1
type: osp
interface type: rs232
description: other serial printer
status: available
location: 00-00-02-10
parent: sa2
connection address: 10
PORT number [10]
BAUD rate [9600]
PARITY [none] +
BITS per character [8] +
Number of STOP BITS [1] +
FLOW CONTROL to be used [xon] +
OPEN DISCIPLINE to be used [dtropen] +
STTY attributes for RUN time[clocal] +
STREAMS modules to be pushed at OPEN time [sptr] Printer TIME OUT period [60] +
STATUS of device at BOOT time available +
Ignore the following attributes when using the Print Queue:
Number of LINES per page [66]
Number of COLUMNS per page [80]
Number of COLUMNS to indent [0]
Send all characters to printer UNMODIFIED yes
Send BACKSPACES yes
WRAP CHARACTERS beyond the specified width no
Send FORM FEEDS yes
Send CARRIAGE RETURNS yes
Send LINE FEEDS yes
Add CARRIAGE RETURNS to LINE FEEDS yes
Convert lowercase to uppercase no
Expand TABS on eight position boundaries yes
Return on ERROR no
2.) i can now print but “garbled” output using
root pts/1$ cat /etc/inittab | lp -dtestpr
Print queue name testpr
Printer name lp1
FORMATTING FLAGS for header page []
FORMATTING FLAGS for trailer page []
USERS to get intervention messages []
FLAGS PROHIBITED for ASCII print files []
FLAGS PROHIBITED for all print files []
ALIGN page if printer is idle no +
Number of FORM FEEDS when printer goes idle [never]
WIDTH of printable area on header page [77] +#
Change / Show Default Print Job Attributes
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Print queue name oki1
Printer name lp1
-------------- Text Print Options -------------
DOUBLE SPACING? no +
----------- Job Processing Options ------------
PAGE NUMBER where printing should begin [1] +#
Print file TYPE a +
Pre-processing FILTER NAME [p] +
INITIALIZE printer? yes +
RESTORE printer? yes +
----------- Text Formatting Options -----------
TOP MARGIN (lines) [0] +#
BOTTOM MARGIN (lines) [0] +#
Number of columns to INDENT [0] +#
WRAP long lines? yes +
Add LINE FEED or CARRIAGE RETURN LF->CRLF VT->CRVT +
CODE PAGE of print file [ISO8859-1] +
CODE PAGE of printer ascii +
Send FORM FEED after each file? yes +
TITLE STRING for ‘pr’ filter []
LINES per page [66] +#
COLUMNS per page [80] +#
LINE DENSITY (lines per inch) 6 +
------------- Paper/Page Options --------------
--------- Header/Trailer Page Options ---------
SEPARATOR PAGES none +
HOSTNAME for “PRINTED AT:” on HEADER PAGE []
------------- Messages/Diagnostics ------------
DIAGNOSTIC LEVEL (normal) - print job; exit> +